RTU/test/config/PLC/Reclose_logic.json

122 lines
2.5 KiB
JSON

{
"_doc": "Reclose_logic.txt → JSON 分层配置",
"name": "PLC Logic",
"key": "1783070862205",
"checksum": "3486BE04",
"scale": "23节点 / 20连线 / 3条链",
"chains": [
{
"gates_count": 1,
"logic": {
"type": "OR",
"id": 0,
"from": [
{
"no": 59,
"saddr": "self_ptl.st.55"
},
{
"no": 60,
"saddr": "self_ptl.st.56"
}
],
"to": {
"no": 1361,
"saddr": "plc.st.out.1"
}
}
},
{
"gates_count": 1,
"logic": {
"type": "NOT",
"id": 0,
"from": [
{
"no": 61,
"saddr": "self_ptl.st.57"
}
],
"to": {
"no": 1362,
"saddr": "plc.st.out.2"
}
}
},
{
"gates_count": 4,
"logic": {
"type": "NOT",
"id": 1,
"gates_in": {
"type": "OR",
"id": 1,
"from": [
{
"no": 71,
"saddr": "self_ptl.st.67"
}
],
"gates_in": {
"type": "AND",
"id": 1,
"from": [
{
"no": 70,
"saddr": "self_ptl.st.66"
}
],
"gates_in": {
"type": "AND",
"id": 0,
"from": [
{
"no": 66,
"saddr": "self_ptl.st.62"
},
{
"no": 67,
"saddr": "self_ptl.st.63"
},
{
"no": 68,
"saddr": "self_ptl.st.64"
},
{
"no": 69,
"saddr": "self_ptl.st.65"
}
],
"to": [
{
"no": 1363,
"saddr": "plc.st.out.3"
},
{
"no": 1364,
"saddr": "plc.st.out.4"
},
{
"no": 1365,
"saddr": "plc.st.out.5"
}
]
},
"to": {
"no": 1366,
"saddr": "plc.st.out.6"
}
},
"to": {
"no": 1367,
"saddr": "plc.st.out.7"
}
},
"to": {
"no": 1368,
"saddr": "plc.st.out.8"
}
}
}
]
}