4099 lines
157 KiB
JSON
4099 lines
157 KiB
JSON
{
|
|
"block_name": "BlenderCtrl__Main",
|
|
"block_number": 2000,
|
|
"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": "Clock Generation",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "Clock Signal",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Clock_Signal();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1A",
|
|
"title": "Machine Init",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "BlenderCtrl_MachineInit",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderCtrl_MachineInit();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2B",
|
|
"title": "Filler Head",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"AUX FALSE\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"AUX FALSE\""
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "BLKMOV",
|
|
"template_values": {
|
|
"blk_type": "Type"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"SRCBLK": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_PID\".\"PPM303\""
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"DSTBLK": [
|
|
{
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Filler_Head_Variables\".\"FillerHead\""
|
|
}
|
|
],
|
|
"RET_VAL": [
|
|
{
|
|
"uid": "23",
|
|
"scope": "LocalVariable",
|
|
"type": "variable",
|
|
"name": "\"Block_Move_Err\""
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3C",
|
|
"title": "Emergency Pressed",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_VoltageOk\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gIN_VoltageOk\""
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "NBox",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"bit": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"M19000\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Coil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "NBox",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gEmergencyPressed\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "4D",
|
|
"title": "Air and CO2 pressure ok and auxiliary ok",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_LinePressCO2Ok\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gIN_LinePressCO2Ok\""
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gWorkshopTest\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gWorkshopTest\""
|
|
},
|
|
{
|
|
"instruction_uid": "31",
|
|
"uid": "31",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "30",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gWorkshop_Co2_Presence\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")"
|
|
},
|
|
{
|
|
"instruction_uid": "32",
|
|
"uid": "32",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "31",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gWorkshop_CIP_Signals\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")"
|
|
},
|
|
{
|
|
"instruction_uid": "33",
|
|
"uid": "33",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "32",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 33: \"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")"
|
|
},
|
|
{
|
|
"instruction_uid": "34",
|
|
"uid": "34",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "33",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Digital\".\"_PAL_S11\".\"Filtered\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND \"HMI_Digital\".\"_PAL_S11\".\"Filtered\""
|
|
},
|
|
{
|
|
"instruction_uid": "35",
|
|
"uid": "35",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "26",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Disable_Bit\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (NOT \"Disable_Bit\")"
|
|
},
|
|
{
|
|
"instruction_uid": "36",
|
|
"uid": "36",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "34",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "35",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 36: ((\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND \"HMI_Digital\".\"_PAL_S11\".\"Filtered\") OR (NOT \"Disable_Bit\")"
|
|
},
|
|
{
|
|
"instruction_uid": "37",
|
|
"uid": "37",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "36",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "27",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_VoltageOk\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: ((\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND \"HMI_Digital\".\"_PAL_S11\".\"Filtered\") OR (NOT \"Disable_Bit\") AND \"gIN_VoltageOk\""
|
|
},
|
|
{
|
|
"instruction_uid": "38",
|
|
"uid": "38",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "37",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "28",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlenderSuppliesOk\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gBlenderSuppliesOk\" := ((\"gIN_LinePressCO2Ok\" OR (\"gWorkshopTest\" AND (NOT \"gWorkshop_Co2_Presence\")) AND (NOT \"gWorkshop_CIP_Signals\")) AND \"HMI_Digital\".\"_PAL_S11\".\"Filtered\") OR (NOT \"Disable_Bit\") AND \"gIN_VoltageOk\";"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "5E",
|
|
"title": "Blender State Num",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Move_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"uid": "21",
|
|
"scope": "LiteralConstant",
|
|
"type": "constant",
|
|
"datatype": "Int",
|
|
"value": 0
|
|
},
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out1": [
|
|
{
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"Procedures\".\"BlenderStateNum\""
|
|
}
|
|
]
|
|
},
|
|
"scl": "\"HMI_Variables_Status\".\"Procedures\".\"BlenderStateNum\" := 0;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "6F",
|
|
"title": "Delay Power On",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"FirstScan\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"FirstScan\""
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Se",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"tv": {
|
|
"uid": "23",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_uid": "24",
|
|
"source_instruction_type": "Contact",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "80",
|
|
"title": "Production Mode",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\""
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlenderProdMode\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gBlenderProdMode\" := \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\";"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "91",
|
|
"title": "CIp Mode",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (NOT \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\")"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlenderCIPMode\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gBlenderCIPMode\" := (NOT \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\");"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Move_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"uid": "23",
|
|
"scope": "LiteralConstant",
|
|
"type": "constant",
|
|
"datatype": "Int",
|
|
"value": 19
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out1": [
|
|
{
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"Procedures\".\"BlenderStateNum\""
|
|
}
|
|
]
|
|
},
|
|
"scl": "\"HMI_Variables_Status\".\"Procedures\".\"BlenderStateNum\" := 19;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "A2",
|
|
"title": "Error Faults",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"AUX FALSE\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (NOT \"AUX FALSE\")"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "RCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"Meters\".\"QTM3012_PRD_Fault\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "RCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gmPDS2000_Error_Fault\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "RCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"Meters\".\"QTM3012_PRD_Run\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "RCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gNoFreezeProductMeter\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "B3",
|
|
"title": "Filler Bottle Count Used to push Product",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"System_RunOut_Variables\".\"ProdPipeRunOutWaterCount\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (NOT \"System_RunOut_Variables\".\"ProdPipeRunOutWaterCount\")"
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"System_RunOut_Variables\".\"ProdPipeRunOutFillerBott\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"System_RunOut_Variables\".\"ProdPipeRunOutFillerBott\" := (NOT \"System_RunOut_Variables\".\"ProdPipeRunOutWaterCount\");"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "C4",
|
|
"title": "Water Bypass Enable",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\""
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\""
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\" AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\")"
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 30: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\" OR (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\" AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\"))"
|
|
},
|
|
{
|
|
"instruction_uid": "31",
|
|
"uid": "31",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "30",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Blender_Variables_Pers\".\"gWaterRecipe\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\" OR (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\" AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\"))) AND \"Blender_Variables_Pers\".\"gWaterRecipe\""
|
|
},
|
|
{
|
|
"instruction_uid": "32",
|
|
"uid": "32",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "31",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Blender_Variables_Pers\".\"gCarboStillRecipe\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: ((\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\" OR (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\" AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\"))) AND \"Blender_Variables_Pers\".\"gWaterRecipe\") AND (NOT \"Blender_Variables_Pers\".\"gCarboStillRecipe\")"
|
|
},
|
|
{
|
|
"instruction_uid": "33",
|
|
"uid": "33",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "32",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "26",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gStillWaterByPassEn\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gStillWaterByPassEn\" := ((\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\" OR (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\" AND (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\"))) AND \"Blender_Variables_Pers\".\"gWaterRecipe\") AND (NOT \"Blender_Variables_Pers\".\"gCarboStillRecipe\");"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "D5",
|
|
"title": "Still Water Bypass",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\""
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\" AND \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\""
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Blender_Variables_Pers\".\"gWaterRecipe\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\" AND \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\") AND \"Blender_Variables_Pers\".\"gWaterRecipe\""
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Blender_Variables_Pers\".\"gCarboStillRecipe\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: ((\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\" AND \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\") AND \"Blender_Variables_Pers\".\"gWaterRecipe\") AND (NOT \"Blender_Variables_Pers\".\"gCarboStillRecipe\")"
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlendFiStillWaterByPass\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gBlendFiStillWaterByPass\" := ((\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\" AND \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\") AND \"Blender_Variables_Pers\".\"gWaterRecipe\") AND (NOT \"Blender_Variables_Pers\".\"gCarboStillRecipe\");"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "E6",
|
|
"title": "Manual Syrup Drain Valve Open - Operator Alarm",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gSyrupRoomEn\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gSyrupRoomEn\""
|
|
},
|
|
{
|
|
"instruction_uid": "31",
|
|
"uid": "31",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "30",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_HVP301_Aux\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gSyrupRoomEn\" AND (NOT \"gIN_HVP301_Aux\")"
|
|
},
|
|
{
|
|
"instruction_uid": "32",
|
|
"uid": "32",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "31",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\""
|
|
}
|
|
},
|
|
"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": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "32",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\""
|
|
}
|
|
},
|
|
"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": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "33",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Procedure_Variables\".\"Syr_RunOut\".\"Done\""
|
|
}
|
|
},
|
|
"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\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gBlenderCIPMode\""
|
|
},
|
|
{
|
|
"instruction_uid": "36",
|
|
"uid": "36",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "35",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "27",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_CIP_CIPRunning\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gBlenderCIPMode\" AND \"gIN_CIP_CIPRunning\""
|
|
},
|
|
{
|
|
"instruction_uid": "37",
|
|
"uid": "37",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "36",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "28",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Procedure_Variables\".\"Blender_Run\".\"Running\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (\"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": {
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "34",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "37",
|
|
"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 ((\"gBlenderCIPMode\" AND \"gIN_CIP_CIPRunning\") AND \"Procedure_Variables\".\"Blender_Run\".\"Running\")"
|
|
},
|
|
{
|
|
"instruction_uid": "39",
|
|
"uid": "39",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "38",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "29",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gHVP301_Open\""
|
|
}
|
|
},
|
|
"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 ((\"gBlenderCIPMode\" AND \"gIN_CIP_CIPRunning\") AND \"Procedure_Variables\".\"Blender_Run\".\"Running\");"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "F7",
|
|
"title": "Manual Syrup Drain Valve Open - Operator Alarm",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_HVM302_Aux\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gIN_HVM302_Aux\""
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Sd",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"tv": {
|
|
"uid": "22",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#1S"
|
|
},
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
},
|
|
"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": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Sd",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "q"
|
|
},
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gHVM302_Open\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "108",
|
|
"title": "Maselli Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\""
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Eq_scl",
|
|
"template_values": {
|
|
"SrcType": "Type"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"pre": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
},
|
|
"in1": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\""
|
|
},
|
|
"in2": {
|
|
"uid": "23",
|
|
"scope": "LiteralConstant",
|
|
"type": "constant",
|
|
"datatype": "Int",
|
|
"value": 6
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Comparison Eq 25: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 6"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "Maselli_PA_Control",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Eq",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 6 THEN\n Maselli_PA_Control();\nEND_IF;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "119",
|
|
"title": "mPDS Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\""
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Eq_scl",
|
|
"template_values": {
|
|
"SrcType": "Type"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"pre": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
},
|
|
"in1": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\""
|
|
},
|
|
"in2": {
|
|
"uid": "23",
|
|
"scope": "LiteralConstant",
|
|
"type": "constant",
|
|
"datatype": "Int",
|
|
"value": 5
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Comparison Eq 25: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 5"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "mPDS_PA_Control",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Eq",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 5 THEN\n mPDS_PA_Control();\nEND_IF;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "12A",
|
|
"title": "mPDS Syrup Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "22",
|
|
"uid": "22",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_SyrBrixMeter\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_SyrBrixMeter\""
|
|
},
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "mPDS_SYR_PA_Control",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "22",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_SyrBrixMeter\" THEN\n mPDS_SYR_PA_Control();\nEND_IF;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "13B",
|
|
"title": "Co2 Analog Input",
|
|
"comment": "GetProdBrixCO2_FromAnalogIn\n CALL \"GetProdBrixCO2_FromAn\"\n NOP 0",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\""
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Eq_scl",
|
|
"template_values": {
|
|
"SrcType": "Type"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"pre": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
},
|
|
"in1": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\""
|
|
},
|
|
"in2": {
|
|
"uid": "23",
|
|
"scope": "LiteralConstant",
|
|
"type": "constant",
|
|
"datatype": "Int",
|
|
"value": 3
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Comparison Eq 25: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 3"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "GetProdBrixCO2_Anal_Inpt",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Eq",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\" = 3 THEN\n GetProdBrixCO2_Anal_Inpt();\nEND_IF;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "14C",
|
|
"title": "Quality",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "ProductQuality",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "ProductQuality();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "15D",
|
|
"title": "Input Data",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FB_scl",
|
|
"block_name": "Input",
|
|
"block_type": "FB",
|
|
"instance_db": "\"Input_Data\"",
|
|
"instance_scope": "GlobalVariable",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"Input_Data\"();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "16E",
|
|
"title": "Sel Brix Source Check",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "SelCheckBrixSource",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "SelCheckBrixSource();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "17F",
|
|
"title": "Check Water Cooling System Temperature",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "22",
|
|
"uid": "22",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_InverterRecirPumpPPM306\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_InverterRecirPumpPPM306\""
|
|
},
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "CTRLCoolingSystem",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "22",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_InverterRecirPumpPPM306\" THEN\n CTRLCoolingSystem();\nEND_IF;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "190",
|
|
"title": "Tank Level",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "TankLevel",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "TankLevel();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1A1",
|
|
"title": "Production ONS",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlenderProdMode\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gBlenderProdMode\""
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "PBox_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"bit": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"M19001\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// // PBox 26 - Passing memory bit: \"M19001\""
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "PBox",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mDelayPowerOnTmr\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"M19001\" AND (NOT \"mDelayPowerOnTmr\")"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gProductionONS\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gProductionONS\" := \"M19001\" AND (NOT \"mDelayPowerOnTmr\");"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1B2",
|
|
"title": "Blender Prod Mode Init",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gProductionONS\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gProductionONS\""
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\""
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 26: \"gProductionONS\" OR \"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\""
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Blender_Variables_Pers\".\"gBlenderStarted\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (\"gProductionONS\" OR \"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\") AND (NOT \"Blender_Variables_Pers\".\"gBlenderStarted\")"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "BlenderCtrl_ProdModeInit",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF (\"gProductionONS\" OR \"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\") AND (NOT \"Blender_Variables_Pers\".\"gBlenderStarted\") THEN\n BlenderCtrl_ProdModeInit();\nEND_IF;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1C3",
|
|
"title": "Rinse ONS",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\""
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "PBox_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"bit": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"M19002\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// // PBox 26 - Passing memory bit: \"M19002\""
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "PBox",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mDelayPowerOnTmr\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"M19002\" AND (NOT \"mDelayPowerOnTmr\")"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gRinseONS\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gRinseONS\" := \"M19002\" AND (NOT \"mDelayPowerOnTmr\");"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1D4",
|
|
"title": "CIP ONS",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlenderCIPMode\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gBlenderCIPMode\""
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "PBox_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"bit": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"M19003\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// // PBox 26 - Passing memory bit: \"M19003\""
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "PBox",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mDelayPowerOnTmr\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"M19003\" AND (NOT \"mDelayPowerOnTmr\")"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Coil_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gCIPONS\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gCIPONS\" := \"M19003\" AND (NOT \"mDelayPowerOnTmr\");"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1E5",
|
|
"title": "CIp Mode Init",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "22",
|
|
"uid": "22",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gCIPONS\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gCIPONS\""
|
|
},
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "BlenderCtrl_CIPModeInit",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "22",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"gCIPONS\" THEN\n BlenderCtrl_CIPModeInit();\nEND_IF;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "1F6",
|
|
"title": "Reset SPWords",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "BlenderCtrl_ResetSPWord",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderCtrl_ResetSPWord();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "207",
|
|
"title": "Blender Run Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "BlenderRun__Control",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderRun__Control();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "218",
|
|
"title": "Tank Pressure Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "Prod Tank PressCtrl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Prod_Tank_PressCtrl();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "229",
|
|
"title": "Balaiage",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "Baialage",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Baialage();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "23A",
|
|
"title": "First Production",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FB_scl",
|
|
"block_name": "ProcedureFirstProduction",
|
|
"block_type": "FB",
|
|
"instance_db": "\"FirstProduction_Data\"",
|
|
"instance_scope": "GlobalVariable",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"FirstProduction_Data\"();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "24B",
|
|
"title": "CIP MAIN Calling",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "CIPMain",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "CIPMain();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "25C",
|
|
"title": "Blender Rinse",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "BlenderRinse",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderRinse();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "26D",
|
|
"title": "Safeties",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "Safeties",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Safeties();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "27E",
|
|
"title": "Instrument Scanner",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "Instrument_Scanner",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Instrument_Scanner();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "28F",
|
|
"title": "Vacuum Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "VacuumCtrl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "VacuumCtrl();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2A0",
|
|
"title": "Syrup Room Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "SyrupRoomCtrl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "SyrupRoomCtrl();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2B1",
|
|
"title": "Blend Procedure Data",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "22",
|
|
"uid": "22",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mDelayPowerOnTmr\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (NOT \"mDelayPowerOnTmr\")"
|
|
},
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Call_FB_scl",
|
|
"block_name": "Procedure",
|
|
"block_type": "FB",
|
|
"instance_db": "\"Blender_Procedure Data\"",
|
|
"instance_scope": "GlobalVariable",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "22",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF (NOT \"mDelayPowerOnTmr\") THEN\n \"Blender_Procedure Data\"();\nEND_IF;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2C2",
|
|
"title": "Pneumatic Valve Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "Pneumatic Valve Ctrl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Pneumatic_Valve_Ctrl();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2D3",
|
|
"title": "Pumps Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "PumpsControl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "PumpsControl();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2E4",
|
|
"title": "Prod Report Manager",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "22",
|
|
"uid": "22",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Report\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Report\""
|
|
},
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "ProdReportManager",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "22",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Report\" THEN\n ProdReportManager();\nEND_IF;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "2F5",
|
|
"title": "Outputs",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "Output",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Output();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "306",
|
|
"title": "SLIM BLOCK",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "SLIM_Block",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "SLIM_Block();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "317",
|
|
"title": "Interlocking Panel 1",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "Interlocking_Panel_1",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Interlocking_Panel_1();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "328",
|
|
"title": "Filler Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "FillerControl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "FillerControl();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "339",
|
|
"title": "Blender Ctrl Update PWORD",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "BlenderCtrl_UpdatePWord",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderCtrl_UpdatePWord();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "34A",
|
|
"title": "ResetTotalizer",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlendResetTotalizer\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gBlendResetTotalizer\""
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Se",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"tv": {
|
|
"uid": "22",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_uid": "24",
|
|
"source_instruction_type": "Contact",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "35B",
|
|
"title": "ResetWaterTot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTN301_ResetTot\""
|
|
}
|
|
},
|
|
"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\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 28: \"gFTN301_ResetTot\" OR \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Se",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"tv": {
|
|
"uid": "24",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
},
|
|
"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": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Se",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "q"
|
|
},
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "LocalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetWaterTot\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "36C",
|
|
"title": "Water VFM Reset Totalizer",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTN301_ResetTot\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gFTN301_ResetTot\""
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "RCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTN301_ResetTot\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "37D",
|
|
"title": "ResetCO2Tot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTP302_ResetTot\""
|
|
}
|
|
},
|
|
"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\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 29: \"gFTP302_ResetTot\" OR \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Se",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"tv": {
|
|
"uid": "24",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "out"
|
|
},
|
|
"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": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Se",
|
|
"source_instruction_uid": "30",
|
|
"source_pin": "q"
|
|
},
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gSyrupRoomEn\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "32",
|
|
"uid": "32",
|
|
"type": "Coil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "31",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "26",
|
|
"scope": "LocalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetSyrupTot\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "38E",
|
|
"title": "Syrup MFM Reset Totalizer",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTP302_ResetTot\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gFTP302_ResetTot\""
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "RCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTP302_ResetTot\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "39F",
|
|
"title": "ResetProductTot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTM303_ResetTot\""
|
|
}
|
|
},
|
|
"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\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 28: \"gFTM303_ResetTot\" OR \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Se",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"tv": {
|
|
"uid": "24",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
},
|
|
"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": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Se",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "q"
|
|
},
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "LocalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetCO2Tot\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3B0",
|
|
"title": "CO2 MFM Reset Tot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTM303_ResetTot\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gFTM303_ResetTot\""
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "RCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTM303_ResetTot\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3C1",
|
|
"title": "ResetCO2Tot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gProductMFMResetTot\""
|
|
}
|
|
},
|
|
"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\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "O_scl",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in1": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// Logic O 28: \"gProductMFMResetTot\" OR \"mResetTotalizerTmr\""
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Se",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"tv": {
|
|
"uid": "24",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
},
|
|
"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": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Se",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "q"
|
|
},
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "LocalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetProductTot\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3D2",
|
|
"title": "Reset Totalizer",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gProductMFMResetTot\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gProductMFMResetTot\""
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "RCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gProductMFMResetTot\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3E3",
|
|
"title": "Reset Totalizer",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlendResetTotalizer\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"gBlendResetTotalizer\""
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "RCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlendResetTotalizer\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "3F4",
|
|
"title": "Blender Ctrl Command",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Simulation\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Simulation\")"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "BlenderCtrl_MFM Command",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF (NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Simulation\") THEN\n BlenderCtrl_MFM_Command();\nEND_IF;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "405",
|
|
"title": "DP Global Diag",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "CPU_DP Global Diag",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "CPU_DP_Global_Diag();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "416",
|
|
"title": "Profibus",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "Profibus Network",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Profibus_Network();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "427",
|
|
"title": "Valve Fault",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "ModValveFault",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "ModValveFault();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "438",
|
|
"title": "All Auto",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\""
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\" AND \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\""
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "NBox",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"bit": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"M19011\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Call",
|
|
"block_name": "BlenderCtrl_All Auto",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "NBox",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Coil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Light\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "449",
|
|
"title": "Ctrl HMI Manual Active",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "BlenderCtrl_ManualActive",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderCtrl_ManualActive();"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "45A",
|
|
"title": "Mod Copy Recipe",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "33",
|
|
"uid": "33",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\""
|
|
},
|
|
{
|
|
"instruction_uid": "34",
|
|
"uid": "34",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "33",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mFP_Recip_Main_Page\""
|
|
}
|
|
},
|
|
"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": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "34",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mAux_FP_M700_1\""
|
|
}
|
|
},
|
|
"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",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mFP_Recip_Main_Page\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"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\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\""
|
|
},
|
|
{
|
|
"instruction_uid": "38",
|
|
"uid": "38",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "37",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "26",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\""
|
|
}
|
|
},
|
|
"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": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "38",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "27",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"T_Pulse_Recipe_Edit\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "40",
|
|
"uid": "40",
|
|
"type": "Contact",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "SdCoil",
|
|
"source_instruction_uid": "39",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "29",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"T_Pulse_Recipe_Edit\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
},
|
|
{
|
|
"instruction_uid": "41",
|
|
"uid": "41",
|
|
"type": "RCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "40",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "30",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\""
|
|
}
|
|
},
|
|
"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\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"mAux_FP_M700_1\""
|
|
},
|
|
{
|
|
"instruction_uid": "43",
|
|
"uid": "43",
|
|
"type": "SCoil",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "42",
|
|
"source_pin": "out"
|
|
},
|
|
"operand": {
|
|
"uid": "32",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Edit\""
|
|
}
|
|
},
|
|
"outputs": {}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "46B",
|
|
"title": "to HMI - Recipe Management",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "42",
|
|
"uid": "42",
|
|
"type": "Contact_scl",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"type": "powerrail"
|
|
},
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"AUX TRUE\""
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "// RLO: \"AUX TRUE\""
|
|
},
|
|
{
|
|
"instruction_uid": "43",
|
|
"uid": "43",
|
|
"type": "Call_FB_scl",
|
|
"block_name": "RecipeManagement - Prod",
|
|
"block_type": "FB",
|
|
"instance_db": "\"RecipeManagement_Data\"",
|
|
"instance_scope": "GlobalVariable",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "42",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"AUX TRUE\" THEN\n \"RecipeManagement_Data\"();\nEND_IF;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "47C",
|
|
"title": "Recipe Calculation",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_scl",
|
|
"block_name": "RecipeCalculation",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "RecipeCalculation();"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |