diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-StatusNonPowered/resource.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-StatusNonPowered/resource.json new file mode 100644 index 0000000..a18d388 --- /dev/null +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-StatusNonPowered/resource.json @@ -0,0 +1,17 @@ +{ + "scope": "G", + "version": 1, + "restricted": false, + "overridable": true, + "files": [ + "view.json", + "thumbnail.png" + ], + "attributes": { + "lastModification": { + "actor": "admin", + "timestamp": "2025-06-12T13:48:51Z" + }, + "lastModificationSignature": "23c3f4cb026862ccb37102727dc2295231da49571d74535a75f068bdc3966348" + } +} \ No newline at end of file diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-StatusNonPowered/thumbnail.png b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-StatusNonPowered/thumbnail.png new file mode 100644 index 0000000..fb2475e Binary files /dev/null and b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-StatusNonPowered/thumbnail.png differ diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-StatusNonPowered/view.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-StatusNonPowered/view.json new file mode 100644 index 0000000..f42e133 --- /dev/null +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-StatusNonPowered/view.json @@ -0,0 +1,1290 @@ +{ + "custom": { + "PLC_list": [ + "MCM01", + "MCM02", + "MCM03", + "MCM04", + "MCM05", + "MCM06", + "MCM07" + ], + "running_state": -1, + "state": 0, + "views_data": [] + }, + "params": { + "tagProps": [ + "/System/Chute/Chute_1", + "value", + "value", + "value", + "value", + "value", + "value", + "value", + "value", + "value" + ] + }, + "propConfig": { + "custom.PLC_list": { + "binding": { + "config": { + "fallbackDelay": 2.5, + "mode": "indirect", + "references": { + "fc": "{session.custom.fc}" + }, + "tagPath": "[{fc}_SCADA_TAG_PROVIDER]Configuration/PLC" + }, + "transforms": [ + { + "code": "\tdevices \u003d system.util.jsonDecode(value)\n\tplcList \u003d []\n\tfor k in devices.keys():\n\t\tplcList.append(k)\n\t\t\n\treturn(sorted(set(plcList)))\n", + "type": "script" + } + ], + "type": "tag" + }, + "persistent": true + }, + "custom.running_state": { + "binding": { + "config": { + "expression": "try(jsonGet({session.custom.state_messages},{this.custom.tag_path_to_lookup}),-1)\t\r\n" + }, + "transforms": [ + { + "expression": "if({value} !\u003d -1, try(jsonGet({value},\"state\"),4),{value})", + "type": "expression" + } + ], + "type": "expr" + }, + "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": "if(isNull({value}), 0, {value})", + "type": "expression" + }, + { + "fallback": null, + "inputType": "scalar", + "mappings": [ + { + "input": 3, + "output": 3 + }, + { + "input": 2, + "output": 2 + }, + { + "input": 1, + "output": 1 + }, + { + "input": 0, + "output": 0 + }, + { + "input": 4, + "output": 4 + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "tag" + }, + "persistent": true + }, + "custom.views_data": { + "binding": { + "config": { + "struct": { + "equipment_id": "{view.params.tagProps[0]}" + }, + "waitOnAll": true + }, + "transforms": [ + { + "code": "\tproject_info \u003d system.perspective.getProjectInfo()\n\t#self.custom.views_data \u003d project_info\n\tviews \u003d project_info.get(\"views\")\n\t#equipment_id \u003d self.view.params.tagProps[0]\n\tviews_data \u003d [i for i in views if i[\"path\"].startswith(\"Custom-Views/\"+ value.equipment_id)]\n\t#self.custom.views_data \u003d views_data\n\t\n\treturn views_data", + "type": "script" + } + ], + "type": "expr-struct" + }, + "persistent": true + }, + "params.tagProps": { + "paramDirection": "input", + "persistent": true + } + }, + "props": { + "defaultSize": { + "width": 400 + } + }, + "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-JR\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": "FlexContainer" + }, + "position": { + "basis": "30px", + "shrink": 0 + }, + "type": "ia.container.flex" + }, + { + "children": [ + { + "children": [ + { + "children": [ + { + "meta": { + "name": "Label" + }, + "position": { + "basis": "32px", + "display": false + }, + "propConfig": { + "position.display": { + "binding": { + "config": { + "expression": "if({../AlarmTable.props.params.length_of_table_data} \u003d 0, True, False)" + }, + "enabled": false, + "type": "expr" + } + } + }, + "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.text": { + "binding": { + "config": { + "path": "view.params.tagProps[0]" + }, + "transforms": [ + { + "code": "\treturn value[1:]", + "type": "script" + } + ], + "type": "property" + } + } + }, + "props": { + "columns": { + "active": { + "displayPath": { + "enabled": false + }, + "priority": { + "enabled": false + }, + "source": { + "enabled": false + }, + "state": { + "enabled": false + } + } + }, + "filters": { + "active": { + "priorities": { + "critical": false, + "high": false, + "low": false, + "medium": false + }, + "states": { + "clearUnacked": false + } + } + }, + "refreshRate": 500, + "toolbar": { + "enabled": false + } + }, + "type": "ia.display.alarmstatustable" + } + ], + "meta": { + "name": "Active_tab" + }, + "props": { + "direction": "column" + }, + "type": "ia.container.flex" + }, + { + "children": [ + { + "children": [ + { + "children": [ + { + "meta": { + "name": "NameField" + }, + "position": { + "basis": "50%", + "grow": 1 + }, + "props": { + "style": { + "paddingLeft": 20 + }, + "text": "NAME" + }, + "type": "ia.display.label" + }, + { + "meta": { + "name": "DeviceName" + }, + "position": { + "basis": "50%", + "grow": 1 + }, + "propConfig": { + "props.text": { + "binding": { + "config": { + "path": "view.params.tagProps[0]" + }, + "transforms": [ + { + "code": " return value.rsplit(\u0027/\u0027, 1)[-1]", + "type": "script" + } + ], + "type": "property" + } + } + }, + "props": { + "style": { + "backgroundColor": "#FFFFFF", + "classes": "Text-Styles/Ariel-Bold-12pt", + "paddingLeft": 10 + } + }, + "type": "ia.display.label" + } + ], + "meta": { + "name": "Name" + }, + "position": { + "basis": "35px" + }, + "props": { + "style": { + "classes": "PopUp-Styles/InfoLabel", + "overflow": "hidden" + } + }, + "type": "ia.container.flex" + } + ], + "meta": { + "name": "Name" + }, + "position": { + "basis": "35px" + }, + "props": { + "direction": "column" + }, + "type": "ia.container.flex" + }, + { + "children": [ + { + "children": [ + { + "meta": { + "name": "Disabled" + }, + "position": { + "basis": "50%", + "grow": 1 + }, + "props": { + "style": { + "paddingLeft": 20 + }, + "text": "DISABLED" + }, + "type": "ia.display.label" + }, + { + "meta": { + "name": "PB_Light" + }, + "position": { + "basis": "50%", + "grow": 1 + }, + "propConfig": { + "props.style.backgroundColor": { + "binding": { + "config": { + "path": "this.props.text" + }, + "transforms": [ + { + "fallback": "#000000", + "inputType": "scalar", + "mappings": [ + { + "input": "DISABLED", + "output": "#FFFFFF" + }, + { + "input": "ENABLED", + "output": "#D5D5D5" + } + ], + "outputType": "color", + "type": "map" + } + ], + "type": "property" + } + }, + "props.text": { + "binding": { + "config": { + "fallbackDelay": 2.5, + "mode": "indirect", + "references": { + "0": "{view.params.tagProps[0]}", + "fc": "{session.custom.fc}" + }, + "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Disabled" + }, + "transforms": [ + { + "expression": "coalesce({value},{view.params.forceFaultStatus},0)", + "type": "expression" + }, + { + "fallback": "ENABLED", + "inputType": "scalar", + "mappings": [ + { + "input": 1, + "output": "DISABLED" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "tag" + } + }, + "props.textStyle.color": { + "binding": { + "config": { + "path": "this.props.text" + }, + "transforms": [ + { + "fallback": "#000000", + "inputType": "scalar", + "mappings": [ + { + "input": "ENABLED", + "output": "#47FF47" + }, + { + "input": "DISABLED", + "output": "#FF0000" + } + ], + "outputType": "color", + "type": "map" + } + ], + "type": "property" + } + } + }, + "props": { + "style": { + "classes": "Text-Styles/Ariel-Bold-12pt", + "paddingLeft": 10 + } + }, + "type": "ia.display.label" + } + ], + "meta": { + "name": "Name" + }, + "position": { + "basis": "35px", + "shrink": 2 + }, + "props": { + "style": { + "classes": "PopUp-Styles/InfoLabel" + } + }, + "type": "ia.container.flex" + } + ], + "meta": { + "name": "Disabled" + }, + "position": { + "basis": "35px" + }, + "props": { + "direction": "column" + }, + "type": "ia.container.flex" + }, + { + "children": [ + { + "children": [ + { + "meta": { + "name": "Full" + }, + "position": { + "basis": "50%", + "grow": 1 + }, + "props": { + "style": { + "paddingLeft": 20 + }, + "text": "FULL" + }, + "type": "ia.display.label" + }, + { + "meta": { + "name": "PB_Light" + }, + "position": { + "basis": "50%", + "grow": 1 + }, + "propConfig": { + "props.style.backgroundColor": { + "binding": { + "config": { + "path": "this.props.text" + }, + "transforms": [ + { + "fallback": "#000000", + "inputType": "scalar", + "mappings": [ + { + "input": "FULL", + "output": "#FFFFFF" + }, + { + "input": "NOT FULL", + "output": "#D5D5D5" + } + ], + "outputType": "color", + "type": "map" + } + ], + "type": "property" + } + }, + "props.text": { + "binding": { + "config": { + "fallbackDelay": 2.5, + "mode": "indirect", + "references": { + "0": "{view.params.tagProps[0]}", + "fc": "{session.custom.fc}" + }, + "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Full" + }, + "transforms": [ + { + "expression": "coalesce({value},{view.params.forceFaultStatus},0)", + "type": "expression" + }, + { + "fallback": "NOT FULL", + "inputType": "scalar", + "mappings": [ + { + "input": 1, + "output": "FULL" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "tag" + } + }, + "props.textStyle.color": { + "binding": { + "config": { + "path": "this.props.text" + }, + "transforms": [ + { + "fallback": "#000000", + "inputType": "scalar", + "mappings": [ + { + "input": "FULL", + "output": "#0008FF" + }, + { + "input": "NOT FULL", + "output": "#47FF47" + } + ], + "outputType": "color", + "type": "map" + } + ], + "type": "property" + } + } + }, + "props": { + "style": { + "classes": "Text-Styles/Ariel-Bold-12pt", + "paddingLeft": 10 + } + }, + "type": "ia.display.label" + } + ], + "meta": { + "name": "Name" + }, + "position": { + "basis": "35px", + "shrink": 2 + }, + "props": { + "style": { + "classes": "PopUp-Styles/InfoLabel" + } + }, + "type": "ia.container.flex" + } + ], + "meta": { + "name": "Full" + }, + "position": { + "basis": "35px" + }, + "props": { + "direction": "column" + }, + "type": "ia.container.flex" + }, + { + "children": [ + { + "children": [ + { + "meta": { + "name": "Half Full" + }, + "position": { + "basis": "50%", + "grow": 1 + }, + "props": { + "style": { + "paddingLeft": 20 + }, + "text": "HALF FULL" + }, + "type": "ia.display.label" + }, + { + "meta": { + "name": "PB_Light" + }, + "position": { + "basis": "50%", + "grow": 1 + }, + "propConfig": { + "props.style.backgroundColor": { + "binding": { + "config": { + "path": "this.props.text" + }, + "transforms": [ + { + "fallback": "#000000", + "inputType": "scalar", + "mappings": [ + { + "input": "HALF FULL", + "output": "#FFFFFF" + }, + { + "input": "NOT HALF FULL", + "output": "#D5D5D5" + } + ], + "outputType": "color", + "type": "map" + } + ], + "type": "property" + } + }, + "props.text": { + "binding": { + "config": { + "fallbackDelay": 2.5, + "mode": "indirect", + "references": { + "0": "{view.params.tagProps[0]}", + "fc": "{session.custom.fc}" + }, + "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Half_Full" + }, + "transforms": [ + { + "expression": "coalesce({value},{view.params.forceFaultStatus},0)", + "type": "expression" + }, + { + "fallback": "NOT HALF FULL", + "inputType": "scalar", + "mappings": [ + { + "input": 1, + "output": "HALF FULL" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "tag" + } + }, + "props.textStyle.color": { + "binding": { + "config": { + "path": "this.props.text" + }, + "transforms": [ + { + "fallback": "#000000", + "inputType": "scalar", + "mappings": [ + { + "input": "HALF FULL", + "output": "#7F83FF" + }, + { + "input": "NOT HALF FULL", + "output": "#47FF47" + } + ], + "outputType": "color", + "type": "map" + } + ], + "type": "property" + } + } + }, + "props": { + "style": { + "classes": "Text-Styles/Ariel-Bold-12pt", + "paddingLeft": 10 + } + }, + "type": "ia.display.label" + } + ], + "meta": { + "name": "Name" + }, + "position": { + "basis": "35px", + "shrink": 2 + }, + "props": { + "style": { + "classes": "PopUp-Styles/InfoLabel" + } + }, + "type": "ia.container.flex" + } + ], + "meta": { + "name": "Half Full" + }, + "position": { + "basis": "35px" + }, + "props": { + "direction": "column" + }, + "type": "ia.container.flex" + }, + { + "children": [ + { + "children": [ + { + "meta": { + "name": "Jam" + }, + "position": { + "basis": "50%", + "grow": 1 + }, + "props": { + "style": { + "paddingLeft": 20 + }, + "text": "JAM" + }, + "type": "ia.display.label" + }, + { + "meta": { + "name": "PB_Light" + }, + "position": { + "basis": "50%", + "grow": 1 + }, + "propConfig": { + "props.style.backgroundColor": { + "binding": { + "config": { + "path": "this.props.text" + }, + "transforms": [ + { + "fallback": "#000000", + "inputType": "scalar", + "mappings": [ + { + "input": "JAMMED", + "output": "#FFFFFF" + }, + { + "input": "NOT JAMMED", + "output": "#D5D5D5" + } + ], + "outputType": "color", + "type": "map" + } + ], + "type": "property" + } + }, + "props.text": { + "binding": { + "config": { + "fallbackDelay": 2.5, + "mode": "indirect", + "references": { + "0": "{view.params.tagProps[0]}", + "fc": "{session.custom.fc}" + }, + "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Jam" + }, + "transforms": [ + { + "expression": "coalesce({value},{view.params.forceFaultStatus},0)", + "type": "expression" + }, + { + "fallback": "NOT JAMMED", + "inputType": "scalar", + "mappings": [ + { + "input": 1, + "output": "JAMMED" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "tag" + } + }, + "props.textStyle.color": { + "binding": { + "config": { + "path": "this.props.text" + }, + "transforms": [ + { + "fallback": "#000000", + "inputType": "scalar", + "mappings": [ + { + "input": "JAMMED", + "output": "#FF8C00" + }, + { + "input": "NOT JAMMED", + "output": "#47FF47" + } + ], + "outputType": "color", + "type": "map" + } + ], + "type": "property" + } + } + }, + "props": { + "style": { + "classes": "Text-Styles/Ariel-Bold-12pt", + "paddingLeft": 10 + } + }, + "type": "ia.display.label" + } + ], + "meta": { + "name": "Name" + }, + "position": { + "basis": "35px", + "shrink": 2 + }, + "props": { + "style": { + "classes": "PopUp-Styles/InfoLabel" + } + }, + "type": "ia.container.flex" + } + ], + "meta": { + "name": "Jam" + }, + "position": { + "basis": "35px" + }, + "props": { + "direction": "column" + }, + "type": "ia.container.flex" + } + ], + "meta": { + "name": "Info_tab" + }, + "position": { + "tabIndex": 1 + }, + "props": { + "direction": "column", + "style": { + "margin-left": "" + } + }, + "type": "ia.container.flex" + }, + { + "children": [ + { + "children": [ + { + "children": [ + { + "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+\"/Enable_Chute_Pressed\"\n\tsystem.tag.writeBlocking([tag_path],[True])" + }, + "scope": "G", + "type": "script" + } + } + }, + "meta": { + "name": "Button" + }, + "position": { + "basis": "80px", + "grow": 1 + }, + "propConfig": { + "props.enabled": { + "binding": { + "config": { + "expression": "indexOf({session.props.auth.user.roles}, \"Administrator\") \u003e\u003d 0 || indexOf({session.props.auth.user.roles}, \"Maintenance\") \u003e\u003d 0" + }, + "type": "expr" + } + }, + "props.style.backgroundColor": { + "binding": { + "config": { + "fallbackDelay": 2.5, + "mode": "indirect", + "references": { + "0": "{view.params.tagProps[0]}", + "fc": "{session.custom.fc}" + }, + "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Disabled" + }, + "transforms": [ + { + "expression": "coalesce({value},{view.params.forceFaultStatus},0)", + "type": "expression" + }, + { + "fallback": "#FF0000", + "inputType": "scalar", + "mappings": [ + { + "input": 1, + "output": "#C9FCC0" + } + ], + "outputType": "color", + "type": "map" + } + ], + "type": "tag" + } + }, + "props.style.color": { + "binding": { + "config": { + "fallbackDelay": 2.5, + "mode": "indirect", + "references": { + "0": "{view.params.tagProps[0]}", + "fc": "{session.custom.fc}" + }, + "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Disabled" + }, + "transforms": [ + { + "expression": "coalesce({value},{view.params.forceFaultStatus},0)", + "type": "expression" + }, + { + "fallback": "#FFFFFF", + "inputType": "scalar", + "mappings": [ + { + "input": 1, + "output": "#000000" + } + ], + "outputType": "color", + "type": "map" + } + ], + "type": "tag" + } + }, + "props.text": { + "binding": { + "config": { + "fallbackDelay": 2.5, + "mode": "indirect", + "references": { + "0": "{view.params.tagProps[0]}", + "fc": "{session.custom.fc}" + }, + "tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Alarm/Disabled" + }, + "transforms": [ + { + "expression": "coalesce({value},{view.params.forceFaultStatus},0)", + "type": "expression" + }, + { + "fallback": "DISABLE", + "inputType": "scalar", + "mappings": [ + { + "input": 1, + "output": "ENABLE" + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "tag" + } + } + }, + "props": { + "image": { + "icon": { + "path": "material/cached" + } + }, + "style": { + "classes": "Background-Styles/Controller" + } + }, + "type": "ia.input.button" + } + ], + "meta": { + "name": "Enable" + }, + "position": { + "basis": "35px" + }, + "props": { + "style": { + "classes": "PopUp-Styles/InfoLabel", + "padding": "" + } + }, + "type": "ia.container.flex" + } + ], + "meta": { + "name": "FlexContainer_0" + }, + "position": { + "basis": "100px", + "grow": 1 + }, + "props": { + "direction": "column", + "style": { + "gap": 6, + "paddingBottom": 20, + "paddingLeft": 10, + "paddingRight": 10, + "paddingTop": 13 + } + }, + "type": "ia.container.flex" + } + ], + "meta": { + "name": "Commands_tab" + }, + "position": { + "tabIndex": 2 + }, + "props": { + "direction": "column", + "style": { + "paddingTop": 1 + } + }, + "type": "ia.container.flex" + } + ], + "meta": { + "name": "tabs" + }, + "position": { + "grow": 1 + }, + "props": { + "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", + "Info", + "Commands" + ] + }, + "type": "ia.container.tab" + } + ], + "meta": { + "name": "FlexContainer_1" + }, + "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" + } +} \ No newline at end of file diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Symbol-Views/Equipment-Views/StatusNonPowered/view.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Symbol-Views/Equipment-Views/StatusNonPowered/view.json index af789ef..ff46bc0 100644 --- a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Symbol-Views/Equipment-Views/StatusNonPowered/view.json +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Symbol-Views/Equipment-Views/StatusNonPowered/view.json @@ -1,10 +1,11 @@ { "custom": { + "alarm_message": null, "disconnected": true, "plc": "value", "priority": 0, - "priority_string": "No Active Alarms", - "searchId": "value", + "priority_string": "Medium", + "searchId": "PLC01", "state": 0, "state_string": "Disabled" }, @@ -113,11 +114,11 @@ "mappings": [ { "input": 0, - "output": "No Active Alarms" + "output": "Medium" }, { "input": 1, - "output": "High" + "output": "No Active Alarms" }, { "input": 2, @@ -173,7 +174,7 @@ "custom.state_string": { "binding": { "config": { - "expression": "case({view.custom.state},\r\n0, \"Disabled\",\r\n1, \"Enabled\",\r\n2, \"Half Full\",\r\n3, \"Full\",\r\n4, \"Jam\",\r\n\"Unknown\")" + "expression": "case({view.custom.state},\r\n0, \"Disabled\",\r\n1, \"Enabled\",\r\n2, \"Half Full\",\r\n3, \"Full\",\r\n4, \"Jammed\",\r\n\"Unknown\")" }, "type": "expr" }, @@ -290,7 +291,7 @@ "dom": { "onClick": { "config": { - "script": "\tsystem.perspective.openDock(\u0027Docked-East\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})" + "script": "\tsystem.perspective.openDock(\u0027Docked-East-SNP\u0027,params\u003d{\u0027tagProps\u0027:self.view.params.tagProps})" }, "scope": "G", "type": "script" @@ -333,7 +334,7 @@ "mappings": [ { "input": 1, - "output": "Alarms-Styles/High" + "output": "Alarms-Styles/NoAlarm" }, { "input": 2, @@ -346,6 +347,10 @@ { "input": 4, "output": "Alarms-Styles/High" + }, + { + "input": 0, + "output": "Alarms-Styles/Medium" } ], "outputType": "style-list", diff --git a/tags/Simulation/Chutes.json b/tags/Simulation/Chutes.json index ba00a94..c48e621 100644 --- a/tags/Simulation/Chutes.json +++ b/tags/Simulation/Chutes.json @@ -1,1220 +1,488 @@ { - "name": "", - "tagType": "Provider", + "name": "_types_", + "tagType": "Folder", "tags": [ { - "name": "Latency", - "tagType": "Folder", + "name": "Station Chute", + "tagType": "UdtType", "tags": [ { - "valueSource": "memory", - "dataType": "StringArray", - "name": "rolling_latency", - "alarmEvalEnabled": true, - "value": [ - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0", - "0" - ], - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "first_pass", - "value": true, - "tagType": "AtomicTag" - }, - { - "valueSource": "reference", - "dataType": "String", - "sourceTagPath": "[~]System/aws_data.value", - "name": "aws_data_copy", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "String", - "name": "prev_key", - "value": "", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "DateTime", - "name": "last_alarm_change_ts", - "formatString": "yyyy-MM-dd h:mm:ss aa", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "String", - "name": "avg_latency", - "value": "", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "Configuration", - "tagType": "Folder", - "tags": [ - { - "valueSource": "memory", - "dataType": "String", - "name": "SiteLatLng", - "value": "{\"lat\":40.19567891533845, \"lng\":-74.56542081870408}", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "String", - "name": "PLC", - "value": "{ \"MCM07\": { \"Area\": \"Bypass\", \"SubArea\": \"\" }, \t\"MCM06\": { \"Area\": \"Non Con Sorters\", \"SubArea\": \"\" }, \t\"MCM05\": { \"Area\": \"North Bulk Inbound, Fluid Outbound and Problem Solve\", \"SubArea\": \"\" }, \t\"MCM04\": { \"Area\": \"South Bulk Inbound, Fluid Outbound and Problem Solve\", \"SubArea\": \"\" }, \t\"MCM03\": { \"Area\": \"Non Con Merge\", \"SubArea\": \"\" }, \t\"MCM02\": { \"Area\": \"Fluid Inbound Merges 5-7\", \"SubArea\": \"\" }, \t\"MCM01\": { \"Area\": \"Fluid Inbound Merges 1-4\", \"SubArea\": \"\" } }", - "tagType": "AtomicTag" - }, - { - "valueSource": "reference", - "dataType": "String", - "sourceTagPath": "[System]Gateway/SystemName", - "name": "SystemName", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "String", - "name": "aws", - "value": "{\"prefix\":\"na\",\"region\":\"us-east-1\"}", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "String", - "name": "FC", - "alarmEvalEnabled": false, - "value": "MTN6_SIMULATION", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "String", - "name": "DetailedViews", - "value": "{ \"MCM07 Bypass\": [ \"MCM07\" ], \t\"MCM06 Non Con\": [ \"MCM06\" ],\t \t\"MCM05 South Bulk Inbound, Fluid Outbound and Problem Solve\": [ \"MCM05\" ],\t \t\"MCM04 North Bulk Inbound, Fluid Outbound and Problem Solve\": [ \"MCM04\" ], \t\"MCM03 Non Con\": [ \"MCM03\" ], \t\"MCM02 Fluid Inbound Merges 5-7\": [ \"MCM02\" ], \t\"MCM01 Fluid Inbound Merges 1-4\": [ \"MCM01\" ]}", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "String", - "name": "BACKEND_EDGE_DEVICE", - "value": "quattro", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "_types_", - "tagType": "Folder", - "tags": [ - { - "name": "Station Chute", - "tagType": "UdtType", + "name": "Maintenance", + "tagType": "Folder", "tags": [ - { - "name": "Maintenance", - "tagType": "Folder", - "tags": [ - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Maintenance.Start_PB" - }, - "valueSource": "opc", - "name": "Start_PB", - "tagType": "AtomicTag", - "opcServer": "PLC" - } - ] - }, - { - "name": "Alarm", - "tagType": "Folder", - "tags": [ - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarm.Pressed" - }, - "valueSource": "opc", - "dataType": "Boolean", - "name": "Pressed", - "tagType": "AtomicTag", - "opcServer": "PLC" - } - ] - }, { "opcItemPath": { "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.STATE" + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Maintenance.Start_PB" }, "valueSource": "opc", - "name": "STATE", + "name": "Start_PB", "tagType": "AtomicTag", "opcServer": "PLC" } ] }, { - "name": "Chute", - "tagType": "UdtType", + "name": "Alarm", + "tagType": "Folder", "tags": [ { "opcItemPath": { "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.STATE" + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarm.Pressed" }, "valueSource": "opc", - "name": "STATE", + "dataType": "Boolean", + "name": "Pressed", "tagType": "AtomicTag", "opcServer": "PLC" - }, + } + ] + }, + { + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.STATE" + }, + "valueSource": "opc", + "name": "STATE", + "tagType": "AtomicTag", + "opcServer": "PLC" + } + ] + }, + { + "name": "Chute", + "tagType": "UdtType", + "tags": [ + { + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.STATE" + }, + "valueSource": "opc", + "name": "STATE", + "tagType": "AtomicTag", + "opcServer": "PLC" + }, + { + "name": "Alarm", + "tagType": "Folder", + "tags": [ { - "name": "Alarms", - "tagType": "Folder", - "tags": [ + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarms.Disabled" + }, + "valueSource": "opc", + "alarms": [ { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarms.Disabled" - }, - "valueSource": "opc", + "setpointA": 1.0, + "notes": "Conveyor is Disabled", "name": "Disabled", - "tagType": "AtomicTag", - "opcServer": "PLC" - }, - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarms.PKGREL_PB_Pressed" - }, - "valueSource": "opc", - "name": "PKGEL_PB_Pressed", - "tagType": "AtomicTag", - "opcServer": "PLC" - }, - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarms.Full" - }, - "valueSource": "opc", - "name": "Full", - "tagType": "AtomicTag", - "opcServer": "PLC" - }, - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarms.Half_Full" - }, - "valueSource": "opc", - "name": "Half_Full", - "tagType": "AtomicTag", - "opcServer": "PLC" - }, - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarms.Jam" - }, - "valueSource": "opc", - "name": "Jam", - "tagType": "AtomicTag", - "opcServer": "PLC" + "priority": "Medium" } - ] - }, - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Enable_Chute_Pressed" - }, - "valueSource": "opc", - "name": "Enable_Chute_Pressed", - "tagType": "AtomicTag", - "opcServer": "PLC" - } - ] - }, - { - "name": "TagProp", - "tagType": "UdtType", - "tags": [ - { - "opcItemPath": { - "bindType": "parameter", - "binding": "{InstanceName}.Disconnected" - }, - "valueSource": "opc", - "name": "Disconnected", + ], + "name": "Disabled", "tagType": "AtomicTag", "opcServer": "PLC" }, { "opcItemPath": { "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.ALARMST" + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarms.PKGREL_PB_Pressed" }, "valueSource": "opc", - "name": "ALARMST", + "name": "PKGREL_PB_Pressed", "tagType": "AtomicTag", "opcServer": "PLC" }, { "opcItemPath": { "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.STATE" + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarms.Full" }, "valueSource": "opc", - "name": "STATE", - "tagType": "AtomicTag", - "opcServer": "PLC" - }, - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.DISC" - }, - "valueSource": "opc", - "name": "DCN", - "tagType": "AtomicTag", - "opcServer": "PLC" - } - ] - }, - { - "name": "PE", - "tagType": "UdtType", - "tags": [ - { - "valueSource": "memory", - "name": "TimeOut", - "tagType": "AtomicTag" - }, - { - "name": "Alarm", - "tagType": "Folder", - "tags": [ + "alarms": [ { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarm.Full" - }, - "valueSource": "opc", - "dataType": "Boolean", + "setpointA": 1.0, + "notes": "Conveyor is Full", "name": "Full", - "tagType": "AtomicTag", - "opcServer": "PLC" - }, + "priority": "High" + } + ], + "name": "Full", + "tagType": "AtomicTag", + "opcServer": "PLC" + }, + { + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarms.Half_Full" + }, + "valueSource": "opc", + "alarms": [ { - "valueSource": "memory", - "dataType": "Boolean", + "setpointA": 1.0, + "notes": "Conveyor is Half Full", + "name": "Half Full", + "priority": "High" + } + ], + "name": "Half_Full", + "tagType": "AtomicTag", + "opcServer": "PLC" + }, + { + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarms.Jam" + }, + "valueSource": "opc", + "alarms": [ + { + "setpointA": 1.0, + "notes": "Conveyor is Jammed", "name": "Jammed", - "tagType": "AtomicTag" + "label": "", + "displayPath": "", + "priority": "High" } - ] + ], + "name": "Jam", + "tagType": "AtomicTag", + "opcServer": "PLC" } ] }, { - "name": "Conveyor", - "tagType": "UdtType", - "tags": [ - { - "name": "Maintenance", - "tagType": "Folder", - "tags": [ - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Maintenance_Mode", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Direction", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Direction_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Stop_LT", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Jog_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Stop_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Start_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Run_LT", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Speed_FPM", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "Alarms", - "tagType": "Folder", - "tags": [ - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Disconnected", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "VFD_Fault", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Communication_Fault", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "VFD_Reset_Required", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Communication_Fault_Reset_Required", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "Safe_Off_Fault", - "tagType": "AtomicTag" - } - ] - }, - { - "valueSource": "memory", - "name": "FPM", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "name": "Last_VFD_Fault_Code", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "name": "STATE", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "name": "Voltage", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "name": "Amperage", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "name": "Communication_Fault_Code", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "name": "VFD_Fault_Code", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "name": "Frequenncy", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "name": "Power_Save_Time", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "name": "Speed_At_60Hz", - "tagType": "AtomicTag" - } - ] + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Enable_Chute_Pressed" + }, + "valueSource": "opc", + "name": "Enable_Chute_Pressed", + "tagType": "AtomicTag", + "opcServer": "PLC" + } + ] + }, + { + "name": "TagProp", + "tagType": "UdtType", + "tags": [ + { + "opcItemPath": { + "bindType": "parameter", + "binding": "{InstanceName}.Disconnected" + }, + "valueSource": "opc", + "name": "Disconnected", + "tagType": "AtomicTag", + "opcServer": "PLC" }, { - "name": "Station", - "tagType": "UdtType", + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.ALARMST" + }, + "valueSource": "opc", + "name": "ALARMST", + "tagType": "AtomicTag", + "opcServer": "PLC" + }, + { + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.STATE" + }, + "valueSource": "opc", + "name": "STATE", + "tagType": "AtomicTag", + "opcServer": "PLC" + }, + { + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.DISC" + }, + "valueSource": "opc", + "name": "DCN", + "tagType": "AtomicTag", + "opcServer": "PLC" + } + ] + }, + { + "name": "PE", + "tagType": "UdtType", + "tags": [ + { + "valueSource": "memory", + "name": "TimeOut", + "tagType": "AtomicTag" + }, + { + "name": "Alarm", + "tagType": "Folder", "tags": [ - { - "name": "Alarm", - "tagType": "Folder", - "tags": [ - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarm.Pressed" - }, - "valueSource": "opc", - "dataType": "Boolean", - "name": "Pressed", - "tagType": "AtomicTag", - "opcServer": "PLC" - }, - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarm.Stopped" - }, - "valueSource": "opc", - "dataType": "Boolean", - "name": "Stopped", - "tagType": "AtomicTag", - "opcServer": "PLC" - }, - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarm.EStopped" - }, - "valueSource": "opc", - "dataType": "Boolean", - "name": "Estopped", - "tagType": "AtomicTag", - "opcServer": "PLC" - } - ] - }, { "opcItemPath": { "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.STATE" + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarm.Full" }, "valueSource": "opc", - "name": "STATE", + "dataType": "Boolean", + "name": "Full", "tagType": "AtomicTag", "opcServer": "PLC" }, { - "name": "Maintenance", - "tagType": "Folder", - "tags": [ - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Maintenance.Start_PB" - }, - "valueSource": "opc", - "name": "Start_PB", - "tagType": "AtomicTag", - "opcServer": "PLC" - }, - { - "opcItemPath": { - "bindType": "parameter", - "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Maintenance.Stop_PB" - }, - "valueSource": "opc", - "name": "Stop_PB", - "tagType": "AtomicTag", - "opcServer": "PLC" - } - ] + "valueSource": "memory", + "dataType": "Boolean", + "name": "Jammed", + "tagType": "AtomicTag" } ] } ] }, { - "name": "System", - "tagType": "Folder", + "name": "Conveyor", + "tagType": "UdtType", "tags": [ { - "valueSource": "memory", - "dataType": "String", - "name": "download", - "value": "", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "String", - "name": "device_count", - "value": "{}", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "String", - "name": "thread_id", - "value": "3005", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "String", - "name": "aws_data", - "value": "{}", - "tagType": "AtomicTag" - }, - { - "name": "Conveyor", + "name": "Maintenance", "tagType": "Folder", "tags": [ { - "name": "UL1_3_VFD1", - "typeId": "Conveyor", - "tagType": "UdtInstance", - "tags": [ - { - "name": "Voltage", - "tagType": "AtomicTag" - }, - { - "name": "Speed_At_60Hz", - "tagType": "AtomicTag" - }, - { - "value": 14, - "name": "STATE", - "tagType": "AtomicTag" - }, - { - "name": "Last_VFD_Fault_Code", - "tagType": "AtomicTag" - }, - { - "name": "Maintenance", - "tagType": "Folder", - "tags": [ - { - "name": "Maintenance_Mode", - "tagType": "AtomicTag" - }, - { - "name": "Speed_FPM", - "tagType": "AtomicTag" - }, - { - "name": "Stop_LT", - "tagType": "AtomicTag" - }, - { - "name": "Run_LT", - "tagType": "AtomicTag" - }, - { - "name": "Direction_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Start_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Stop_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Jog_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Direction", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "Alarms", - "tagType": "Folder", - "tags": [ - { - "name": "Communication_Fault", - "tagType": "AtomicTag" - }, - { - "name": "Safe_Off_Fault", - "tagType": "AtomicTag" - }, - { - "name": "VFD_Fault", - "tagType": "AtomicTag" - }, - { - "name": "Communication_Fault_Reset_Required", - "tagType": "AtomicTag" - }, - { - "name": "VFD_Reset_Required", - "tagType": "AtomicTag" - }, - { - "name": "Disconnected", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "Amperage", - "tagType": "AtomicTag" - }, - { - "name": "Frequenncy", - "tagType": "AtomicTag" - }, - { - "name": "VFD_Fault_Code", - "tagType": "AtomicTag" - }, - { - "name": "FPM", - "tagType": "AtomicTag" - }, - { - "name": "Communication_Fault_Code", - "tagType": "AtomicTag" - }, - { - "name": "Power_Save_Time", - "tagType": "AtomicTag" - } - ] + "valueSource": "memory", + "dataType": "Boolean", + "name": "Maintenance_Mode", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Direction", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Direction_PB_Pressed", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Stop_LT", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Jog_PB_Pressed", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Stop_PB_Pressed", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Start_PB_Pressed", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Run_LT", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Speed_FPM", + "tagType": "AtomicTag" + } + ] + }, + { + "name": "Alarms", + "tagType": "Folder", + "tags": [ + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Disconnected", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "VFD_Fault", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Communication_Fault", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "VFD_Reset_Required", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Communication_Fault_Reset_Required", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "dataType": "Boolean", + "name": "Safe_Off_Fault", + "tagType": "AtomicTag" } ] }, { "valueSource": "memory", - "dataType": "Boolean", - "name": "wbsckt_running", - "value": true, + "name": "FPM", "tagType": "AtomicTag" }, { "valueSource": "memory", - "dataType": "String", - "name": "wbsckt_messages_send", - "value": "{\"message_list\":[{\"action\":\"pageview\",\"parameters\":{\"siteId\":\"MTN6_SIMULATION\",\"sessionId\":\"f93d1024-7bf7-46fe-869d-fbbc8bdc7994\",\"pageId\":\"Detailed-View: MCM04\",\"timestamp\":1749711395352}}]}", + "name": "Last_VFD_Fault_Code", "tagType": "AtomicTag" }, { - "name": "PE", + "valueSource": "memory", + "name": "STATE", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "name": "Voltage", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "name": "Amperage", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "name": "Communication_Fault_Code", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "name": "VFD_Fault_Code", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "name": "Frequenncy", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "name": "Power_Save_Time", + "tagType": "AtomicTag" + }, + { + "valueSource": "memory", + "name": "Speed_At_60Hz", + "tagType": "AtomicTag" + } + ] + }, + { + "name": "Station", + "tagType": "UdtType", + "tags": [ + { + "name": "Alarm", "tagType": "Folder", "tags": [ { - "name": "UL1_3_FPE1", - "typeId": "PE", - "tagType": "UdtInstance", - "tags": [ - { - "name": "Alarm", - "tagType": "Folder", - "tags": [ - { - "name": "Jammed", - "tagType": "AtomicTag" - }, - { - "name": "Full", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "TimeOut", - "tagType": "AtomicTag" - } - ] + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarm.Pressed" + }, + "valueSource": "opc", + "dataType": "Boolean", + "name": "Pressed", + "tagType": "AtomicTag", + "opcServer": "PLC" + }, + { + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarm.Stopped" + }, + "valueSource": "opc", + "dataType": "Boolean", + "name": "Stopped", + "tagType": "AtomicTag", + "opcServer": "PLC" + }, + { + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Alarm.EStopped" + }, + "valueSource": "opc", + "dataType": "Boolean", + "name": "Estopped", + "tagType": "AtomicTag", + "opcServer": "PLC" } ] }, { - "name": "Station", + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.STATE" + }, + "valueSource": "opc", + "name": "STATE", + "tagType": "AtomicTag", + "opcServer": "PLC" + }, + { + "name": "Maintenance", "tagType": "Folder", "tags": [ { - "name": "EPC", - "tagType": "Folder", - "tags": [ - { - "name": "UL1_3_EPC2", - "typeId": "Station", - "tagType": "UdtInstance", - "tags": [ - { - "name": "Alarm", - "tagType": "Folder", - "tags": [ - { - "name": "Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Estopped", - "tagType": "AtomicTag" - }, - { - "name": "Stopped", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "STATE", - "tagType": "AtomicTag" - }, - { - "name": "Maintenance", - "tagType": "Folder", - "tags": [ - { - "name": "Start_PB", - "tagType": "AtomicTag" - }, - { - "name": "Stop_PB", - "tagType": "AtomicTag" - } - ] - } - ] - }, - { - "name": "UL1_3_EPC1", - "typeId": "Station", - "tagType": "UdtInstance", - "tags": [ - { - "name": "Maintenance", - "tagType": "Folder", - "tags": [ - { - "name": "Start_PB", - "tagType": "AtomicTag" - }, - { - "name": "Stop_PB", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "Alarm", - "tagType": "Folder", - "tags": [ - { - "name": "Estopped", - "tagType": "AtomicTag" - }, - { - "name": "Stopped", - "tagType": "AtomicTag" - }, - { - "name": "Pressed", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "STATE", - "tagType": "AtomicTag" - } - ] - } - ] + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Maintenance.Start_PB" + }, + "valueSource": "opc", + "name": "Start_PB", + "tagType": "AtomicTag", + "opcServer": "PLC" }, { - "name": "JR", - "tagType": "Folder", - "tags": [ - { - "name": "S011050_JR1", - "typeId": "Station Chute", - "tagType": "UdtInstance", - "tags": [ - { - "name": "STATE", - "tagType": "AtomicTag" - }, - { - "name": "Alarm", - "tagType": "Folder", - "tags": [ - { - "name": "Pressed", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "Maintenance", - "tagType": "Folder", - "tags": [ - { - "name": "Start_PB", - "tagType": "AtomicTag" - } - ] - } - ] - }, - { - "name": "UL1_3_JR_PB2", - "typeId": "Station", - "tagType": "UdtInstance", - "tags": [ - { - "name": "Alarm", - "tagType": "Folder", - "tags": [ - { - "name": "Stopped", - "tagType": "AtomicTag" - }, - { - "name": "Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Estopped", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "STATE", - "tagType": "AtomicTag" - }, - { - "name": "Maintenance", - "tagType": "Folder", - "tags": [ - { - "name": "Start_PB", - "tagType": "AtomicTag" - }, - { - "name": "Stop_PB", - "tagType": "AtomicTag" - } - ] - } - ] - }, - { - "name": "UL1_3_JR_PB1", - "typeId": "Station", - "tagType": "UdtInstance", - "tags": [ - { - "name": "STATE", - "tagType": "AtomicTag" - }, - { - "name": "Alarm", - "tagType": "Folder", - "tags": [ - { - "name": "Stopped", - "tagType": "AtomicTag" - }, - { - "name": "Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Estopped", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "Maintenance", - "tagType": "Folder", - "tags": [ - { - "name": "Stop_PB", - "tagType": "AtomicTag" - }, - { - "name": "Start_PB", - "tagType": "AtomicTag" - } - ] - } - ] - } - ] + "opcItemPath": { + "bindType": "parameter", + "binding": "ns\u003d1;s\u003d[PLC]{InstanceName}.HMI.Maintenance.Stop_PB" + }, + "valueSource": "opc", + "name": "Stop_PB", + "tagType": "AtomicTag", + "opcServer": "PLC" } ] - }, - { - "valueSource": "memory", - "dataType": "String", - "name": "IdToStatus", - "value": "{}", - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "wbsckt_logging", - "value": false, - "tagType": "AtomicTag" - }, - { - "name": "Chute", - "tagType": "Folder", - "tags": [ - { - "name": "Chute_4", - "typeId": "Chute", - "tagType": "UdtInstance", - "tags": [ - { - "name": "Enable_Chute_Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Alarms", - "tagType": "Folder", - "tags": [ - { - "name": "Jam", - "tagType": "AtomicTag" - }, - { - "name": "PKGEL_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Half_Full", - "tagType": "AtomicTag" - }, - { - "name": "Disabled", - "tagType": "AtomicTag" - }, - { - "name": "Full", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "STATE", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "Chute_2", - "typeId": "Chute", - "tagType": "UdtInstance", - "tags": [ - { - "name": "Enable_Chute_Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Alarms", - "tagType": "Folder", - "tags": [ - { - "name": "Full", - "tagType": "AtomicTag" - }, - { - "name": "Half_Full", - "tagType": "AtomicTag" - }, - { - "name": "Disabled", - "tagType": "AtomicTag" - }, - { - "name": "PKGEL_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Jam", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "STATE", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "Chute_1", - "typeId": "Chute", - "tagType": "UdtInstance", - "tags": [ - { - "name": "Alarms", - "tagType": "Folder", - "tags": [ - { - "name": "PKGEL_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Disabled", - "tagType": "AtomicTag" - }, - { - "name": "Full", - "tagType": "AtomicTag" - }, - { - "name": "Half_Full", - "tagType": "AtomicTag" - }, - { - "name": "Jam", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "STATE", - "tagType": "AtomicTag" - }, - { - "name": "Enable_Chute_Pressed", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "Chute_3", - "typeId": "Chute", - "tagType": "UdtInstance", - "tags": [ - { - "name": "Alarms", - "tagType": "Folder", - "tags": [ - { - "name": "Disabled", - "tagType": "AtomicTag" - }, - { - "name": "PKGEL_PB_Pressed", - "tagType": "AtomicTag" - }, - { - "name": "Full", - "tagType": "AtomicTag" - }, - { - "name": "Half_Full", - "tagType": "AtomicTag" - }, - { - "name": "Jam", - "tagType": "AtomicTag" - } - ] - }, - { - "name": "Enable_Chute_Pressed", - "tagType": "AtomicTag" - }, - { - "name": "STATE", - "tagType": "AtomicTag" - } - ] - } - ] - }, - { - "valueSource": "memory", - "dataType": "Boolean", - "name": "close_socket", - "value": true, - "tagType": "AtomicTag" - }, - { - "valueSource": "memory", - "dataType": "DateTime", - "name": "wbsckt_heartbeat_interval", - "value": 1749721788323, - "tagType": "AtomicTag" } ] }