SIO FIO and SOL block changes

This commit is contained in:
Salijoghli 2025-09-15 11:30:51 +04:00
parent 238364f217
commit 4733752a0c
36 changed files with 3721 additions and 2601 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 B

View File

@ -0,0 +1,546 @@
{
"custom": {
"color": "#C2C2C2",
"priority": "No Active Alarms",
"state": "Closed"
},
"params": {
"tagProps": [
"System/MCM02/Solenoid/NCS1_1_SOL48",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"custom.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Color"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"fallback": "#000000",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "#C2C2C2"
},
{
"input": 1,
"output": "#FF0000"
},
{
"input": 2,
"output": "#FFA500"
},
{
"input": 3,
"output": "#0008FF"
},
{
"input": 4,
"output": "#00FF00"
},
{
"input": 5,
"output": "#FFF700"
},
{
"input": 6,
"output": "#87CEEB"
},
{
"input": 7,
"output": "#90EE90"
},
{
"input": 8,
"output": "#964B00"
},
{
"input": 9,
"output": "#FFFFFF"
},
{
"input": 10,
"output": "#000000"
},
{
"input": 11,
"output": "#8B0000"
},
{
"input": 12,
"output": "#808080"
},
{
"input": 13,
"output": "#8B8000"
},
{
"input": 14,
"output": "#006400"
},
{
"input": 15,
"output": "#FFFFC5"
},
{
"input": 16,
"output": "#00008B"
},
{
"input": 17,
"output": "#FF7276"
},
{
"input": 18,
"output": "#556B2F"
},
{
"input": 19,
"output": "#B43434"
},
{
"input": 20,
"output": "#4682B4"
},
{
"input": 21,
"output": "#FFD700"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.priority": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Priority"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "No Active Alarms"
},
{
"input": 1,
"output": "High"
},
{
"input": 2,
"output": "Medium"
},
{
"input": 3,
"output": "Low"
},
{
"input": 4,
"output": "Diagnostic"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"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},{view.params.forceFaultStatus},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"
},
{
"input": 49,
"output": "Tipper Faulted"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 20,
"width": 20
}
},
"root": {
"children": [
{
"meta": {
"name": "SOL"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.elements[1].fill.paint": {
"binding": {
"config": {
"path": "view.custom.color"
},
"type": "property"
}
}
},
"props": {
"elements": [
{
"id": "defs1",
"name": "defs1",
"type": "defs"
},
{
"fill": {},
"height": "47.417244",
"id": "beaconSquare",
"name": "beaconSquare",
"stroke": {
"paint": "#000000",
"width": "2.36887"
},
"type": "rect",
"width": "47.337795",
"x": "1.450278",
"y": "1.3708278"
},
{
"elements": [
{
"id": "tspan1",
"name": "tspan1",
"stroke": {
"width": "1.15193"
},
"text": "SOL",
"type": "tspan",
"x": "24.958401",
"y": "31.781378"
}
],
"fill": {
"paint": "#ffffff"
},
"fontSize": "20.7347px",
"id": "beaconLabel",
"name": "beaconLabel",
"stroke": {
"width": "1.15193"
},
"textAnchor": "middle",
"type": "text",
"x": "24.958401",
"y": "31.781378"
}
],
"viewBox": "0 0 50 50"
},
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\t#create tags lists for the device\n\tprops \u003d self.view.params.tagProps\n\ttags_table_dataset \u003d autStand.devices.getAllTags(self, props[0])\n\tsystem.perspective.openDock(\u0027Docked-East-Device\u0027,params\u003d{\u0027tagProps\u0027:props, \"tags\":tags_table_dataset})"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root",
"tooltip": {
"enabled": true
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "if(\n {view.custom.state} !\u003d \"Closed\",\n \"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority} + \", State: \" + {view.custom.state},\n \"Device Disconnected\"\n)\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_solenoids"
},
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"cursor": "pointer"
}
},
"type": "ia.container.coord"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -0,0 +1,587 @@
{
"custom": {
"color": "#C2C2C2",
"priority": "No Active Alarms",
"state": "Closed"
},
"params": {
"FIO": false,
"tagProps": [
"/system/mcm01/test",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"custom.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Color"
},
"transforms": [
{
"expression": "coalesce({value},0)",
"type": "expression"
},
{
"fallback": "#000000",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "#C2C2C2"
},
{
"input": 1,
"output": "#FF0000"
},
{
"input": 2,
"output": "#FFA500"
},
{
"input": 3,
"output": "#0008FF"
},
{
"input": 4,
"output": "#00FF00"
},
{
"input": 5,
"output": "#FFF700"
},
{
"input": 6,
"output": "#87CEEB"
},
{
"input": 7,
"output": "#90EE90"
},
{
"input": 8,
"output": "#964B00"
},
{
"input": 9,
"output": "#FFFFFF"
},
{
"input": 10,
"output": "#000000"
},
{
"input": 11,
"output": "#8B0000"
},
{
"input": 12,
"output": "#808080"
},
{
"input": 13,
"output": "#8B8000"
},
{
"input": 14,
"output": "#006400"
},
{
"input": 15,
"output": "#FFFFC5"
},
{
"input": 16,
"output": "#00008B"
},
{
"input": 17,
"output": "#FF7276"
},
{
"input": 18,
"output": "#556B2F"
},
{
"input": 19,
"output": "#B43434"
},
{
"input": 20,
"output": "#4682B4"
},
{
"input": 21,
"output": "#FFD700"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.priority": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Priority"
},
"transforms": [
{
"expression": "coalesce({value},0)",
"type": "expression"
},
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "No Active Alarms"
},
{
"input": 1,
"output": "High"
},
{
"input": 2,
"output": "Medium"
},
{
"input": 3,
"output": "Low"
},
{
"input": 4,
"output": "Diagnostic"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"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"
},
{
"input": 49,
"output": "Tipper Faulted"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"params.FIO": {
"paramDirection": "input",
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 50,
"width": 50
}
},
"root": {
"children": [
{
"meta": {
"name": "IOBLOCK"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.elements[1].fill.paint": {
"binding": {
"config": {
"path": "view.custom.color"
},
"type": "property"
}
},
"props.elements[2].elements[0].text": {
"binding": {
"config": {
"expression": "if({view.params.FIO}, \"FIO\", \"SIO\")"
},
"type": "expr"
}
}
},
"props": {
"elements": [
{
"id": "defs1",
"name": "defs1",
"type": "defs"
},
{
"fill": {},
"height": "47.417244",
"id": "beaconSquare",
"name": "beaconSquare",
"stroke": {
"paint": "#000000",
"width": "2.36887"
},
"type": "rect",
"width": "47.337795",
"x": "1.450278",
"y": "1.3708278"
},
{
"elements": [
{
"id": "tspan2",
"name": "tspan2",
"stroke": {
"width": "1.15193"
},
"type": "tspan",
"x": "24.958403",
"y": "31.781378"
}
],
"fill": {
"paint": "#ffffff"
},
"fontSize": "20.7347px",
"id": "beaconLabel",
"name": "beaconLabel",
"stroke": {
"width": "1.15193"
},
"textAnchor": "middle",
"type": "text",
"x": "24.958401",
"y": "31.781378"
}
],
"viewBox": "0 0 50 50"
},
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\t#create tags lists for the device\n\tprops \u003d self.view.params.tagProps\n\ttags_table_dataset \u003d autStand.devices.getAllTags(self, props[0])\n\tsystem.perspective.openDock(\u0027Docked-East-Device\u0027,params\u003d{\u0027tagProps\u0027:props, \"tags\":tags_table_dataset})"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root",
"tooltip": {
"enabled": true
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "if(\n {view.custom.state} !\u003d \"Closed\",\n \"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority} + \", State: \" + {view.custom.state},\n \"Device Disconnected\"\n)\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_fio_safety"
},
"type": "property"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#808080",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "#00FF00"
},
{
"input": 2,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"borderStyle": "solid",
"cursor": "pointer",
"overflow": "hidden",
"userSelect": "none"
}
},
"type": "ia.container.coord"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 B

View File

@ -1,201 +0,0 @@
{
"custom": {
"state": 0,
"string": "Inactive"
},
"params": {
"tagProps": [
"/system/mcm01/test",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"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": null,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": 1
},
{
"input": 0,
"output": 0
},
{
"input": 2,
"output": 2
},
{
"input": 3,
"output": 3
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.string": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "Unknown",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "Actuated"
},
{
"input": 2,
"output": "Faulted"
},
{
"input": 0,
"output": "Inactive"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 22,
"width": 25
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 1,
"width": 1
},
"props": {
"text": "SOL",
"textStyle": {
"fontSize": "0.5vw",
"textAlign": "center",
"textTransform": "uppercase"
}
},
"type": "ia.display.label"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\t#create tags lists for the device\n\tprops \u003d self.view.params.tagProps\n\ttags_table_dataset \u003d autStand.devices.getAllTags(self, props[0])\n\tsystem.perspective.openDock(\u0027Docked-East-Device\u0027,params\u003d{\u0027tagProps\u0027:props, \"tags\":tags_table_dataset})"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root",
"tooltip": {
"enabled": true
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_solenoids"
},
"type": "property"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#808080",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "#00FF00"
},
{
"input": 2,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"borderStyle": "solid",
"cursor": "pointer",
"overflow": "hidden",
"userSelect": "none"
}
},
"type": "ia.container.coord"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View File

@ -1,197 +0,0 @@
{
"custom": {
"state": 0,
"string": "Unknown"
},
"params": {
"tagProps": [
"/system/mcm01/test",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"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},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": 1
},
{
"input": 0,
"output": 0
},
{
"input": 2,
"output": 2
},
{
"input": 3,
"output": 3
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.string": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "Unknown",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "OK"
},
{
"input": 2,
"output": "Faulted"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 20,
"width": 40
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 1,
"width": 1
},
"props": {
"text": "FIO",
"textStyle": {
"fontSize": "1vw",
"textAlign": "center",
"textTransform": "uppercase"
}
},
"type": "ia.display.label"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\t#create tags lists for the device\n\tprops \u003d self.view.params.tagProps\n\ttags_table_dataset \u003d autStand.devices.getAllTags(self, props[0])\n\tsystem.perspective.openDock(\u0027Docked-East-Device\u0027,params\u003d{\u0027tagProps\u0027:props, \"tags\":tags_table_dataset})"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root",
"tooltip": {
"enabled": true
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_fio_safety"
},
"type": "property"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#808080",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "#00FF00"
},
{
"input": 2,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"borderStyle": "solid",
"cursor": "pointer",
"overflow": "hidden",
"userSelect": "none"
}
},
"type": "ia.container.coord"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 B

View File

@ -1,203 +0,0 @@
{
"custom": {
"state": 0,
"string": "Unknown"
},
"params": {
"tagProps": [
"/system/mcm01/test",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"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": null,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": 1
},
{
"input": 0,
"output": 0
},
{
"input": 2,
"output": 2
},
{
"input": 3,
"output": 3
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.string": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "Unknown",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "OK"
},
{
"input": 2,
"output": "Faulted"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 20,
"width": 40
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 1,
"width": 1
},
"props": {
"style": {
"paddingBottom": 1,
"paddingLeft": 1,
"paddingRight": 1,
"paddingTop": 1
},
"text": "SIO",
"textStyle": {
"fontSize": "1vw",
"textAlign": "center",
"textTransform": "uppercase"
}
},
"type": "ia.display.label"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\t#create tags lists for the device\n\tprops \u003d self.view.params.tagProps\n\ttags_table_dataset \u003d autStand.devices.getAllTags(self, props[0])\n\tsystem.perspective.openDock(\u0027Docked-East-Device\u0027,params\u003d{\u0027tagProps\u0027:props, \"tags\":tags_table_dataset})"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root",
"tooltip": {
"enabled": true
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_fio_safety"
},
"type": "property"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#808080",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "#00FF00"
},
{
"input": 2,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"borderStyle": "solid",
"cursor": "pointer",
"overflow": "hidden",
"userSelect": "none"
}
},
"type": "ia.container.coord"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 B

View File

@ -1,10 +1,8 @@
{
"custom": {
"disconnected": 0,
"color": "#000",
"priority": 0,
"priority_string": "No active alarms",
"state": 0,
"state_string": "Normal"
"state": 0
},
"params": {
"tagProps": [
@ -21,13 +19,7 @@
]
},
"propConfig": {
"custom.disconnected": {
"binding": {
"config": {
"path": "view.custom.state"
},
"type": "property"
},
"custom.color": {
"persistent": true
},
"custom.priority": {
@ -65,15 +57,6 @@
},
"persistent": true
},
"custom.priority_string": {
"binding": {
"config": {
"expression": "case({view.custom.state},\r\n1, \"High\",\r\n0, \"No active alarms\",\r\n\"Unknown\")"
},
"type": "expr"
},
"persistent": true
},
"custom.state": {
"binding": {
"config": {
@ -95,15 +78,6 @@
},
"persistent": true
},
"custom.state_string": {
"binding": {
"config": {
"expression": "case({view.custom.state},\r\n1, \"Communication Faulted\",\r\n0, \"Normal\",\r\n\"Unknown\")"
},
"type": "expr"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "inout",
"persistent": true
@ -111,28 +85,83 @@
},
"props": {
"defaultSize": {
"height": 30,
"width": 41
"height": 40,
"width": 40
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
"name": "MCM"
},
"position": {
"height": 1,
"width": 1
},
"props": {
"text": "MCM",
"textStyle": {
"fontSize": "1vw",
"textAlign": "center"
"propConfig": {
"props.elements[1].fill.paint": {
"binding": {
"config": {
"path": "view.custom.color"
},
"type": "property"
}
}
},
"type": "ia.display.label"
"props": {
"elements": [
{
"id": "defs1",
"name": "defs1",
"type": "defs"
},
{
"fill": {},
"height": "47.417244",
"id": "beaconSquare",
"name": "beaconSquare",
"stroke": {
"paint": "#000000",
"width": "2.36887"
},
"type": "rect",
"width": "47.337795",
"x": "1.450278",
"y": "1.3708278"
},
{
"elements": [
{
"id": "tspan1",
"name": "tspan1",
"stroke": {
"width": "0.895573"
},
"text": "MCM",
"type": "tspan",
"x": "24.985008",
"y": "29.648235"
}
],
"fill": {
"paint": "#ffffff"
},
"fontSize": "16.1203px",
"id": "beaconLabel",
"name": "beaconLabel",
"stroke": {
"width": "0.895573"
},
"textAnchor": "middle",
"type": "text",
"x": "24.985008",
"y": "29.648235"
}
],
"viewBox": "0 0 50 50"
},
"type": "ia.shapes.svg"
}
],
"events": {
@ -192,7 +221,7 @@
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "if(\n {view.custom.disconnected} \u003d false,\n \"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority_string} + \", State: \" + {view.custom.state_string},\n \"Device Disconnected\"\n)\n"
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority} + \", State: \" + {view.custom.state}"
},
"type": "expr"
}
@ -204,20 +233,11 @@
},
"type": "property"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"expression": "if(\r\n {view.custom.disconnected},\r\n \u0027#808080\u0027,\r\n if(\r\n {view.custom.state} \u003d 1,\r\n \u0027#FF0000\u0027,\r\n if(\r\n {view.custom.state} \u003d 0,\r\n \u0027#00D900\u0027,\r\n \u0027#fff700\u0027\r\n )\r\n )\r\n)\r\n"
},
"type": "expr"
}
}
},
"props": {
"mode": "percent",
"style": {
"borderStyle": "solid",
"cursor": "pointer",
"overflow": "hidden"
}

View File

@ -2791,13 +2791,14 @@
"name": "S03_1_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.2363,
"y": 0.5102
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM1",
"value",
@ -2811,7 +2812,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -2820,10 +2821,10 @@
"name": "PS3_14_SIO1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.1823,
"y": 0.3824
"y": 0.3778
},
"props": {
"params": {
@ -2840,7 +2841,7 @@
"value"
]
},
"path": "autStand/Equipment/Safety_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3084,10 +3085,10 @@
"name": "PS3_13_SIO1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.1481,
"y": 0.3824
"y": 0.3741
},
"props": {
"params": {
@ -3104,7 +3105,7 @@
"value"
]
},
"path": "autStand/Equipment/Safety_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3113,8 +3114,8 @@
"name": "PS3_12_SIO1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.0862,
"y": 0.4037
},
@ -3133,7 +3134,7 @@
"value"
]
},
"path": "autStand/Equipment/Safety_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3230,13 +3231,14 @@
"name": "S03_1_FIOM2"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.3099,
"y": 0.5102
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM2",
"value",
@ -3250,7 +3252,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3259,13 +3261,14 @@
"name": "S03_1_FIOM3"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.364,
"y": 0.5102
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM3",
"value",
@ -3279,7 +3282,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3288,13 +3291,14 @@
"name": "S03_1_FIOM5"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.556,
"y": 0.5315
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM5",
"value",
@ -3308,7 +3312,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3317,13 +3321,14 @@
"name": "S03_1_FIOM4"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.4474,
"y": 0.5287
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM4",
"value",
@ -3337,7 +3342,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3346,13 +3351,14 @@
"name": "S03_1_FIOM6"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.6285,
"y": 0.5306
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM6",
"value",
@ -3366,7 +3372,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3375,13 +3381,14 @@
"name": "S03_1_FIOM7"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.7046,
"y": 0.5296
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM7",
"value",
@ -3395,7 +3402,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3404,13 +3411,14 @@
"name": "S03_1_FIOM8"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.7802,
"y": 0.5296
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM8",
"value",
@ -3424,7 +3432,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3433,13 +3441,14 @@
"name": "S03_1_FIOM9"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.8134,
"y": 0.5083
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM9",
"value",
@ -3453,7 +3462,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -4164,7 +4173,7 @@
"height": 0.0185,
"width": 0.0105,
"x": 0.446,
"y": 0.6018
"y": 0.6036
},
"props": {
"params": {
@ -4194,7 +4203,7 @@
"height": 0.0185,
"width": 0.0105,
"x": 0.446,
"y": 0.5833
"y": 0.5851
},
"props": {
"params": {
@ -5892,13 +5901,14 @@
"name": "S03_CH103_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.3088,
"y": 0.3759
"height": 0.0231,
"width": 0.013,
"x": 0.3074,
"y": 0.3713
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH103_FIOM1",
"value",
@ -5912,7 +5922,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -5921,13 +5931,14 @@
"name": "S03_CH109_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.4501,
"y": 0.3759
"height": 0.0231,
"width": 0.013,
"x": 0.4487,
"y": 0.3713
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH109_FIOM1",
"value",
@ -5941,7 +5952,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -5950,13 +5961,14 @@
"name": "S03_CH115_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.5918,
"y": 0.3759
"height": 0.0231,
"width": 0.013,
"x": 0.5904,
"y": 0.3713
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH115_FIOM1",
"value",
@ -5970,7 +5982,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -5979,13 +5991,14 @@
"name": "S03_CH121_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.7037,
"y": 0.3778
"height": 0.0231,
"width": 0.013,
"x": 0.7023,
"y": 0.3732
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH121_FIOM1",
"value",
@ -5999,7 +6012,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -6881,10 +6894,10 @@
"name": "NCS1_1_SIO1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.8799,
"y": 0.537
"height": 0.0231,
"width": 0.013,
"x": 0.8487,
"y": 0.5145
},
"props": {
"params": {
@ -6901,7 +6914,7 @@
"value"
]
},
"path": "autStand/Equipment/Safety_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -6912,8 +6925,8 @@
"position": {
"height": 0.0241,
"width": 0.0136,
"x": 0.8801,
"y": 0.5583
"x": 0.864,
"y": 0.5148
},
"props": {
"params": {
@ -7606,13 +7619,14 @@
"name": "S03_CH110_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.4458,
"y": 0.5639
"height": 0.0231,
"width": 0.013,
"x": 0.4457,
"y": 0.5613
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH110_FIOM1",
"value",
@ -7626,7 +7640,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -7635,13 +7649,14 @@
"name": "S03_CH116_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.5918,
"y": 0.5648
"height": 0.0231,
"width": 0.013,
"x": 0.5917,
"y": 0.5622
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH116_FIOM1",
"value",
@ -7655,7 +7670,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -7664,13 +7679,14 @@
"name": "S03_CH122_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.7393,
"y": 0.5639
"height": 0.0231,
"width": 0.013,
"x": 0.7392,
"y": 0.5613
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH122_FIOM1",
"value",
@ -7684,7 +7700,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-13T12:49:16Z"
"timestamp": "2025-09-15T07:21:27Z"
},
"lastModificationSignature": "0cbdabc4cc8a34d40d88bc3bd302d3c214a3a7bdcaeb93c255f17e0e5819acd4"
"lastModificationSignature": "45bfa5c1e73546124856b6c24c43456101e5457d72482be938129fd88f2393ad"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-13T14:23:20Z"
"timestamp": "2025-09-15T07:30:07Z"
},
"lastModificationSignature": "1eb572c00e7480aa11cf9e95071c8846daca4ce669e2891de6ecff4120870e9a"
"lastModificationSignature": "3f41debdb880d05220f60eedde4cbec169c5b16080e03b3bbce7d91c778a6581"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 90 KiB

View File

@ -2791,13 +2791,14 @@
"name": "S03_1_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.2363,
"y": 0.5102
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM1",
"value",
@ -2811,7 +2812,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -2820,10 +2821,10 @@
"name": "PS3_14_SIO1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.1823,
"y": 0.3824
"y": 0.3778
},
"props": {
"params": {
@ -2840,7 +2841,7 @@
"value"
]
},
"path": "autStand/Equipment/Safety_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3084,10 +3085,10 @@
"name": "PS3_13_SIO1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.1481,
"y": 0.3824
"y": 0.3741
},
"props": {
"params": {
@ -3104,7 +3105,7 @@
"value"
]
},
"path": "autStand/Equipment/Safety_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3113,8 +3114,8 @@
"name": "PS3_12_SIO1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.0862,
"y": 0.4037
},
@ -3133,7 +3134,7 @@
"value"
]
},
"path": "autStand/Equipment/Safety_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3230,13 +3231,14 @@
"name": "S03_1_FIOM2"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.3099,
"y": 0.5102
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM2",
"value",
@ -3250,7 +3252,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3259,13 +3261,14 @@
"name": "S03_1_FIOM3"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.364,
"y": 0.5102
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM3",
"value",
@ -3279,7 +3282,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3288,13 +3291,14 @@
"name": "S03_1_FIOM5"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.556,
"y": 0.5315
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM5",
"value",
@ -3308,7 +3312,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3317,13 +3321,14 @@
"name": "S03_1_FIOM4"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.4474,
"y": 0.5287
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM4",
"value",
@ -3337,7 +3342,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3346,13 +3351,14 @@
"name": "S03_1_FIOM6"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.6285,
"y": 0.5306
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM6",
"value",
@ -3366,7 +3372,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3375,13 +3381,14 @@
"name": "S03_1_FIOM7"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.7046,
"y": 0.5296
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM7",
"value",
@ -3395,7 +3402,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3404,13 +3411,14 @@
"name": "S03_1_FIOM8"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.7802,
"y": 0.5296
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM8",
"value",
@ -3424,7 +3432,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -3433,13 +3441,14 @@
"name": "S03_1_FIOM9"
},
"position": {
"height": 0.0185,
"width": 0.021,
"height": 0.0231,
"width": 0.013,
"x": 0.8134,
"y": 0.5083
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_1_FIOM9",
"value",
@ -3453,7 +3462,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -4164,7 +4173,7 @@
"height": 0.0185,
"width": 0.0105,
"x": 0.446,
"y": 0.6018
"y": 0.6036
},
"props": {
"params": {
@ -4194,7 +4203,7 @@
"height": 0.0185,
"width": 0.0105,
"x": 0.446,
"y": 0.5833
"y": 0.5851
},
"props": {
"params": {
@ -5892,13 +5901,14 @@
"name": "S03_CH103_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.3088,
"y": 0.3759
"height": 0.0231,
"width": 0.013,
"x": 0.3074,
"y": 0.3713
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH103_FIOM1",
"value",
@ -5912,7 +5922,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -5921,13 +5931,14 @@
"name": "S03_CH109_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.4501,
"y": 0.3759
"height": 0.0231,
"width": 0.013,
"x": 0.4487,
"y": 0.3713
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH109_FIOM1",
"value",
@ -5941,7 +5952,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -5950,13 +5961,14 @@
"name": "S03_CH115_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.5918,
"y": 0.3759
"height": 0.0231,
"width": 0.013,
"x": 0.5904,
"y": 0.3713
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH115_FIOM1",
"value",
@ -5970,7 +5982,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -5979,13 +5991,14 @@
"name": "S03_CH121_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.7037,
"y": 0.3778
"height": 0.0231,
"width": 0.013,
"x": 0.7023,
"y": 0.3732
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH121_FIOM1",
"value",
@ -5999,7 +6012,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -6881,10 +6894,10 @@
"name": "NCS1_1_SIO1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.8799,
"y": 0.537
"height": 0.0231,
"width": 0.013,
"x": 0.8487,
"y": 0.5145
},
"props": {
"params": {
@ -6901,7 +6914,7 @@
"value"
]
},
"path": "autStand/Equipment/Safety_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -6912,8 +6925,8 @@
"position": {
"height": 0.0241,
"width": 0.0136,
"x": 0.8801,
"y": 0.5583
"x": 0.864,
"y": 0.5148
},
"props": {
"params": {
@ -7606,13 +7619,14 @@
"name": "S03_CH110_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.4458,
"y": 0.5639
"height": 0.0231,
"width": 0.013,
"x": 0.4457,
"y": 0.5613
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH110_FIOM1",
"value",
@ -7626,7 +7640,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -7635,13 +7649,14 @@
"name": "S03_CH116_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.5918,
"y": 0.5648
"height": 0.0231,
"width": 0.013,
"x": 0.5917,
"y": 0.5622
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH116_FIOM1",
"value",
@ -7655,7 +7670,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},
@ -7664,13 +7679,14 @@
"name": "S03_CH122_FIOM1"
},
"position": {
"height": 0.0185,
"width": 0.021,
"x": 0.7393,
"y": 0.5639
"height": 0.0231,
"width": 0.013,
"x": 0.7392,
"y": 0.5613
},
"props": {
"params": {
"FIO": true,
"tagProps": [
"System/MCM02/FIO/S03_CH122_FIOM1",
"value",
@ -7684,7 +7700,7 @@
"value"
]
},
"path": "autStand/Equipment/Field_IO"
"path": "autStand/Equipment/IO_Block"
},
"type": "ia.display.view"
},

View File

@ -1,16 +0,0 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": true,
"files": [
"view.json"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-12T08:07:09Z"
},
"lastModificationSignature": "70ccbd002f73569fb224b5931615edaaf4d3871be56a8747de6033d36de4bc1e"
}
}

View File

@ -1,197 +0,0 @@
{
"custom": {
"state": 0,
"string": "Unknown"
},
"params": {
"tagProps": [
"/system/mcm01/test",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"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},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": 1
},
{
"input": 0,
"output": 0
},
{
"input": 2,
"output": 2
},
{
"input": 3,
"output": 3
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.string": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "Unknown",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "OK"
},
{
"input": 2,
"output": "Faulted"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 20,
"width": 40
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 1,
"width": 1
},
"props": {
"text": "FIO",
"textStyle": {
"fontSize": "1vw",
"textAlign": "center",
"textTransform": "uppercase"
}
},
"type": "ia.display.label"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\t#create tags lists for the device\n\tprops \u003d self.view.params.tagProps\n\ttags_table_dataset \u003d autStand.devices.getAllTags(self, props[0])\n\tsystem.perspective.openDock(\u0027Docked-East-Device\u0027,params\u003d{\u0027tagProps\u0027:props, \"tags\":tags_table_dataset})"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root",
"tooltip": {
"enabled": true
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_fio_safety"
},
"type": "property"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#808080",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "#00FF00"
},
{
"input": 2,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"borderStyle": "solid",
"cursor": "pointer",
"overflow": "hidden",
"userSelect": "none"
}
},
"type": "ia.container.coord"
}
}

View File

@ -0,0 +1,17 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": true,
"files": [
"view.json",
"thumbnail.png"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-15T07:22:11Z"
},
"lastModificationSignature": "6ec599cb66372f723fbf6888e3cfc39c3269c25ea6cb7ff876376e83d369b6b6"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 B

View File

@ -0,0 +1,587 @@
{
"custom": {
"color": "#C2C2C2",
"priority": "No Active Alarms",
"state": "Closed"
},
"params": {
"FIO": false,
"tagProps": [
"/system/mcm01/test",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"custom.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Color"
},
"transforms": [
{
"expression": "coalesce({value},0)",
"type": "expression"
},
{
"fallback": "#000000",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "#C2C2C2"
},
{
"input": 1,
"output": "#FF0000"
},
{
"input": 2,
"output": "#FFA500"
},
{
"input": 3,
"output": "#0008FF"
},
{
"input": 4,
"output": "#00FF00"
},
{
"input": 5,
"output": "#FFF700"
},
{
"input": 6,
"output": "#87CEEB"
},
{
"input": 7,
"output": "#90EE90"
},
{
"input": 8,
"output": "#964B00"
},
{
"input": 9,
"output": "#FFFFFF"
},
{
"input": 10,
"output": "#000000"
},
{
"input": 11,
"output": "#8B0000"
},
{
"input": 12,
"output": "#808080"
},
{
"input": 13,
"output": "#8B8000"
},
{
"input": 14,
"output": "#006400"
},
{
"input": 15,
"output": "#FFFFC5"
},
{
"input": 16,
"output": "#00008B"
},
{
"input": 17,
"output": "#FF7276"
},
{
"input": 18,
"output": "#556B2F"
},
{
"input": 19,
"output": "#B43434"
},
{
"input": 20,
"output": "#4682B4"
},
{
"input": 21,
"output": "#FFD700"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.priority": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Priority"
},
"transforms": [
{
"expression": "coalesce({value},0)",
"type": "expression"
},
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "No Active Alarms"
},
{
"input": 1,
"output": "High"
},
{
"input": 2,
"output": "Medium"
},
{
"input": 3,
"output": "Low"
},
{
"input": 4,
"output": "Diagnostic"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"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"
},
{
"input": 49,
"output": "Tipper Faulted"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"params.FIO": {
"paramDirection": "input",
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 50,
"width": 50
}
},
"root": {
"children": [
{
"meta": {
"name": "IOBLOCK"
},
"position": {
"height": 1,
"width": 1
},
"propConfig": {
"props.elements[1].fill.paint": {
"binding": {
"config": {
"path": "view.custom.color"
},
"type": "property"
}
},
"props.elements[2].elements[0].text": {
"binding": {
"config": {
"expression": "if({view.params.FIO}, \"FIO\", \"SIO\")"
},
"type": "expr"
}
}
},
"props": {
"elements": [
{
"id": "defs1",
"name": "defs1",
"type": "defs"
},
{
"fill": {},
"height": "47.417244",
"id": "beaconSquare",
"name": "beaconSquare",
"stroke": {
"paint": "#000000",
"width": "2.36887"
},
"type": "rect",
"width": "47.337795",
"x": "1.450278",
"y": "1.3708278"
},
{
"elements": [
{
"id": "tspan2",
"name": "tspan2",
"stroke": {
"width": "1.15193"
},
"type": "tspan",
"x": "24.958403",
"y": "31.781378"
}
],
"fill": {
"paint": "#ffffff"
},
"fontSize": "20.7347px",
"id": "beaconLabel",
"name": "beaconLabel",
"stroke": {
"width": "1.15193"
},
"textAnchor": "middle",
"type": "text",
"x": "24.958401",
"y": "31.781378"
}
],
"viewBox": "0 0 50 50"
},
"type": "ia.shapes.svg"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\t#create tags lists for the device\n\tprops \u003d self.view.params.tagProps\n\ttags_table_dataset \u003d autStand.devices.getAllTags(self, props[0])\n\tsystem.perspective.openDock(\u0027Docked-East-Device\u0027,params\u003d{\u0027tagProps\u0027:props, \"tags\":tags_table_dataset})"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root",
"tooltip": {
"enabled": true
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "if(\n {view.custom.state} !\u003d \"Closed\",\n \"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority} + \", State: \" + {view.custom.state},\n \"Device Disconnected\"\n)\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_fio_safety"
},
"type": "property"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#808080",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "#00FF00"
},
{
"input": 2,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"borderStyle": "solid",
"cursor": "pointer",
"overflow": "hidden",
"userSelect": "none"
}
},
"type": "ia.container.coord"
}
}

View File

@ -10,8 +10,8 @@
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-12T08:07:40Z"
"timestamp": "2025-09-14T17:54:18Z"
},
"lastModificationSignature": "7d38b7c8acbbaff7cca5847777fefbf01315969adeeffdb37c221a94565f96c9"
"lastModificationSignature": "2c56e60d1d7d01012ba05321f1069ffff0852a0ba1c8a048bc42734d06c800ae"
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 B

After

Width:  |  Height:  |  Size: 83 B

View File

@ -1,10 +1,8 @@
{
"custom": {
"disconnected": 0,
"color": "#000",
"priority": 0,
"priority_string": "No active alarms",
"state": 0,
"state_string": "Normal"
"state": 0
},
"params": {
"tagProps": [
@ -21,13 +19,7 @@
]
},
"propConfig": {
"custom.disconnected": {
"binding": {
"config": {
"path": "view.custom.state"
},
"type": "property"
},
"custom.color": {
"persistent": true
},
"custom.priority": {
@ -65,15 +57,6 @@
},
"persistent": true
},
"custom.priority_string": {
"binding": {
"config": {
"expression": "case({view.custom.state},\r\n1, \"High\",\r\n0, \"No active alarms\",\r\n\"Unknown\")"
},
"type": "expr"
},
"persistent": true
},
"custom.state": {
"binding": {
"config": {
@ -95,15 +78,6 @@
},
"persistent": true
},
"custom.state_string": {
"binding": {
"config": {
"expression": "case({view.custom.state},\r\n1, \"Communication Faulted\",\r\n0, \"Normal\",\r\n\"Unknown\")"
},
"type": "expr"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "inout",
"persistent": true
@ -111,28 +85,83 @@
},
"props": {
"defaultSize": {
"height": 30,
"width": 41
"height": 40,
"width": 40
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
"name": "MCM"
},
"position": {
"height": 1,
"width": 1
},
"props": {
"text": "MCM",
"textStyle": {
"fontSize": "1vw",
"textAlign": "center"
"propConfig": {
"props.elements[1].fill.paint": {
"binding": {
"config": {
"path": "view.custom.color"
},
"type": "property"
}
}
},
"type": "ia.display.label"
"props": {
"elements": [
{
"id": "defs1",
"name": "defs1",
"type": "defs"
},
{
"fill": {},
"height": "47.417244",
"id": "beaconSquare",
"name": "beaconSquare",
"stroke": {
"paint": "#000000",
"width": "2.36887"
},
"type": "rect",
"width": "47.337795",
"x": "1.450278",
"y": "1.3708278"
},
{
"elements": [
{
"id": "tspan1",
"name": "tspan1",
"stroke": {
"width": "0.895573"
},
"text": "MCM",
"type": "tspan",
"x": "24.985008",
"y": "29.648235"
}
],
"fill": {
"paint": "#ffffff"
},
"fontSize": "16.1203px",
"id": "beaconLabel",
"name": "beaconLabel",
"stroke": {
"width": "0.895573"
},
"textAnchor": "middle",
"type": "text",
"x": "24.985008",
"y": "29.648235"
}
],
"viewBox": "0 0 50 50"
},
"type": "ia.shapes.svg"
}
],
"events": {
@ -192,7 +221,7 @@
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "if(\n {view.custom.disconnected} \u003d false,\n \"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority_string} + \", State: \" + {view.custom.state_string},\n \"Device Disconnected\"\n)\n"
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority} + \", State: \" + {view.custom.state}"
},
"type": "expr"
}
@ -204,20 +233,11 @@
},
"type": "property"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"expression": "if(\r\n {view.custom.disconnected},\r\n \u0027#808080\u0027,\r\n if(\r\n {view.custom.state} \u003d 1,\r\n \u0027#FF0000\u0027,\r\n if(\r\n {view.custom.state} \u003d 0,\r\n \u0027#00D900\u0027,\r\n \u0027#fff700\u0027\r\n )\r\n )\r\n)\r\n"
},
"type": "expr"
}
}
},
"props": {
"mode": "percent",
"style": {
"borderStyle": "solid",
"cursor": "pointer",
"overflow": "hidden"
}

View File

@ -1,16 +0,0 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": true,
"files": [
"view.json"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-12T08:08:45Z"
},
"lastModificationSignature": "acb6ad99720c692ae9a5c54cce56c15a9070656dbff87f70a9f06896e3dbdd87"
}
}

View File

@ -1,203 +0,0 @@
{
"custom": {
"state": 0,
"string": "Unknown"
},
"params": {
"tagProps": [
"/system/mcm01/test",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value",
"value"
]
},
"propConfig": {
"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": null,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": 1
},
{
"input": 0,
"output": 0
},
{
"input": 2,
"output": 2
},
{
"input": 3,
"output": 3
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.string": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "Unknown",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "OK"
},
{
"input": 2,
"output": "Faulted"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"persistent": true
},
"params.tagProps": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 20,
"width": 40
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 1,
"width": 1
},
"props": {
"style": {
"paddingBottom": 1,
"paddingLeft": 1,
"paddingRight": 1,
"paddingTop": 1
},
"text": "SIO",
"textStyle": {
"fontSize": "1vw",
"textAlign": "center",
"textTransform": "uppercase"
}
},
"type": "ia.display.label"
}
],
"events": {
"dom": {
"onClick": {
"config": {
"script": "\t#create tags lists for the device\n\tprops \u003d self.view.params.tagProps\n\ttags_table_dataset \u003d autStand.devices.getAllTags(self, props[0])\n\tsystem.perspective.openDock(\u0027Docked-East-Device\u0027,params\u003d{\u0027tagProps\u0027:props, \"tags\":tags_table_dataset})"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "root",
"tooltip": {
"enabled": true
}
},
"propConfig": {
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}\n"
},
"type": "expr"
}
},
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.alarm_filter.show_fio_safety"
},
"type": "property"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#808080",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "#00FF00"
},
{
"input": 2,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"borderStyle": "solid",
"cursor": "pointer",
"overflow": "hidden",
"userSelect": "none"
}
},
"type": "ia.container.coord"
}
}

View File

@ -4,13 +4,14 @@
"restricted": false,
"overridable": true,
"files": [
"view.json"
"view.json",
"thumbnail.png"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-09-12T08:08:56Z"
"timestamp": "2025-09-15T07:28:19Z"
},
"lastModificationSignature": "b479ea192933c631dadde3cf0dc57f9b8e4102b6d919c6dc55def5fa970e3440"
"lastModificationSignature": "f0056ffb75860516f91a762eadcd77e329ff942fc8951e7b17cab2749d8e60b0"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 B

View File

@ -1,11 +1,12 @@
{
"custom": {
"state": 0,
"string": "Inactive"
"color": "#C2C2C2",
"priority": "No Active Alarms",
"state": "Closed"
},
"params": {
"tagProps": [
"/system/mcm01/test",
"System/MCM02/Solenoid/NCS1_1_SOL48",
"value",
"value",
"value",
@ -18,7 +19,7 @@
]
},
"propConfig": {
"custom.state": {
"custom.color": {
"binding": {
"config": {
"fallbackDelay": 2.5,
@ -27,11 +28,128 @@
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/STATE"
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Color"
},
"transforms": [
{
"expression": "coalesce({value},0)",
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"fallback": "#000000",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "#C2C2C2"
},
{
"input": 1,
"output": "#FF0000"
},
{
"input": 2,
"output": "#FFA500"
},
{
"input": 3,
"output": "#0008FF"
},
{
"input": 4,
"output": "#00FF00"
},
{
"input": 5,
"output": "#FFF700"
},
{
"input": 6,
"output": "#87CEEB"
},
{
"input": 7,
"output": "#90EE90"
},
{
"input": 8,
"output": "#964B00"
},
{
"input": 9,
"output": "#FFFFFF"
},
{
"input": 10,
"output": "#000000"
},
{
"input": 11,
"output": "#8B0000"
},
{
"input": 12,
"output": "#808080"
},
{
"input": 13,
"output": "#8B8000"
},
{
"input": 14,
"output": "#006400"
},
{
"input": 15,
"output": "#FFFFC5"
},
{
"input": 16,
"output": "#00008B"
},
{
"input": 17,
"output": "#FF7276"
},
{
"input": 18,
"output": "#556B2F"
},
{
"input": 19,
"output": "#B43434"
},
{
"input": 20,
"output": "#4682B4"
},
{
"input": 21,
"output": "#FFD700"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.priority": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"0": "{view.params.tagProps[0]}",
"fc": "{session.custom.fc}"
},
"tagPath": "[{fc}_SCADA_TAG_PROVIDER]{0}/Priority"
},
"transforms": [
{
"expression": "coalesce({value},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
@ -39,20 +157,24 @@
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": 1
"input": 0,
"output": "No Active Alarms"
},
{
"input": 0,
"output": 0
"input": 1,
"output": "High"
},
{
"input": 2,
"output": 2
"output": "Medium"
},
{
"input": 3,
"output": 3
"output": "Low"
},
{
"input": 4,
"output": "Diagnostic"
}
],
"outputType": "scalar",
@ -63,34 +185,232 @@
},
"persistent": true
},
"custom.string": {
"custom.state": {
"binding": {
"config": {
"path": "view.custom.state"
"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},{view.params.forceFaultStatus},0)",
"type": "expression"
},
{
"fallback": "Unknown",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "Closed"
},
{
"input": 1,
"output": "Actuated"
},
{
"input": 2,
"output": "Faulted"
"output": "Communication Faulted"
},
{
"input": 0,
"output": "Inactive"
"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"
},
{
"input": 49,
"output": "Tipper Faulted"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
"type": "tag"
},
"persistent": true
},
@ -101,29 +421,83 @@
},
"props": {
"defaultSize": {
"height": 22,
"width": 25
"height": 20,
"width": 20
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
"name": "SOL"
},
"position": {
"height": 1,
"width": 1
},
"props": {
"text": "SOL",
"textStyle": {
"fontSize": "0.5vw",
"textAlign": "center",
"textTransform": "uppercase"
"propConfig": {
"props.elements[1].fill.paint": {
"binding": {
"config": {
"path": "view.custom.color"
},
"type": "property"
}
}
},
"type": "ia.display.label"
"props": {
"elements": [
{
"id": "defs1",
"name": "defs1",
"type": "defs"
},
{
"fill": {},
"height": "47.417244",
"id": "beaconSquare",
"name": "beaconSquare",
"stroke": {
"paint": "#000000",
"width": "2.36887"
},
"type": "rect",
"width": "47.337795",
"x": "1.450278",
"y": "1.3708278"
},
{
"elements": [
{
"id": "tspan1",
"name": "tspan1",
"stroke": {
"width": "1.15193"
},
"text": "SOL",
"type": "tspan",
"x": "24.958401",
"y": "31.781378"
}
],
"fill": {
"paint": "#ffffff"
},
"fontSize": "20.7347px",
"id": "beaconLabel",
"name": "beaconLabel",
"stroke": {
"width": "1.15193"
},
"textAnchor": "middle",
"type": "text",
"x": "24.958401",
"y": "31.781378"
}
],
"viewBox": "0 0 50 50"
},
"type": "ia.shapes.svg"
}
],
"events": {
@ -147,7 +521,7 @@
"meta.tooltip.text": {
"binding": {
"config": {
"expression": "\"Source Id: \" + {view.params.tagProps[0]} + \", Status: \" + {view.custom.string}\n"
"expression": "if(\n {view.custom.state} !\u003d \"Closed\",\n \"Source Id: \" + {view.params.tagProps[0]} + \", Priority: \" + {view.custom.priority} + \", State: \" + {view.custom.state},\n \"Device Disconnected\"\n)\n"
},
"type": "expr"
}
@ -159,41 +533,12 @@
},
"type": "property"
}
},
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.state"
},
"transforms": [
{
"fallback": "#808080",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "#00FF00"
},
{
"input": 2,
"output": "#FF0000"
}
],
"outputType": "color",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"mode": "percent",
"style": {
"borderStyle": "solid",
"cursor": "pointer",
"overflow": "hidden",
"userSelect": "none"
"cursor": "pointer"
}
},
"type": "ia.container.coord"

View File

@ -28,3 +28,5 @@ Starting conversion: 20250912:16.11.04
Conversion finished. Elapsed time: 10 ms
Starting conversion: 20250913:14.31.52
Conversion finished. Elapsed time: 10 ms
Starting conversion: 20250915:10.46.20
Conversion finished. Elapsed time: 10 ms