1194 lines
47 KiB
JSON
1194 lines
47 KiB
JSON
{
|
|
"block_name": "TestLAD",
|
|
"block_number": 2,
|
|
"language": "LAD",
|
|
"block_comment": "",
|
|
"interface": {
|
|
"Temp": [
|
|
{
|
|
"name": "All_Auto_RETVAL",
|
|
"datatype": "Int"
|
|
},
|
|
{
|
|
"name": "Reset_SP_Word_RETVAL",
|
|
"datatype": "Int"
|
|
},
|
|
{
|
|
"name": "mResetWaterTot",
|
|
"datatype": "Bool"
|
|
},
|
|
{
|
|
"name": "mResetSyrupTot",
|
|
"datatype": "Bool"
|
|
},
|
|
{
|
|
"name": "mResetCO2Tot",
|
|
"datatype": "Bool"
|
|
},
|
|
{
|
|
"name": "mResetProductTot",
|
|
"datatype": "Bool"
|
|
},
|
|
{
|
|
"name": "Block_Move_Err",
|
|
"datatype": "Int"
|
|
}
|
|
],
|
|
"Return": [
|
|
{
|
|
"name": "Ret_Val",
|
|
"datatype": "Void"
|
|
}
|
|
]
|
|
},
|
|
"networks": [
|
|
{
|
|
"id": "9",
|
|
"title": "Manual Syrup Drain Valve Open - Operator Alarm",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gSyrupRoomEn\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gSyrupRoomEn\""
|
|
},
|
|
{
|
|
"instruction_uid": "31",
|
|
"uid": "31",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_HVP301_Aux\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "30",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")"
|
|
},
|
|
{
|
|
"instruction_uid": "32",
|
|
"uid": "32",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "31",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\")"
|
|
},
|
|
{
|
|
"instruction_uid": "33",
|
|
"uid": "33",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "32",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\") AND \"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\""
|
|
},
|
|
{
|
|
"instruction_uid": "34",
|
|
"uid": "34",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Procedure_Variables\".\"Syr_RunOut\".\"Done\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "33",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: ((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\") AND \"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\") AND (NOT \"Procedure_Variables\".\"Syr_RunOut\".\"Done\")"
|
|
},
|
|
{
|
|
"instruction_uid": "35",
|
|
"uid": "35",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "26",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlenderCIPMode\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "31",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\""
|
|
},
|
|
{
|
|
"instruction_uid": "36",
|
|
"uid": "36",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "27",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_CIP_CIPRunning\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "35",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: ((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\") AND \"gIN_CIP_CIPRunning\""
|
|
},
|
|
{
|
|
"instruction_uid": "37",
|
|
"uid": "37",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "28",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Procedure_Variables\".\"Blender_Run\".\"Running\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "36",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\") AND \"gIN_CIP_CIPRunning\") AND \"Procedure_Variables\".\"Blender_Run\".\"Running\""
|
|
},
|
|
{
|
|
"instruction_uid": "38",
|
|
"uid": "38",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "37",
|
|
"source_pin": "out"
|
|
},
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "34",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 38: ((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\") AND \"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\") AND (NOT \"Procedure_Variables\".\"Syr_RunOut\".\"Done\") OR ((((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\") AND \"gIN_CIP_CIPRunning\") AND \"Procedure_Variables\".\"Blender_Run\".\"Running\")"
|
|
},
|
|
{
|
|
"instruction_uid": "39",
|
|
"uid": "39",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "29",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gHVP301_Open\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "38",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gHVP301_Open\" := ((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\") AND \"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\") AND (NOT \"Procedure_Variables\".\"Syr_RunOut\".\"Done\") OR ((((\"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")) AND \"gBlenderCIPMode\") AND \"gIN_CIP_CIPRunning\") AND \"Procedure_Variables\".\"Blender_Run\".\"Running\");"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "1A",
|
|
"title": "Manual Syrup Drain Valve Open - Operator Alarm",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_HVM302_Aux\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gIN_HVM302_Aux\""
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Sd",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
},
|
|
"tv": {
|
|
"uid": "23",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#1S"
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_uid": "25",
|
|
"source_instruction_type": "Contact",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Coil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gHVM302_Open\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Sd",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "q"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "2B",
|
|
"title": "ResetTotalizer",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlendResetTotalizer\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gBlendResetTotalizer\""
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Se",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
},
|
|
"tv": {
|
|
"uid": "23",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_uid": "24",
|
|
"source_instruction_type": "Contact",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "3C",
|
|
"title": "ResetWaterTot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTN301_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gFTN301_ResetTot\""
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetTotalizerTmr\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
},
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 28: \"gFTN301_ResetTot\" OR \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Se",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
},
|
|
"tv": {
|
|
"uid": "24",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_uid": "28",
|
|
"source_instruction_type": "O",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Coil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "LocalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetWaterTot\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Se",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "q"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "4D",
|
|
"title": "ResetCO2Tot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTP302_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gFTP302_ResetTot\""
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetTotalizerTmr\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
},
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 29: \"gFTP302_ResetTot\" OR \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Se",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "out"
|
|
},
|
|
"tv": {
|
|
"uid": "24",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_uid": "29",
|
|
"source_instruction_type": "O",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "31",
|
|
"uid": "31",
|
|
"type": "Contact",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gSyrupRoomEn\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Se",
|
|
"source_instruction_uid": "30",
|
|
"source_pin": "q"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "32",
|
|
"uid": "32",
|
|
"type": "Coil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "26",
|
|
"scope": "LocalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetSyrupTot\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "31",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "5E",
|
|
"title": "ResetProductTot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTM303_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gFTM303_ResetTot\""
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetTotalizerTmr\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
},
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 28: \"gFTM303_ResetTot\" OR \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Se",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
},
|
|
"tv": {
|
|
"uid": "24",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_uid": "28",
|
|
"source_instruction_type": "O",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Coil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "LocalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetCO2Tot\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Se",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "q"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "6F",
|
|
"title": "ResetCO2Tot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gProductMFMResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gProductMFMResetTot\""
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetTotalizerTmr\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
},
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 28: \"gProductMFMResetTot\" OR \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Se",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
},
|
|
"tv": {
|
|
"uid": "24",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_uid": "28",
|
|
"source_instruction_type": "O",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Coil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "LocalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetProductTot\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Se",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "q"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "80",
|
|
"title": "Mod Copy Recipe",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "33",
|
|
"uid": "33",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\""
|
|
},
|
|
{
|
|
"instruction_uid": "34",
|
|
"uid": "34",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mFP_Recip_Main_Page\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "33",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\" AND (NOT \"mFP_Recip_Main_Page\")"
|
|
},
|
|
{
|
|
"instruction_uid": "35",
|
|
"uid": "35",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mAux_FP_M700_1\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "34",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"mAux_FP_M700_1\" := \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\" AND (NOT \"mFP_Recip_Main_Page\");"
|
|
},
|
|
{
|
|
"instruction_uid": "36",
|
|
"uid": "36",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mFP_Recip_Main_Page\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "33",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"mFP_Recip_Main_Page\" := \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\";"
|
|
},
|
|
{
|
|
"instruction_uid": "37",
|
|
"uid": "37",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\""
|
|
},
|
|
{
|
|
"instruction_uid": "38",
|
|
"uid": "38",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "26",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "37",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\" AND \"HMI_Variables_Cmd\".\"Recipe\".\"Edit\""
|
|
},
|
|
{
|
|
"instruction_uid": "39",
|
|
"uid": "39",
|
|
"type": "SdCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "27",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"T_Pulse_Recipe_Edit\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "38",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "40",
|
|
"uid": "40",
|
|
"type": "Contact",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "29",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"T_Pulse_Recipe_Edit\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "SdCoil",
|
|
"source_instruction_uid": "39",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "41",
|
|
"uid": "41",
|
|
"type": "RCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "30",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "40",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "42",
|
|
"uid": "42",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "31",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mAux_FP_M700_1\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"mAux_FP_M700_1\""
|
|
},
|
|
{
|
|
"instruction_uid": "43",
|
|
"uid": "43",
|
|
"type": "SCoil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "32",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "42",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"mAux_FP_M700_1\" THEN\n \"HMI_Variables_Cmd\".\"Recipe\".\"Edit\" := TRUE;\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
}
|
|
]
|
|
} |