4529 lines
173 KiB
JSON
4529 lines
173 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_sympy_processed",
|
|
"block_name": "Clock Signal",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Clock_Signal();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "1A",
|
|
"title": "Machine Init",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "BlenderCtrl_MachineInit",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderCtrl_MachineInit();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "2B",
|
|
"title": "Filler Head",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"AUX FALSE\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v0_"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "BLKMOV_sympy_processed",
|
|
"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\""
|
|
}
|
|
]
|
|
},
|
|
"scl": "IF \"AUX FALSE\" THEN\n \"Block_Move_Err\" := BLKMOV(SRCBLK := \"HMI_PID\".\"PPM303\", DSTBLK => \"Filler_Head_Variables\".\"FillerHead\"); // ADVERTENCIA: BLKMOV usado directamente, probablemente no compile!\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "3C",
|
|
"title": "Emergency Pressed",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_VoltageOk\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v1_"
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "NBox_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"_edge_mem_update_scl": "\"M19000\" := \"gIN_VoltageOk\"; // N_TRIG(\"gIN_VoltageOk\") - Mem: \"M19000\"",
|
|
"scl": "// Edge Logic handled by Coil 26"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Coil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gEmergencyPressed\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "NBox",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gEmergencyPressed\" := \"M19000\" AND NOT \"gIN_VoltageOk\";\n\"M19000\" := \"gIN_VoltageOk\"; // N_TRIG(\"gIN_VoltageOk\") - Mem: \"M19000\""
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "4D",
|
|
"title": "Air and CO2 pressure ok and auxiliary ok",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_LinePressCO2Ok\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v2_"
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gWorkshopTest\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v3_"
|
|
},
|
|
{
|
|
"instruction_uid": "31",
|
|
"uid": "31",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gWorkshop_Co2_Presence\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "30",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v3_ & ~v4_"
|
|
},
|
|
{
|
|
"instruction_uid": "32",
|
|
"uid": "32",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gWorkshop_CIP_Signals\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "31",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v3_ & ~v4_ & ~v5_"
|
|
},
|
|
{
|
|
"instruction_uid": "33",
|
|
"uid": "33",
|
|
"type": "O_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy O: v2_ | (v3_ & ~v4_ & ~v5_)"
|
|
},
|
|
{
|
|
"instruction_uid": "34",
|
|
"uid": "34",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Digital\".\"_PAL_S11\".\"Filtered\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "33",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v6_ & (v2_ | (v3_ & ~v4_ & ~v5_))"
|
|
},
|
|
{
|
|
"instruction_uid": "35",
|
|
"uid": "35",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "26",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Disable_Bit\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "33",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: ~v7_ & (v2_ | (v3_ & ~v4_ & ~v5_))"
|
|
},
|
|
{
|
|
"instruction_uid": "36",
|
|
"uid": "36",
|
|
"type": "O_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy O: (v6_ & (v2_ | (v3_ & ~v4_ & ~v5_))) | (~v7_ & (v2_ | (v3_ & ~v4_ & ~v5_)))"
|
|
},
|
|
{
|
|
"instruction_uid": "37",
|
|
"uid": "37",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "27",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_VoltageOk\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "36",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v1_ & ((v6_ & (v2_ | (v3_ & ~v4_ & ~v5_))) | (~v7_ & (v2_ | (v3_ & ~v4_ & ~v5_))))"
|
|
},
|
|
{
|
|
"instruction_uid": "38",
|
|
"uid": "38",
|
|
"type": "Coil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "28",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlenderSuppliesOk\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "37",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gBlenderSuppliesOk\" := (\"gIN_VoltageOk\" AND \"gIN_LinePressCO2Ok\" AND \"HMI_Digital\".\"_PAL_S11\".\"Filtered\") OR (\"gIN_VoltageOk\" AND \"gIN_LinePressCO2Ok\" AND NOT \"Disable_Bit\") OR (\"gIN_VoltageOk\" AND \"gWorkshopTest\" AND \"HMI_Digital\".\"_PAL_S11\".\"Filtered\" AND NOT \"gWorkshop_Co2_Presence\" AND NOT \"gWorkshop_CIP_Signals\") OR (\"gIN_VoltageOk\" AND \"gWorkshopTest\" AND NOT \"gWorkshop_Co2_Presence\" AND NOT \"gWorkshop_CIP_Signals\" AND NOT \"Disable_Bit\");"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "5E",
|
|
"title": "Blender State Num",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Move_sympy_processed",
|
|
"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;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "6F",
|
|
"title": "Delay Power On",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"FirstScan\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v8_"
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Se_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"timer": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mDelayPowerOnTmr\""
|
|
},
|
|
"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": {},
|
|
"scl": "\"mDelayPowerOnTmr\"(IN := \"FirstScan\", PT := S5T#2S); // TODO: Declarar \"mDelayPowerOnTmr\" : TP;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "80",
|
|
"title": "Production Mode",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v9_"
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Coil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlenderProdMode\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gBlenderProdMode\" := \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\";"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "91",
|
|
"title": "CIp Mode",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: ~v9_"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Coil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlenderCIPMode\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gBlenderCIPMode\" := NOT \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\";"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Move_sympy_processed",
|
|
"template_values": {
|
|
"Card": "Cardinality"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in": {
|
|
"uid": "23",
|
|
"scope": "LiteralConstant",
|
|
"type": "constant",
|
|
"datatype": "Int",
|
|
"value": 19
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out1": [
|
|
{
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"Procedures\".\"BlenderStateNum\""
|
|
}
|
|
]
|
|
},
|
|
"scl": "IF NOT \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\" THEN\n \"HMI_Variables_Status\".\"Procedures\".\"BlenderStateNum\" := 19;\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "A2",
|
|
"title": "Error Faults",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"AUX FALSE\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: ~v0_"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "RCoil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"Meters\".\"QTM3012_PRD_Fault\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF NOT \"AUX FALSE\" THEN\n \"HMI_Variables_Status\".\"Meters\".\"QTM3012_PRD_Fault\" := FALSE;\nEND_IF;"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "RCoil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gmPDS2000_Error_Fault\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF NOT \"AUX FALSE\" THEN\n \"gmPDS2000_Error_Fault\" := FALSE;\nEND_IF;"
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "RCoil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"Meters\".\"QTM3012_PRD_Run\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF NOT \"AUX FALSE\" THEN\n \"HMI_Variables_Status\".\"Meters\".\"QTM3012_PRD_Run\" := FALSE;\nEND_IF;"
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "RCoil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gNoFreezeProductMeter\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF NOT \"AUX FALSE\" THEN\n \"gNoFreezeProductMeter\" := FALSE;\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "B3",
|
|
"title": "Filler Bottle Count Used to push Product",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"System_RunOut_Variables\".\"ProdPipeRunOutWaterCount\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: ~v10_"
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Coil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"System_RunOut_Variables\".\"ProdPipeRunOutFillerBott\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"System_RunOut_Variables\".\"ProdPipeRunOutFillerBott\" := NOT \"System_RunOut_Variables\".\"ProdPipeRunOutWaterCount\";"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "C4",
|
|
"title": "Water Bypass Enable",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v11_"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v12_"
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v12_ & ~v13_"
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "O_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy O: v11_ | (v12_ & ~v13_)"
|
|
},
|
|
{
|
|
"instruction_uid": "31",
|
|
"uid": "31",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Blender_Variables_Pers\".\"gWaterRecipe\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "30",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v14_ & (v11_ | (v12_ & ~v13_))"
|
|
},
|
|
{
|
|
"instruction_uid": "32",
|
|
"uid": "32",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Blender_Variables_Pers\".\"gCarboStillRecipe\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "31",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v14_ & ~v15_ & (v11_ | (v12_ & ~v13_))"
|
|
},
|
|
{
|
|
"instruction_uid": "33",
|
|
"uid": "33",
|
|
"type": "Coil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "26",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gStillWaterByPassEn\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "32",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gStillWaterByPassEn\" := (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\" AND \"Blender_Variables_Pers\".\"gWaterRecipe\" AND NOT \"Blender_Variables_Pers\".\"gCarboStillRecipe\") OR (\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_ByPassDeair\" AND \"Blender_Variables_Pers\".\"gWaterRecipe\" AND NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Deaireation\" AND NOT \"Blender_Variables_Pers\".\"gCarboStillRecipe\");"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "D5",
|
|
"title": "Still Water Bypass",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v16_"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v11_ & v16_"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Blender_Variables_Pers\".\"gWaterRecipe\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v11_ & v14_ & v16_"
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Blender_Variables_Pers\".\"gCarboStillRecipe\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "28",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v11_ & v14_ & v16_ & ~v15_"
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Coil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlendFiStillWaterByPass\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "29",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gBlendFiStillWaterByPass\" := \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_StillWaterByPass\" AND \"Blender_Variables_Pers\".\"gWaterRecipe\" AND \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BlendFillSystem\" AND NOT \"Blender_Variables_Pers\".\"gCarboStillRecipe\";"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "E6",
|
|
"title": "Manual Syrup Drain Valve Open - Operator Alarm",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gSyrupRoomEn\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v17_"
|
|
},
|
|
{
|
|
"instruction_uid": "31",
|
|
"uid": "31",
|
|
"type": "Contact_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v17_ & ~v18_"
|
|
},
|
|
{
|
|
"instruction_uid": "32",
|
|
"uid": "32",
|
|
"type": "Contact_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v17_ & ~v18_ & ~v19_"
|
|
},
|
|
{
|
|
"instruction_uid": "33",
|
|
"uid": "33",
|
|
"type": "Contact_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v17_ & v20_ & ~v18_ & ~v19_"
|
|
},
|
|
{
|
|
"instruction_uid": "34",
|
|
"uid": "34",
|
|
"type": "Contact_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v17_ & v20_ & ~v18_ & ~v19_ & ~v21_"
|
|
},
|
|
{
|
|
"instruction_uid": "35",
|
|
"uid": "35",
|
|
"type": "Contact_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v17_ & v22_ & ~v18_"
|
|
},
|
|
{
|
|
"instruction_uid": "36",
|
|
"uid": "36",
|
|
"type": "Contact_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v17_ & v22_ & v23_ & ~v18_"
|
|
},
|
|
{
|
|
"instruction_uid": "37",
|
|
"uid": "37",
|
|
"type": "Contact_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v17_ & v22_ & v23_ & v24_ & ~v18_"
|
|
},
|
|
{
|
|
"instruction_uid": "38",
|
|
"uid": "38",
|
|
"type": "O_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy O: (v17_ & v22_ & v23_ & v24_ & ~v18_) | (v17_ & v20_ & ~v18_ & ~v19_ & ~v21_)"
|
|
},
|
|
{
|
|
"instruction_uid": "39",
|
|
"uid": "39",
|
|
"type": "Coil_sympy_processed",
|
|
"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 \"gBlenderCIPMode\" AND \"gIN_CIP_CIPRunning\" AND \"Procedure_Variables\".\"Blender_Run\".\"Running\" AND NOT \"gIN_HVP301_Aux\") OR (\"gSyrupRoomEn\" AND \"Procedure_Variables\".\"FTP302Line_Preparation\".\"Done\" AND NOT \"gIN_HVP301_Aux\" AND NOT \"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_FastChangeOverEnabled\" AND NOT \"Procedure_Variables\".\"Syr_RunOut\".\"Done\");"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "F7",
|
|
"title": "Manual Syrup Drain Valve Open - Operator Alarm",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gIN_HVM302_Aux\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v25_"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Sd_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"timer": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mHVM302_Dly\""
|
|
},
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
},
|
|
"tv": {
|
|
"uid": "22",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#1S"
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_uid": "25",
|
|
"source_instruction_type": "Contact",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"q": []
|
|
},
|
|
"scl": "\"mHVM302_Dly\"(IN := \"gIN_HVM302_Aux\", PT := S5T#1S); // TODO: Declarar \"mHVM302_Dly\" : TON;"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Coil_sympy_processed",
|
|
"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": {},
|
|
"scl": "\"gHVM302_Open\" := \"mHVM302_Dly\".Q;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "108",
|
|
"title": "Maselli Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v26_"
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Eq_sympy_processed",
|
|
"template_values": {
|
|
"SrcType": "Type"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in1": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\""
|
|
},
|
|
"pre": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"uid": "23",
|
|
"scope": "LiteralConstant",
|
|
"type": "constant",
|
|
"datatype": "Int",
|
|
"value": 6
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy EQ: Eq(v56_, 6)"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Call_FC_sympy_processed",
|
|
"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 Eq(\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\", 6) THEN\n Maselli_PA_Control();\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "119",
|
|
"title": "mPDS Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v26_"
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Eq_sympy_processed",
|
|
"template_values": {
|
|
"SrcType": "Type"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in1": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\""
|
|
},
|
|
"pre": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"uid": "23",
|
|
"scope": "LiteralConstant",
|
|
"type": "constant",
|
|
"datatype": "Int",
|
|
"value": 5
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy EQ: Eq(v56_, 5)"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Call_FC_sympy_processed",
|
|
"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 Eq(\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\", 5) THEN\n mPDS_PA_Control();\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "12A",
|
|
"title": "mPDS Syrup Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "22",
|
|
"uid": "22",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_SyrBrixMeter\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v27_"
|
|
},
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Call_FC_sympy_processed",
|
|
"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;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "13B",
|
|
"title": "Co2 Analog Input",
|
|
"comment": "GetProdBrixCO2_FromAnalogIn\n CALL \"GetProdBrixCO2_FromAn\"\n NOP 0",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_BrixMeter\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v26_"
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Eq_sympy_processed",
|
|
"template_values": {
|
|
"SrcType": "Type"
|
|
},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"in1": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\""
|
|
},
|
|
"pre": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
},
|
|
"in2": {
|
|
"uid": "23",
|
|
"scope": "LiteralConstant",
|
|
"type": "constant",
|
|
"datatype": "Int",
|
|
"value": 3
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy EQ: Eq(v56_, 3)"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Call_FC_sympy_processed",
|
|
"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 Eq(\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_MeterType\", 3) THEN\n GetProdBrixCO2_Anal_Inpt();\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "14C",
|
|
"title": "Quality",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "ProductQuality",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "ProductQuality();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "15D",
|
|
"title": "Input Data",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FB_sympy_processed",
|
|
"block_name": "Input",
|
|
"block_type": "FB",
|
|
"instance_db": "\"Input_Data\"",
|
|
"instance_scope": "GlobalVariable",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"Input_Data\"();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "16E",
|
|
"title": "Sel Brix Source Check",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "SelCheckBrixSource",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "SelCheckBrixSource();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "17F",
|
|
"title": "Check Water Cooling System Temperature",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "22",
|
|
"uid": "22",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_InverterRecirPumpPPM306\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v28_"
|
|
},
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Call_FC_sympy_processed",
|
|
"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;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "190",
|
|
"title": "Tank Level",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "TankLevel",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "TankLevel();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "1A1",
|
|
"title": "Production ONS",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlenderProdMode\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v29_"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "PBox_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"_edge_mem_update_scl": "\"M19001\" := \"gBlenderProdMode\"; // P_TRIG(\"gBlenderProdMode\") - Mem: \"M19001\"",
|
|
"scl": "// PBox SymPy processed, logic in consumer"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mDelayPowerOnTmr\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "PBox",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v29_ & ~v30_ & ~v51_"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Coil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gProductionONS\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gProductionONS\" := \"gBlenderProdMode\" AND NOT \"mDelayPowerOnTmr\" AND NOT \"M19001\";"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "1B2",
|
|
"title": "Blender Prod Mode Init",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gProductionONS\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v31_"
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v32_"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "O_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy O: v31_ | v32_"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"Blender_Variables_Pers\".\"gBlenderStarted\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "O",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: ~v33_ & (v31_ | v32_)"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Call_FC_sympy_processed",
|
|
"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\" AND NOT \"Blender_Variables_Pers\".\"gBlenderStarted\") OR (\"Procedure_Variables\".\"Blender_Rinse\".\"ONS_Done\" AND NOT \"Blender_Variables_Pers\".\"gBlenderStarted\") THEN\n BlenderCtrl_ProdModeInit();\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "1C3",
|
|
"title": "Rinse ONS",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v9_"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "PBox_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"_edge_mem_update_scl": "\"M19002\" := \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\"; // P_TRIG(\"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\") - Mem: \"M19002\"",
|
|
"scl": "// PBox SymPy processed, logic in consumer"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mDelayPowerOnTmr\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "PBox",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v9_ & ~v30_ & ~v52_"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Coil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gRinseONS\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gRinseONS\" := \"HMI_Variables_Status\".\"System\".\"Blender_Prod_CIP\" AND NOT \"mDelayPowerOnTmr\" AND NOT \"M19002\";"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "1D4",
|
|
"title": "CIP ONS",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlenderCIPMode\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v22_"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "PBox_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"_edge_mem_update_scl": "\"M19003\" := \"gBlenderCIPMode\"; // P_TRIG(\"gBlenderCIPMode\") - Mem: \"M19003\"",
|
|
"scl": "// PBox SymPy processed, logic in consumer"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mDelayPowerOnTmr\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "PBox",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v22_ & ~v30_ & ~v53_"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Coil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gCIPONS\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"gCIPONS\" := \"gBlenderCIPMode\" AND NOT \"mDelayPowerOnTmr\" AND NOT \"M19003\";"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "1E5",
|
|
"title": "CIp Mode Init",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "22",
|
|
"uid": "22",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gCIPONS\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v34_"
|
|
},
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Call_FC_sympy_processed",
|
|
"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;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "1F6",
|
|
"title": "Reset SPWords",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "BlenderCtrl_ResetSPWord",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderCtrl_ResetSPWord();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "207",
|
|
"title": "Blender Run Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "BlenderRun__Control",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderRun__Control();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "218",
|
|
"title": "Tank Pressure Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "Prod Tank PressCtrl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Prod_Tank_PressCtrl();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "229",
|
|
"title": "Balaiage",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "Baialage",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Baialage();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "23A",
|
|
"title": "First Production",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FB_sympy_processed",
|
|
"block_name": "ProcedureFirstProduction",
|
|
"block_type": "FB",
|
|
"instance_db": "\"FirstProduction_Data\"",
|
|
"instance_scope": "GlobalVariable",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"FirstProduction_Data\"();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "24B",
|
|
"title": "CIP MAIN Calling",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "CIPMain",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "CIPMain();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "25C",
|
|
"title": "Blender Rinse",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "BlenderRinse",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderRinse();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "26D",
|
|
"title": "Safeties",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "Safeties",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Safeties();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "27E",
|
|
"title": "Instrument Scanner",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "Instrument_Scanner",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Instrument_Scanner();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "28F",
|
|
"title": "Vacuum Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "VacuumCtrl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "VacuumCtrl();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "2A0",
|
|
"title": "Syrup Room Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "SyrupRoomCtrl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "SyrupRoomCtrl();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "2B1",
|
|
"title": "Blend Procedure Data",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "22",
|
|
"uid": "22",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mDelayPowerOnTmr\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: ~v30_"
|
|
},
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Call_FB_sympy_processed",
|
|
"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;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "2C2",
|
|
"title": "Pneumatic Valve Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "Pneumatic Valve Ctrl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Pneumatic_Valve_Ctrl();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "2D3",
|
|
"title": "Pumps Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "PumpsControl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "PumpsControl();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "2E4",
|
|
"title": "Prod Report Manager",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "22",
|
|
"uid": "22",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Report\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v35_"
|
|
},
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Call_FC_sympy_processed",
|
|
"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;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "2F5",
|
|
"title": "Outputs",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "Output",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Output();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "306",
|
|
"title": "SLIM BLOCK",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "SLIM_Block",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "SLIM_Block();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "317",
|
|
"title": "Interlocking Panel 1",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "Interlocking_Panel_1",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Interlocking_Panel_1();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "328",
|
|
"title": "Filler Control",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "FillerControl",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "FillerControl();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "339",
|
|
"title": "Blender Ctrl Update PWORD",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "BlenderCtrl_UpdatePWord",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderCtrl_UpdatePWord();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "34A",
|
|
"title": "ResetTotalizer",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlendResetTotalizer\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v36_"
|
|
},
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Se_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"timer": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetTotalizerTmr\""
|
|
},
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "24",
|
|
"source_pin": "out"
|
|
},
|
|
"tv": {
|
|
"uid": "22",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#2S"
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_uid": "24",
|
|
"source_instruction_type": "Contact",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"mResetTotalizerTmr\"(IN := \"gBlendResetTotalizer\", PT := S5T#2S); // TODO: Declarar \"mResetTotalizerTmr\" : TP;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "35B",
|
|
"title": "ResetWaterTot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTN301_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v37_"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetTotalizerTmr\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v38_"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "O_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy O: v37_ | v38_"
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Se_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"timer": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetFTN301TotTmr\""
|
|
},
|
|
"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": {
|
|
"q": []
|
|
},
|
|
"scl": "\"mResetFTN301TotTmr\"(IN := \"gFTN301_ResetTot\" OR \"mResetTotalizerTmr\", PT := S5T#2S); // TODO: Declarar \"mResetFTN301TotTmr\" : TP;"
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Coil_sympy_processed",
|
|
"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": {},
|
|
"scl": "\"mResetWaterTot\" := \"mResetFTN301TotTmr\".Q;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "36C",
|
|
"title": "Water VFM Reset Totalizer",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTN301_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v37_"
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "RCoil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTN301_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"gFTN301_ResetTot\" THEN\n \"gFTN301_ResetTot\" := FALSE;\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "37D",
|
|
"title": "ResetCO2Tot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTP302_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v39_"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetTotalizerTmr\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v38_"
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "O_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy O: v38_ | v39_"
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Se_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"timer": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetFTP302TotTmr\""
|
|
},
|
|
"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": {
|
|
"q": []
|
|
},
|
|
"scl": "\"mResetFTP302TotTmr\"(IN := \"mResetTotalizerTmr\" OR \"gFTP302_ResetTot\", PT := S5T#2S); // TODO: Declarar \"mResetFTP302TotTmr\" : TP;"
|
|
},
|
|
{
|
|
"instruction_uid": "31",
|
|
"uid": "31",
|
|
"type": "Contact_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v17_ & v61_"
|
|
},
|
|
{
|
|
"instruction_uid": "32",
|
|
"uid": "32",
|
|
"type": "Coil_sympy_processed",
|
|
"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": {},
|
|
"scl": "\"mResetSyrupTot\" := \"gSyrupRoomEn\" AND \"mResetFTP302TotTmr\".Q;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "38E",
|
|
"title": "Syrup MFM Reset Totalizer",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTP302_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v39_"
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "RCoil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTP302_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"gFTP302_ResetTot\" THEN\n \"gFTP302_ResetTot\" := FALSE;\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "39F",
|
|
"title": "ResetProductTot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTM303_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v40_"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetTotalizerTmr\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v38_"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "O_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy O: v38_ | v40_"
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Se_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"timer": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetFTM303TotTmr\""
|
|
},
|
|
"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": {
|
|
"q": []
|
|
},
|
|
"scl": "\"mResetFTM303TotTmr\"(IN := \"mResetTotalizerTmr\" OR \"gFTM303_ResetTot\", PT := S5T#2S); // TODO: Declarar \"mResetFTM303TotTmr\" : TP;"
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Coil_sympy_processed",
|
|
"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": {},
|
|
"scl": "\"mResetCO2Tot\" := \"mResetFTM303TotTmr\".Q;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "3B0",
|
|
"title": "CO2 MFM Reset Tot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTM303_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v40_"
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "RCoil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gFTM303_ResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"gFTM303_ResetTot\" THEN\n \"gFTM303_ResetTot\" := FALSE;\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "3C1",
|
|
"title": "ResetCO2Tot",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gProductMFMResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v41_"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetTotalizerTmr\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v38_"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "O_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy O: v38_ | v41_"
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Se_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"timer": {
|
|
"uid": "23",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mResetProductTotTmr\""
|
|
},
|
|
"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": {
|
|
"q": []
|
|
},
|
|
"scl": "\"mResetProductTotTmr\"(IN := \"mResetTotalizerTmr\" OR \"gProductMFMResetTot\", PT := S5T#2S); // TODO: Declarar \"mResetProductTotTmr\" : TP;"
|
|
},
|
|
{
|
|
"instruction_uid": "30",
|
|
"uid": "30",
|
|
"type": "Coil_sympy_processed",
|
|
"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": {},
|
|
"scl": "\"mResetProductTot\" := \"mResetProductTotTmr\".Q;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "3D2",
|
|
"title": "Reset Totalizer",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gProductMFMResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v41_"
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "RCoil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gProductMFMResetTot\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"gProductMFMResetTot\" THEN\n \"gProductMFMResetTot\" := FALSE;\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "3E3",
|
|
"title": "Reset Totalizer",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "23",
|
|
"uid": "23",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlendResetTotalizer\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v36_"
|
|
},
|
|
{
|
|
"instruction_uid": "24",
|
|
"uid": "24",
|
|
"type": "RCoil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"gBlendResetTotalizer\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "23",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF \"gBlendResetTotalizer\" THEN\n \"gBlendResetTotalizer\" := FALSE;\nEND_IF;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "3F4",
|
|
"title": "Blender Ctrl Command",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {
|
|
"operand": true
|
|
},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Blender_Parameters\".\"Processor_Options\".\"Blender_OPT\".\"_Simulation\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: ~v42_"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "Call_FC_sympy_processed",
|
|
"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;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "405",
|
|
"title": "DP Global Diag",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "CPU_DP Global Diag",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "CPU_DP_Global_Diag();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "416",
|
|
"title": "Profibus",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "Profibus Network",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "Profibus_Network();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "427",
|
|
"title": "Valve Fault",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "ModValveFault",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "ModValveFault();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "438",
|
|
"title": "All Auto",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "25",
|
|
"uid": "25",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v43_"
|
|
},
|
|
{
|
|
"instruction_uid": "26",
|
|
"uid": "26",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "22",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "25",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v43_ & v44_"
|
|
},
|
|
{
|
|
"instruction_uid": "27",
|
|
"uid": "27",
|
|
"type": "NBox_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"_edge_mem_update_scl": "\"M19011\" := \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\" AND \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\"; // N_TRIG(\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\" AND \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\") - Mem: \"M19011\"",
|
|
"scl": "// NBox SymPy processed, logic in consumer"
|
|
},
|
|
{
|
|
"instruction_uid": "28",
|
|
"uid": "28",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "BlenderCtrl_All Auto",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_type": "NBox",
|
|
"source_instruction_uid": "27",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "IF (\"M19011\" AND NOT \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\") OR (\"M19011\" AND NOT \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\") THEN\n BlenderCtrl_All_Auto();\nEND_IF;"
|
|
},
|
|
{
|
|
"instruction_uid": "29",
|
|
"uid": "29",
|
|
"type": "Coil_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "24",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Light\""
|
|
},
|
|
"in": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "26",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "\"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Light\" := \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Command\" AND \"HMI_Variables_Cmd\".\"Commands_From_HMI\".\"F7_DeviceControl\".\"Enable\";"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "449",
|
|
"title": "Ctrl HMI Manual Active",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "BlenderCtrl_ManualActive",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "BlenderCtrl_ManualActive();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "45A",
|
|
"title": "Mod Copy Recipe",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "33",
|
|
"uid": "33",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v45_"
|
|
},
|
|
{
|
|
"instruction_uid": "34",
|
|
"uid": "34",
|
|
"type": "Contact_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v45_ & ~v46_"
|
|
},
|
|
{
|
|
"instruction_uid": "35",
|
|
"uid": "35",
|
|
"type": "Coil_sympy_processed",
|
|
"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_sympy_processed",
|
|
"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_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "25",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v45_"
|
|
},
|
|
{
|
|
"instruction_uid": "38",
|
|
"uid": "38",
|
|
"type": "Contact_sympy_processed",
|
|
"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": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v45_ & v47_"
|
|
},
|
|
{
|
|
"instruction_uid": "39",
|
|
"uid": "39",
|
|
"type": "Se_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"timer": {
|
|
"uid": "27",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"T_Pulse_Recipe_Edit\""
|
|
},
|
|
"s": {
|
|
"type": "connection",
|
|
"source_instruction_type": "Contact",
|
|
"source_instruction_uid": "38",
|
|
"source_pin": "out"
|
|
},
|
|
"tv": {
|
|
"uid": "28",
|
|
"scope": "TypedConstant",
|
|
"type": "constant",
|
|
"datatype": "TypedConstant",
|
|
"value": "S5T#500ms"
|
|
},
|
|
"en": {
|
|
"type": "connection",
|
|
"source_instruction_uid": "38",
|
|
"source_instruction_type": "Contact",
|
|
"source_pin": "out"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"q": []
|
|
},
|
|
"scl": "\"T_Pulse_Recipe_Edit\"(IN := \"HMI_Variables_Cmd\".\"Recipe\".\"Main_Page\" AND \"HMI_Variables_Cmd\".\"Recipe\".\"Edit\", PT := S5T#500ms); // TODO: Declarar \"T_Pulse_Recipe_Edit\" : TP;"
|
|
},
|
|
{
|
|
"instruction_uid": "40",
|
|
"uid": "40",
|
|
"type": "Contact_sympy_processed",
|
|
"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": "q"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v48_ & v64_"
|
|
},
|
|
{
|
|
"instruction_uid": "41",
|
|
"uid": "41",
|
|
"type": "RCoil_sympy_processed",
|
|
"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": {},
|
|
"scl": "IF \"T_Pulse_Recipe_Edit\" AND \"T_Pulse_Recipe_Edit\".Q THEN\n \"HMI_Variables_Cmd\".\"Recipe\".\"Edit\" := FALSE;\nEND_IF;"
|
|
},
|
|
{
|
|
"instruction_uid": "42",
|
|
"uid": "42",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "31",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"mAux_FP_M700_1\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v49_"
|
|
},
|
|
{
|
|
"instruction_uid": "43",
|
|
"uid": "43",
|
|
"type": "SCoil_sympy_processed",
|
|
"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"
|
|
},
|
|
{
|
|
"id": "46B",
|
|
"title": "to HMI - Recipe Management",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "42",
|
|
"uid": "42",
|
|
"type": "Contact_sympy_processed",
|
|
"template_values": {},
|
|
"negated_pins": {},
|
|
"inputs": {
|
|
"operand": {
|
|
"uid": "21",
|
|
"scope": "GlobalVariable",
|
|
"type": "variable",
|
|
"name": "\"AUX TRUE\""
|
|
},
|
|
"in": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {
|
|
"out": []
|
|
},
|
|
"scl": "// SymPy Contact: v50_"
|
|
},
|
|
{
|
|
"instruction_uid": "43",
|
|
"uid": "43",
|
|
"type": "Call_FB_sympy_processed",
|
|
"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;"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
},
|
|
{
|
|
"id": "47C",
|
|
"title": "Recipe Calculation",
|
|
"comment": "",
|
|
"logic": [
|
|
{
|
|
"instruction_uid": "21",
|
|
"uid": "21",
|
|
"type": "Call_FC_sympy_processed",
|
|
"block_name": "RecipeCalculation",
|
|
"block_type": "FC",
|
|
"inputs": {
|
|
"en": {
|
|
"type": "powerrail"
|
|
}
|
|
},
|
|
"outputs": {},
|
|
"scl": "RecipeCalculation();"
|
|
}
|
|
],
|
|
"language": "LAD"
|
|
}
|
|
]
|
|
} |