Simatic_XML_Parser_to_SCL/BlenderRun_ProdTime_simplif...

981 lines
35 KiB
JSON

{
"block_name": "BlenderRun_ProdTime",
"block_number": 2040,
"language": "LAD",
"interface": {},
"networks": [
{
"id": "9",
"title": "",
"logic": [
{
"instruction_uid": "26",
"type": "Contact",
"inputs": {
"operand": {
"uid": "21",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in": {
"type": "powerrail"
}
},
"outputs": {}
},
{
"instruction_uid": "27",
"type": "Contact",
"inputs": {
"operand": {
"uid": "22",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in": {
"type": "connection",
"source_instruction_uid": "26",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {}
},
{
"instruction_uid": "28",
"type": "Add",
"inputs": {
"in1": {
"uid": "23",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "24",
"scope": "LiteralConstant",
"type": "unknown_access"
},
"en": {
"type": "connection",
"source_instruction_uid": "27",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {
"out": [
{
"uid": "25",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
}
]
},
{
"id": "1A",
"title": "",
"logic": [
{
"instruction_uid": "24",
"type": "Contact",
"inputs": {
"operand": {
"uid": "21",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in": {
"type": "powerrail"
}
},
"outputs": {}
},
{
"instruction_uid": "25",
"type": "Move",
"inputs": {
"in": {
"uid": "22",
"scope": "LiteralConstant",
"type": "unknown_access"
},
"en": {
"type": "connection",
"source_instruction_uid": "24",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {
"out1": [
{
"uid": "23",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
}
]
},
{
"id": "2B",
"title": "",
"logic": [
{
"instruction_uid": "26",
"type": "Contact",
"inputs": {
"operand": {
"uid": "21",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in": {
"type": "powerrail"
}
},
"outputs": {}
},
{
"instruction_uid": "27",
"type": "Contact",
"inputs": {
"operand": {
"uid": "22",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in": {
"type": "connection",
"source_instruction_uid": "26",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {}
},
{
"instruction_uid": "28",
"type": "Add",
"inputs": {
"in1": {
"uid": "23",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "24",
"scope": "LiteralConstant",
"type": "unknown_access"
},
"en": {
"type": "connection",
"source_instruction_uid": "27",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {
"out": [
{
"uid": "25",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
}
]
},
{
"id": "3C",
"title": "",
"logic": [
{
"instruction_uid": "24",
"type": "Eq",
"inputs": {
"in1": {
"uid": "21",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "22",
"scope": "LiteralConstant",
"type": "unknown_access"
},
"pre": {
"type": "powerrail"
}
},
"outputs": {}
},
{
"instruction_uid": "25",
"type": "Coil",
"inputs": {
"in": {
"type": "connection",
"source_instruction_uid": "24",
"source_instruction_type": "Eq",
"source_pin": "out"
},
"operand": {
"uid": "23",
"scope": "LocalVariable",
"type": "unknown_access"
}
},
"outputs": {}
}
]
},
{
"id": "4D",
"title": "",
"logic": [
{
"instruction_uid": "27",
"type": "Contact",
"inputs": {
"operand": {
"uid": "21",
"scope": "LocalVariable",
"type": "unknown_access"
},
"in": {
"type": "powerrail"
}
},
"outputs": {}
},
{
"instruction_uid": "28",
"type": "Move",
"inputs": {
"in": {
"uid": "22",
"scope": "LiteralConstant",
"type": "unknown_access"
},
"en": {
"type": "connection",
"source_instruction_uid": "27",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {
"out1": [
{
"uid": "23",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
},
{
"instruction_uid": "29",
"type": "Add",
"inputs": {
"in1": {
"uid": "24",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "25",
"scope": "LiteralConstant",
"type": "unknown_access"
}
},
"outputs": {
"out": [
{
"uid": "26",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
}
]
},
{
"id": "5E",
"title": "",
"logic": [
{
"instruction_uid": "24",
"type": "Eq",
"inputs": {
"in1": {
"uid": "21",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "22",
"scope": "LiteralConstant",
"type": "unknown_access"
},
"pre": {
"type": "powerrail"
}
},
"outputs": {}
},
{
"instruction_uid": "25",
"type": "Coil",
"inputs": {
"in": {
"type": "connection",
"source_instruction_uid": "24",
"source_instruction_type": "Eq",
"source_pin": "out"
},
"operand": {
"uid": "23",
"scope": "LocalVariable",
"type": "unknown_access"
}
},
"outputs": {}
}
]
},
{
"id": "6F",
"title": "",
"logic": [
{
"instruction_uid": "30",
"type": "Contact",
"inputs": {
"operand": {
"uid": "21",
"scope": "LocalVariable",
"type": "unknown_access"
},
"in": {
"type": "powerrail"
}
},
"outputs": {}
},
{
"instruction_uid": "31",
"type": "Move",
"inputs": {
"in": {
"uid": "22",
"scope": "LiteralConstant",
"type": "unknown_access"
},
"en": {
"type": "connection",
"source_instruction_uid": "30",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {
"out1": [
{
"uid": "23",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
},
{
"instruction_uid": "32",
"type": "Add",
"inputs": {
"in1": {
"uid": "24",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "25",
"scope": "LiteralConstant",
"type": "unknown_access"
}
},
"outputs": {
"out": [
{
"uid": "26",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
},
{
"instruction_uid": "33",
"type": "Add",
"inputs": {
"in1": {
"uid": "27",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "28",
"scope": "LiteralConstant",
"type": "unknown_access"
}
},
"outputs": {
"out": [
{
"uid": "29",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
}
]
},
{
"id": "80",
"title": "",
"logic": [
{
"instruction_uid": "29",
"type": "Contact",
"inputs": {
"operand": {
"uid": "21",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in": {
"type": "powerrail"
}
},
"outputs": {}
},
{
"instruction_uid": "30",
"type": "Contact",
"inputs": {
"operand": {
"uid": "22",
"scope": "GlobalVariable",
"type": "unknown_access"
}
},
"outputs": {}
},
{
"instruction_uid": "31",
"type": "O",
"inputs": {
"in1": {
"type": "connection",
"source_instruction_uid": "29",
"source_instruction_type": "Contact",
"source_pin": "out"
},
"in2": {
"type": "connection",
"source_instruction_uid": "30",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {}
},
{
"instruction_uid": "32",
"type": "Move",
"inputs": {
"in": {
"uid": "23",
"scope": "LiteralConstant",
"type": "unknown_access"
},
"en": {
"type": "connection",
"source_instruction_uid": "31",
"source_instruction_type": "O",
"source_pin": "out"
}
},
"outputs": {
"out1": [
{
"uid": "24",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
},
{
"instruction_uid": "33",
"type": "Move",
"inputs": {
"in": {
"uid": "25",
"scope": "LiteralConstant",
"type": "unknown_access"
}
},
"outputs": {
"out1": [
{
"uid": "26",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
},
{
"instruction_uid": "34",
"type": "Move",
"inputs": {
"in": {
"uid": "27",
"scope": "LiteralConstant",
"type": "unknown_access"
}
},
"outputs": {
"out1": [
{
"uid": "28",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
}
]
},
{
"id": "91",
"title": "",
"logic": [
{
"instruction_uid": "26",
"type": "Contact",
"inputs": {
"operand": {
"uid": "21",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in": {
"type": "powerrail"
}
},
"outputs": {}
},
{
"instruction_uid": "27",
"type": "Contact",
"inputs": {
"operand": {
"uid": "22",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in": {
"type": "connection",
"source_instruction_uid": "26",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {}
},
{
"instruction_uid": "28",
"type": "Add",
"inputs": {
"in1": {
"uid": "23",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "24",
"scope": "LiteralConstant",
"type": "unknown_access"
},
"en": {
"type": "connection",
"source_instruction_uid": "27",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {
"out": [
{
"uid": "25",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
}
]
},
{
"id": "A2",
"title": "",
"logic": [
{
"instruction_uid": "35",
"type": "Convert",
"inputs": {
"in": {
"uid": "21",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"en": {
"type": "powerrail"
}
},
"outputs": {
"out": [
{
"uid": "22",
"scope": "LocalVariable",
"type": "unknown_access"
}
]
}
},
{
"instruction_uid": "36",
"type": "Mod",
"inputs": {
"en": {
"type": "connection",
"source_instruction_uid": "35",
"source_instruction_type": "Convert",
"source_pin": "eno"
},
"in1": {
"uid": "23",
"scope": "LocalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "24",
"scope": "TypedConstant",
"type": "unknown_access"
}
},
"outputs": {
"out": [
{
"uid": "25",
"scope": "LocalVariable",
"type": "unknown_access"
}
]
}
},
{
"instruction_uid": "37",
"type": "Eq",
"inputs": {
"pre": {
"type": "connection",
"source_instruction_uid": "36",
"source_instruction_type": "Mod",
"source_pin": "eno"
},
"in1": {
"uid": "26",
"scope": "LocalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "27",
"scope": "TypedConstant",
"type": "unknown_access"
}
},
"outputs": {}
},
{
"instruction_uid": "38",
"type": "Contact",
"inputs": {
"in": {
"type": "connection",
"source_instruction_uid": "37",
"source_instruction_type": "Eq",
"source_pin": "out"
},
"operand": {
"uid": "28",
"scope": "GlobalVariable",
"type": "unknown_access"
}
},
"outputs": {}
},
{
"instruction_uid": "39",
"type": "Contact",
"inputs": {
"operand": {
"uid": "29",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in": {
"type": "connection",
"source_instruction_uid": "38",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {}
},
{
"instruction_uid": "40",
"type": "Add",
"inputs": {
"in1": {
"uid": "30",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "31",
"scope": "LiteralConstant",
"type": "unknown_access"
},
"en": {
"type": "connection",
"source_instruction_uid": "39",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {
"out": [
{
"uid": "32",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
},
{
"instruction_uid": "41",
"type": "PBox",
"inputs": {
"bit": {
"uid": "33",
"scope": "GlobalVariable",
"type": "unknown_access"
}
},
"outputs": {}
},
{
"instruction_uid": "42",
"type": "Coil",
"inputs": {
"in": {
"type": "connection",
"source_instruction_uid": "41",
"source_instruction_type": "PBox",
"source_pin": "out"
},
"operand": {
"uid": "34",
"scope": "LocalVariable",
"type": "unknown_access"
}
},
"outputs": {}
}
]
},
{
"id": "B3",
"title": "",
"logic": [
{
"instruction_uid": "32",
"type": "Contact",
"inputs": {
"operand": {
"uid": "21",
"scope": "LocalVariable",
"type": "unknown_access"
},
"in": {
"type": "powerrail"
}
},
"outputs": {}
},
{
"instruction_uid": "33",
"type": "Convert",
"inputs": {
"in": {
"uid": "22",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"en": {
"type": "connection",
"source_instruction_uid": "32",
"source_instruction_type": "Contact",
"source_pin": "out"
}
},
"outputs": {
"out": [
{
"uid": "23",
"scope": "LocalVariable",
"type": "unknown_access"
}
]
}
},
{
"instruction_uid": "34",
"type": "Mod",
"inputs": {
"en": {
"type": "connection",
"source_instruction_uid": "33",
"source_instruction_type": "Convert",
"source_pin": "eno"
},
"in1": {
"uid": "24",
"scope": "LocalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "25",
"scope": "TypedConstant",
"type": "unknown_access"
}
},
"outputs": {
"out": [
{
"uid": "26",
"scope": "LocalVariable",
"type": "unknown_access"
}
]
}
},
{
"instruction_uid": "35",
"type": "Eq",
"inputs": {
"pre": {
"type": "connection",
"source_instruction_uid": "34",
"source_instruction_type": "Mod",
"source_pin": "eno"
},
"in1": {
"uid": "27",
"scope": "LocalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "28",
"scope": "TypedConstant",
"type": "unknown_access"
}
},
"outputs": {}
},
{
"instruction_uid": "36",
"type": "Add",
"inputs": {
"en": {
"type": "connection",
"source_instruction_uid": "35",
"source_instruction_type": "Eq",
"source_pin": "out"
},
"in1": {
"uid": "29",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"in2": {
"uid": "30",
"scope": "LiteralConstant",
"type": "unknown_access"
}
},
"outputs": {
"out": [
{
"uid": "31",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
}
]
},
{
"id": "C4",
"title": "",
"logic": [
{
"instruction_uid": "23",
"type": "Move",
"inputs": {
"in": {
"uid": "21",
"scope": "GlobalVariable",
"type": "unknown_access"
},
"en": {
"type": "powerrail"
}
},
"outputs": {
"out1": [
{
"uid": "22",
"scope": "GlobalVariable",
"type": "unknown_access"
}
]
}
}
]
}
]
}