1758 lines
65 KiB
Plaintext
1758 lines
65 KiB
Plaintext
{
|
|
"custom": {
|
|
"PLC": "MCM01",
|
|
"device": "UL15_1",
|
|
"maintance_mode": true,
|
|
"showTags": true,
|
|
"state": "Actuated"
|
|
},
|
|
"params": {
|
|
"tagProps": [
|
|
"System/MCM01/Conveyor/UL15_1",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value"
|
|
],
|
|
"tags": []
|
|
},
|
|
"propConfig": {
|
|
"custom.PLC": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagProps[0]"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn value.split(\"/\")[1]",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.device": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagProps[0]"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn value.split(\"/\")[-1]",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.maintance_mode": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/HMI/Maintenance/Maintenance_Mode"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},false)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.showTags": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "len(trim({session.props.auth.user.userName})) \u003e 0 \u0026\u0026 lower({session.props.auth.user.userName}) !\u003d \"null\""
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"onChange": {
|
|
"enabled": null,
|
|
"script": "\ttabsComp \u003d self.getChild(\"root\").getChild(\"FlexContainer\").getChild(\"Main\").getChild(\"tabs\").props.tabs\n\ttabs \u003d list(tabsComp) # copy to modify\n\t\n\tif currentValue.value: # user logged in\n\t if \"Tags\" not in tabs:\n\t tabs.append(\"Tags\") # add the \"Tags\" tab\n\t self.getChild(\"root\").getChild(\"FlexContainer\").getChild(\"Main\").getChild(\"tabs\").props.tabs \u003d tabs\n\telse: # user logged out\n\t if \"Tags\" in tabs:\n\t tabs.remove(\"Tags\") # remove the \"Tags\" tab\n\t self.getChild(\"root\").getChild(\"FlexContainer\").getChild(\"Main\").getChild(\"tabs\").props.tabs \u003d tabs"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.state": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"0": "{view.params.tagProps[0]}",
|
|
"fc": "{session.custom.fc}"
|
|
},
|
|
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/State"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "coalesce({value},0)",
|
|
"type": "expression"
|
|
},
|
|
{
|
|
"fallback": "Unknown",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 0,
|
|
"output": "Closed"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "Actuated"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "Communication Faulted"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "Conveyor Running In Maintenance Mode"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "Disabled"
|
|
},
|
|
{
|
|
"input": 5,
|
|
"output": "Disconnected"
|
|
},
|
|
{
|
|
"input": 6,
|
|
"output": "Stopped"
|
|
},
|
|
{
|
|
"input": 7,
|
|
"output": "Enabled Not Running"
|
|
},
|
|
{
|
|
"input": 8,
|
|
"output": "Encoder Fault"
|
|
},
|
|
{
|
|
"input": 9,
|
|
"output": "Energy Management"
|
|
},
|
|
{
|
|
"input": 10,
|
|
"output": "ESTOP Was Actuated"
|
|
},
|
|
{
|
|
"input": 11,
|
|
"output": "EStopped"
|
|
},
|
|
{
|
|
"input": 12,
|
|
"output": "EStopped Locally"
|
|
},
|
|
{
|
|
"input": 13,
|
|
"output": "Extended Faulted"
|
|
},
|
|
{
|
|
"input": 14,
|
|
"output": "Full"
|
|
},
|
|
{
|
|
"input": 15,
|
|
"output": "Gaylord Start Pressed"
|
|
},
|
|
{
|
|
"input": 16,
|
|
"output": "Jam Fault"
|
|
},
|
|
{
|
|
"input": 17,
|
|
"output": "Jammed"
|
|
},
|
|
{
|
|
"input": 18,
|
|
"output": "Loading Allowed"
|
|
},
|
|
{
|
|
"input": 19,
|
|
"output": "Loading Not Allowed"
|
|
},
|
|
{
|
|
"input": 20,
|
|
"output": "Low Air Pressure Fault Was Present"
|
|
},
|
|
{
|
|
"input": 21,
|
|
"output": "Maintenance Mode"
|
|
},
|
|
{
|
|
"input": 22,
|
|
"output": "Conveyor Stopped In Maintenance Mode"
|
|
},
|
|
{
|
|
"input": 23,
|
|
"output": "Motor Faulted"
|
|
},
|
|
{
|
|
"input": 24,
|
|
"output": "Motor Was Faulted"
|
|
},
|
|
{
|
|
"input": 25,
|
|
"output": "Normal"
|
|
},
|
|
{
|
|
"input": 26,
|
|
"output": "Off Inactive"
|
|
},
|
|
{
|
|
"input": 27,
|
|
"output": "Open"
|
|
},
|
|
{
|
|
"input": 28,
|
|
"output": "PLC Ready To Run"
|
|
},
|
|
{
|
|
"input": 29,
|
|
"output": "Package Release Pressed"
|
|
},
|
|
{
|
|
"input": 30,
|
|
"output": "Power Branch Was Faulted"
|
|
},
|
|
{
|
|
"input": 31,
|
|
"output": "Pressed"
|
|
},
|
|
{
|
|
"input": 32,
|
|
"output": "Ready To Receive"
|
|
},
|
|
{
|
|
"input": 33,
|
|
"output": "Running"
|
|
},
|
|
{
|
|
"input": 34,
|
|
"output": "Started"
|
|
},
|
|
{
|
|
"input": 35,
|
|
"output": "Stopped"
|
|
},
|
|
{
|
|
"input": 36,
|
|
"output": "System Started"
|
|
},
|
|
{
|
|
"input": 37,
|
|
"output": "Unknown"
|
|
},
|
|
{
|
|
"input": 38,
|
|
"output": "VFD Fault"
|
|
},
|
|
{
|
|
"input": 39,
|
|
"output": "Conveyor Running In Power Saving Mode"
|
|
},
|
|
{
|
|
"input": 40,
|
|
"output": "Conveyor Jogging In Maintenance Mode"
|
|
},
|
|
{
|
|
"input": 41,
|
|
"output": "VFD Reset Required"
|
|
},
|
|
{
|
|
"input": 42,
|
|
"output": "Jam Reset Push Button Pressed"
|
|
},
|
|
{
|
|
"input": 43,
|
|
"output": "Start Push Button Pressed"
|
|
},
|
|
{
|
|
"input": 44,
|
|
"output": "Stop Push Button Pressed"
|
|
},
|
|
{
|
|
"input": 45,
|
|
"output": "No Container"
|
|
},
|
|
{
|
|
"input": 46,
|
|
"output": "Ready To Be Enabled"
|
|
},
|
|
{
|
|
"input": 47,
|
|
"output": "Half Full"
|
|
},
|
|
{
|
|
"input": 48,
|
|
"output": "Enabled"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"params.tagProps": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tags": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"width": 600
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\u0027Source ID: \u0027 + {view.params.tagProps[0]}"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"color": "#FFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 14,
|
|
"fontWeight": "bold",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\tsystem.perspective.closeDock(\u0027Docked-East-VFD\u0027)\n\tself.getSibling(\"tabs\").props.currentTabIndex \u003d 0"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Icon",
|
|
"tooltip": {
|
|
"enabled": true,
|
|
"style": {
|
|
"cursor": "pointer"
|
|
},
|
|
"text": "Close faceplate"
|
|
}
|
|
},
|
|
"props": {
|
|
"path": "material/close",
|
|
"style": {
|
|
"cursor": "pointer",
|
|
"marginBottom": 5,
|
|
"marginLeft": 5,
|
|
"marginRight": 5,
|
|
"marginTop": 5
|
|
}
|
|
},
|
|
"type": "ia.display.icon"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Header"
|
|
},
|
|
"position": {
|
|
"basis": "30px",
|
|
"shrink": 0
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "32px",
|
|
"display": false
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Labels/Label_1",
|
|
"marginTop": 20
|
|
},
|
|
"text": "No Active Alarms"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "AlarmStatusTable"
|
|
},
|
|
"position": {
|
|
"basis": "400px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.filters.active.conditions.displayPath": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagProps[0]"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tparts \u003d value.split(\"/\")\n\tname \u003d parts[-1]\n\t\n\t# Split on \"_\" and remove the last part\n\tname_parts \u003d name.split(\"_\")\n\tnew_name \u003d \"_\".join(name_parts[:-1])\n\t\n\treturn new_name + \"_PE*,\" + new_name + \"_VFD*\"",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"columns": {
|
|
"active": {
|
|
"displayPath": {
|
|
"enabled": false
|
|
},
|
|
"priority": {
|
|
"enabled": false
|
|
},
|
|
"source": {
|
|
"enabled": false
|
|
},
|
|
"state": {
|
|
"enabled": false
|
|
}
|
|
}
|
|
},
|
|
"enableAcknowledge": false,
|
|
"enableDetails": false,
|
|
"enableShelve": false,
|
|
"enableUnshelve": false,
|
|
"filters": {
|
|
"active": {
|
|
"conditions": {},
|
|
"priorities": {
|
|
"critical": false,
|
|
"high": false,
|
|
"low": false,
|
|
"medium": false
|
|
},
|
|
"states": {
|
|
"clearUnacked": false
|
|
}
|
|
}
|
|
},
|
|
"pager": {
|
|
"enabled": false
|
|
},
|
|
"refreshRate": 500,
|
|
"rowStyles": {
|
|
"activeAcked": {
|
|
"priorities": {
|
|
"diagnostic": {
|
|
"backgroundColor": "#579af1"
|
|
},
|
|
"high": {
|
|
"backgroundColor": "#fb615b"
|
|
},
|
|
"low": {
|
|
"backgroundColor": "#f8fa6e"
|
|
},
|
|
"medium": {
|
|
"backgroundColor": "#ee9b5c"
|
|
}
|
|
}
|
|
},
|
|
"activeUnacked": {
|
|
"base": {
|
|
"color": "black"
|
|
},
|
|
"priorities": {
|
|
"critical": {
|
|
"backgroundColor": "#7C2320"
|
|
},
|
|
"diagnostic": {
|
|
"backgroundColor": "#579af1"
|
|
},
|
|
"high": {
|
|
"backgroundColor": "#fb615b"
|
|
},
|
|
"low": {
|
|
"backgroundColor": "#f8fa6e"
|
|
},
|
|
"medium": {
|
|
"backgroundColor": "#ee9b5c"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"selection": {
|
|
"active": {
|
|
"mode": "none"
|
|
},
|
|
"shelved": {
|
|
"mode": "none"
|
|
}
|
|
},
|
|
"toolbar": {
|
|
"enableActiveTab": false,
|
|
"enableConfiguration": false,
|
|
"enableFilter": false,
|
|
"enableFilterResults": false,
|
|
"enablePreFilters": false,
|
|
"enableShelvedTab": false,
|
|
"enabled": false
|
|
}
|
|
},
|
|
"type": "ia.display.alarmstatustable"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Active_tab"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"justify": "space-around"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Table"
|
|
},
|
|
"position": {
|
|
"basis": "400px",
|
|
"grow": 1,
|
|
"shrink": 0
|
|
},
|
|
"propConfig": {
|
|
"props.data": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tags"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"columns": [
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "Name",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": "Name"
|
|
},
|
|
"justify": "center",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "auto",
|
|
"resizable": true,
|
|
"sort": "none",
|
|
"sortable": true,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": true,
|
|
"width": 130
|
|
},
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "OPC Path",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": "OPC Path"
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": "OPC Path"
|
|
},
|
|
"justify": "center",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "auto",
|
|
"resizable": true,
|
|
"sort": "none",
|
|
"sortable": true,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": true,
|
|
"width": 350
|
|
},
|
|
{
|
|
"align": "center",
|
|
"boolean": "checkbox",
|
|
"dateFormat": "MM/DD/YYYY",
|
|
"editable": false,
|
|
"field": "Value",
|
|
"filter": {
|
|
"boolean": {
|
|
"condition": ""
|
|
},
|
|
"date": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"enabled": false,
|
|
"number": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"string": {
|
|
"condition": "",
|
|
"value": ""
|
|
},
|
|
"visible": "on-hover"
|
|
},
|
|
"footer": {
|
|
"align": "center",
|
|
"justify": "left",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": ""
|
|
},
|
|
"header": {
|
|
"align": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"title": "Value"
|
|
},
|
|
"justify": "center",
|
|
"nullFormat": {
|
|
"includeNullStrings": false,
|
|
"nullFormatValue": "",
|
|
"strict": false
|
|
},
|
|
"number": "value",
|
|
"numberFormat": "0,0.##",
|
|
"progressBar": {
|
|
"bar": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"max": 100,
|
|
"min": 0,
|
|
"track": {
|
|
"color": "",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
},
|
|
"value": {
|
|
"enabled": true,
|
|
"format": "0,0.##",
|
|
"justify": "center",
|
|
"style": {
|
|
"classes": ""
|
|
}
|
|
}
|
|
},
|
|
"render": "auto",
|
|
"resizable": true,
|
|
"sort": "none",
|
|
"sortable": true,
|
|
"strictWidth": false,
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"toggleSwitch": {
|
|
"color": {
|
|
"selected": "",
|
|
"unselected": ""
|
|
}
|
|
},
|
|
"viewParams": {},
|
|
"viewPath": "",
|
|
"visible": true,
|
|
"width": 100
|
|
}
|
|
],
|
|
"pager": {
|
|
"bottom": false
|
|
},
|
|
"selection": {
|
|
"enableRowSelection": false
|
|
},
|
|
"virtualized": false
|
|
},
|
|
"type": "ia.display.table"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Tags_tab"
|
|
},
|
|
"position": {
|
|
"tabIndex": 3
|
|
},
|
|
"props": {
|
|
"alignItems": "flex-start",
|
|
"justify": "space-evenly"
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "EmbeddedView"
|
|
},
|
|
"position": {
|
|
"height": 100,
|
|
"width": 100,
|
|
"x": 37.33,
|
|
"y": 22.9967
|
|
},
|
|
"props": {
|
|
"path": "autStand/Equipment/VFD"
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt"
|
|
},
|
|
"text": "Name:",
|
|
"textStyle": {
|
|
"fontSize": 25
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "50px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.device"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderStyle": "solid",
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"marginLeft": 10
|
|
},
|
|
"textStyle": {
|
|
"fontSize": 20,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"height": 43,
|
|
"width": 378,
|
|
"x": 202,
|
|
"y": 17.33
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt"
|
|
},
|
|
"text": "Status: ",
|
|
"textStyle": {
|
|
"fontSize": 25
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "50px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.state"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderStyle": "solid",
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"marginLeft": 10
|
|
},
|
|
"textStyle": {
|
|
"fontSize": 20,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_0"
|
|
},
|
|
"position": {
|
|
"height": 43,
|
|
"width": 386,
|
|
"x": 194,
|
|
"y": 69.33
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt"
|
|
},
|
|
"text": "Panel:",
|
|
"textStyle": {
|
|
"fontSize": 25
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "50px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.PLC"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderStyle": "solid",
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"marginLeft": 10
|
|
},
|
|
"textStyle": {
|
|
"fontSize": 20,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_1"
|
|
},
|
|
"position": {
|
|
"height": 43,
|
|
"width": 376,
|
|
"x": 204,
|
|
"y": 121.49
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt"
|
|
},
|
|
"text": "IP Address : ",
|
|
"textStyle": {
|
|
"fontSize": 25
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "50px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.PLC"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderStyle": "solid",
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"marginLeft": 10
|
|
},
|
|
"textStyle": {
|
|
"fontSize": 20,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_2"
|
|
},
|
|
"position": {
|
|
"height": 43,
|
|
"width": 444,
|
|
"x": 136,
|
|
"y": 174.49
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt"
|
|
},
|
|
"text": "Motor Current (Amps):",
|
|
"textStyle": {
|
|
"fontSize": 25
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "50px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.PLC"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderStyle": "solid",
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"marginLeft": 10
|
|
},
|
|
"textStyle": {
|
|
"fontSize": 20,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_3"
|
|
},
|
|
"position": {
|
|
"height": 43,
|
|
"width": 568,
|
|
"x": 12,
|
|
"y": 226.49
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"shrink": 0
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt"
|
|
},
|
|
"text": "Speed (FPM) :",
|
|
"textStyle": {
|
|
"fontSize": 25
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"grow": 1,
|
|
"shrink": 0
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.PLC"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderStyle": "solid",
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"marginLeft": 10
|
|
},
|
|
"textStyle": {
|
|
"fontSize": 20,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_4"
|
|
},
|
|
"position": {
|
|
"height": 43,
|
|
"width": 467,
|
|
"x": 113,
|
|
"y": 281.49
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt"
|
|
},
|
|
"text": "Speed (RPM) :",
|
|
"textStyle": {
|
|
"fontSize": 25
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "50px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.PLC"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderStyle": "solid",
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"marginLeft": 10
|
|
},
|
|
"textStyle": {
|
|
"fontSize": 20,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_5"
|
|
},
|
|
"position": {
|
|
"height": 43,
|
|
"width": 468,
|
|
"x": 112,
|
|
"y": 336.49
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/HMI/Maintenance/Maintenance_Mode\"\n\tsystem.tag.writeBlocking([tag_path],[False])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "AUTO"
|
|
},
|
|
"position": {
|
|
"height": 161,
|
|
"width": 98,
|
|
"x": 95.65,
|
|
"y": 531.33
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if(!{view.custom.maintance_mode}, \"#8ADA54\" , \"#a1a1a1\")"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"primary": false,
|
|
"text": "AUTO",
|
|
"textStyle": {
|
|
"fontSize": 20
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/HMI/Maintenance/Maintenance_Mode\"\n\tsystem.tag.writeBlocking([tag_path],[True])\n\ttag_path2 \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/HMI/Nominal\"\n\tsystem.tag.writeBlocking([tag_path2],[True])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "MANUAL"
|
|
},
|
|
"position": {
|
|
"height": 92,
|
|
"width": 314,
|
|
"x": 203.65,
|
|
"y": 531.31
|
|
},
|
|
"propConfig": {
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({view.custom.maintance_mode}, \"#7393FE\" , \"#a1a1a1\")"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"primary": false,
|
|
"text": "MANUAL",
|
|
"textStyle": {
|
|
"fontSize": 20
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/HMI/Maintenance/NOMINAL\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "NOMINAL"
|
|
},
|
|
"position": {
|
|
"height": 64,
|
|
"width": 98,
|
|
"x": 203.296,
|
|
"y": 628.3
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.maintance_mode"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({view.custom.maintance_mode}, \"#7393FE\" , \"\")"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"primary": false,
|
|
"text": "NOMINAL",
|
|
"textStyle": {
|
|
"fontSize": 15
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/HMI/Maintenance/SLOW\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "SLOW"
|
|
},
|
|
"position": {
|
|
"height": 64,
|
|
"width": 98,
|
|
"x": 312.65,
|
|
"y": 628.29
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.maintance_mode"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({view.custom.maintance_mode}, \"#7393FE\" , \"\")"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"primary": false,
|
|
"text": "SLOW",
|
|
"textStyle": {
|
|
"fontSize": 15
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"events": {
|
|
"component": {
|
|
"onActionPerformed": {
|
|
"config": {
|
|
"script": "\ttag_name \u003d self.view.params.tagProps[0]\n\ttag_path \u003d \"[\" + self.session.custom.fc+ \"_SCADA_TAG_PROVIDER]\"+tag_name+\"/HMI/Maintenance/OFF\"\n\tsystem.tag.writeBlocking([tag_path],[True])"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "OFF"
|
|
},
|
|
"position": {
|
|
"height": 64,
|
|
"width": 98,
|
|
"x": 419.296,
|
|
"y": 628.249
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.maintance_mode"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.backgroundColor": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({view.custom.maintance_mode}, \"#7393FE\" , \"\")"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"primary": false,
|
|
"text": "OFF",
|
|
"textStyle": {
|
|
"fontSize": 15
|
|
}
|
|
},
|
|
"type": "ia.input.button"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt"
|
|
},
|
|
"text": "Status Code:",
|
|
"textStyle": {
|
|
"fontSize": 25
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "50px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.PLC"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderStyle": "solid",
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"marginLeft": 10
|
|
},
|
|
"textStyle": {
|
|
"fontSize": 20,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_6"
|
|
},
|
|
"position": {
|
|
"height": 43,
|
|
"width": 453,
|
|
"x": 127,
|
|
"y": 385.49
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "Text-Styles/Ariel-Bold-12pt"
|
|
},
|
|
"text": "Last Fault Code:",
|
|
"textStyle": {
|
|
"fontSize": 25
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"basis": "50px",
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.PLC"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"borderStyle": "solid",
|
|
"classes": "Text-Styles/Ariel-Bold-12pt",
|
|
"marginLeft": 10
|
|
},
|
|
"textStyle": {
|
|
"fontSize": 20,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_7"
|
|
},
|
|
"position": {
|
|
"height": 43,
|
|
"width": 496,
|
|
"x": 84,
|
|
"y": 435.49
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Status_tab"
|
|
},
|
|
"position": {
|
|
"tabIndex": 1
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "tabs"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"currentTabIndex": 1,
|
|
"menuType": "modern",
|
|
"tabSize": {
|
|
"width": 1000
|
|
},
|
|
"tabStyle": {
|
|
"active": {
|
|
"classes": "",
|
|
"color": "#FFFFFF",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 14,
|
|
"fontWeight": "bold",
|
|
"paddingLeft": 10
|
|
},
|
|
"inactive": {
|
|
"classes": "",
|
|
"color": "#B8B8B8",
|
|
"fontFamily": "Arial",
|
|
"fontSize": 14,
|
|
"fontWeight": "bold",
|
|
"paddingLeft": 10
|
|
}
|
|
},
|
|
"tabs": [
|
|
"Alarms",
|
|
"Status",
|
|
"Tags"
|
|
]
|
|
},
|
|
"type": "ia.container.tab"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Main"
|
|
},
|
|
"position": {
|
|
"basis": "670px",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"border-top": "1px solid white",
|
|
"gap": ""
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "800px",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"classes": "Buttons/Button-Menu"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |