I was merely showing examples of what is going on, for brevity.
However, if you want to see all, the code is as follows:
Original UDT:
{
"typeColor": -16711936,
"name": "Motor Starter",
"parameters": {
"TagNum": {
"dataType": "Integer",
"value": 0
}
},
"tagType": "UdtType",
"tags": [
{
"valueSource": "opc",
"historyTimeDeadband": 10,
"historyMaxAge": 1,
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}.Sts_Running",
"dataType": "Boolean",
"historyProvider": "Tag_History",
"historicalDeadbandStyle": "Discrete",
"name": "Sts_Running",
"historyEnabled": true,
"tagType": "AtomicTag",
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}.Alm_FailToStart",
"dataType": "Boolean",
"alarms": [
{
"setpointA": 1.0,
"activePipeline": "ShawHMI/Alarms",
"CustomEmailMessage": "{[.]Cfg_Label}+\" Fail to Start Alarm\"",
"name": "Alarm",
"priority": "High",
"label": {
"bindType": "Expression",
"value": "{[.]Cfg_Label}+\" Fail to Start Alarm\""
}
}
],
"name": "Alm_FailToStart",
"tagType": "AtomicTag",
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"historyMaxAge": 10,
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}_Runtime.Val_Starts",
"historicalDeadband": 0.1,
"historySampleRateUnits": "HOUR",
"tagType": "AtomicTag",
"dataType": "Int4",
"historyProvider": "Tag_History",
"historyMaxAgeUnits": "MIN",
"name": "Val_Starts",
"historyEnabled": true,
"sampleMode": "Periodic",
"historySampleRate": 1,
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}.Alm_FailToStop",
"dataType": "Boolean",
"alarms": [
{
"setpointA": 1.0,
"activePipeline": "ShawHMI/Alarms",
"CustomEmailMessage": "{[.]Cfg_Label}+\" Fail to Stop Alarm\"",
"name": "Alarm",
"label": "{[.]Cfg_Label}+\" Fail to Stop Alarm\"",
"priority": "High"
}
],
"name": "Alm_FailToStop",
"tagType": "AtomicTag",
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"historyMaxAge": 10,
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}_Runtime.Val_DayStarts",
"historicalDeadband": 0.1,
"historySampleRateUnits": "HOUR",
"tagType": "AtomicTag",
"dataType": "Int4",
"historyProvider": "Tag_History",
"historyMaxAgeUnits": "MIN",
"name": "Val_DayStarts",
"historyEnabled": true,
"sampleMode": "Periodic",
"historySampleRate": 1,
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"historyMaxAge": 10,
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}_Runtime.Val_MaxRunHrs",
"historicalDeadband": 0.1,
"historySampleRateUnits": "HOUR",
"tagType": "AtomicTag",
"dataType": "Float4",
"historyProvider": "Tag_History",
"historyMaxAgeUnits": "MIN",
"name": "Val_MaxRunHrs",
"historyEnabled": true,
"sampleMode": "Periodic",
"historySampleRate": 1,
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"historyMaxAge": 10,
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}_Runtime.Val_PrevStarts",
"historicalDeadband": 0.1,
"historySampleRateUnits": "HOUR",
"tagType": "AtomicTag",
"dataType": "Int4",
"historyProvider": "Tag_History",
"historyMaxAgeUnits": "MIN",
"name": "Val_PrevStarts",
"historyEnabled": true,
"sampleMode": "Periodic",
"historySampleRate": 1,
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"historyTimeDeadband": 10,
"historyMaxAge": 1,
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}.Sts_Stopped",
"dataType": "Boolean",
"historyProvider": "Tag_History",
"historicalDeadbandStyle": "Discrete",
"name": "Sts_Stopped",
"historyEnabled": true,
"tagType": "AtomicTag",
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}.Cfg_Label",
"dataType": "String",
"name": "Cfg_Label",
"tagType": "AtomicTag",
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"historyMaxAge": 10,
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}_Runtime.Val_PrevRunHrs",
"historicalDeadband": 0.1,
"historySampleRateUnits": "HOUR",
"tagType": "AtomicTag",
"dataType": "Float4",
"historyProvider": "Tag_History",
"historyMaxAgeUnits": "MIN",
"name": "Val_PrevRunHrs",
"historyEnabled": true,
"sampleMode": "Periodic",
"historySampleRate": 1,
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"historyMaxAge": 10,
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}_Runtime.Val_CurRunHrs",
"historicalDeadband": 0.1,
"historySampleRateUnits": "HOUR",
"tagType": "AtomicTag",
"dataType": "Float4",
"historyProvider": "Tag_History",
"historyMaxAgeUnits": "MIN",
"name": "Val_CurRunHrs",
"historyEnabled": true,
"sampleMode": "Periodic",
"historySampleRate": 1,
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"historyMaxAge": 10,
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}_Runtime.Val_DayRunHrs",
"historicalDeadband": 0.1,
"historySampleRateUnits": "HOUR",
"tagType": "AtomicTag",
"dataType": "Float4",
"historyProvider": "Tag_History",
"historyMaxAgeUnits": "MIN",
"name": "Val_DayRunHrs",
"historyEnabled": true,
"sampleMode": "Periodic",
"historySampleRate": 1,
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}.Cfg_HasFailToStopAlm",
"dataType": "Boolean",
"name": "Cfg_HasFailToStopAlm",
"tagType": "AtomicTag",
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}.Cfg_HasFailToStartAlm",
"dataType": "Boolean",
"name": "Cfg_HasFailToStartAlm",
"tagType": "AtomicTag",
"opcServer": "Ignition OPC UA Server"
},
{
"valueSource": "opc",
"historyMaxAge": 10,
"opcItemPath": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}_Runtime.Val_TotRunHrs",
"historicalDeadband": 0.1,
"historySampleRateUnits": "HOUR",
"tagType": "AtomicTag",
"dataType": "Float4",
"historyProvider": "Tag_History",
"historyMaxAgeUnits": "MIN",
"name": "Val_TotRunHrs",
"historyEnabled": true,
"sampleMode": "Periodic",
"historySampleRate": 1,
"opcServer": "Ignition OPC UA Server"
}
]
}
Inherited from UDT:
{
"name": "EQ_P101",
"typeId": "Motor Starter",
"parameters": {
"TagNum": {
"dataType": "String",
"value": "101"
}
},
"tagType": "UdtInstance",
"tags": [
{
"name": "Val_DayStarts",
"tagType": "AtomicTag"
},
{
"name": "Cfg_HasFailToStartAlm",
"tagType": "AtomicTag"
},
{
"name": "Val_PrevStarts",
"tagType": "AtomicTag"
},
{
"name": "Val_DayRunHrs",
"tagType": "AtomicTag"
},
{
"name": "Sts_Running",
"tagType": "AtomicTag"
},
{
"name": "Sts_Stopped",
"tagType": "AtomicTag"
},
{
"opcItemPath": {
"bindType": "parameter",
"binding": "ns\u003d1;s\u003d[MCP]EQ_P{TagNum}.Alm_FailToStart"
},
"name": "Alm_FailToStart",
"tagType": "AtomicTag"
},
{
"name": "Cfg_Label",
"tagType": "AtomicTag"
},
{
"name": "Cfg_HasFailToStopAlm",
"tagType": "AtomicTag"
},
{
"name": "Val_TotRunHrs",
"tagType": "AtomicTag"
},
{
"name": "Val_PrevRunHrs",
"tagType": "AtomicTag"
},
{
"name": "Val_Starts",
"tagType": "AtomicTag"
},
{
"name": "Val_CurRunHrs",
"tagType": "AtomicTag"
},
{
"name": "Val_MaxRunHrs",
"tagType": "AtomicTag"
},
{
"name": "Alm_FailToStop",
"tagType": "AtomicTag"
}
]
}