PLC_Generation/MTN6_generator_config.json
2025-09-17 11:20:20 +04:00

572 lines
14 KiB
JSON

{
"files": {
"excel_file": "DESC_IP_MERGED.xlsx",
"output_dir": ".",
"zones_file": "MTN6_zones.json",
"safety_l5x": "SafetyProgram_Generated.L5X",
"main_l5x": "MainProgram_Generated.L5X",
"mapping_txt": "SafetyTagMapping.txt"
},
"filters": {
"global": {},
"per_routine": {}
},
"routine_plan": [
{
"name": "main_routine",
"plugin": "main_routine",
"enabled": true,
"program": "MainProgram",
"order": 10,
"params": {}
},
{
"name": "mcm",
"plugin": "mcm",
"enabled": true,
"program": "MainProgram",
"order": 22,
"params": {}
},
{
"name": "rack",
"plugin": "rack",
"enabled": false,
"program": "MainProgram",
"order": 25,
"params": {}
},
{
"name": "dpm",
"plugin": "dpm",
"enabled": true,
"program": "MainProgram",
"order": 40,
"params": {}
},
{
"name": "fiom",
"plugin": "fiom",
"enabled": true,
"program": "MainProgram",
"order": 50,
"params": {}
},
{
"name": "fioh",
"plugin": "fioh",
"enabled": true,
"program": "MainProgram",
"order": 60,
"params": {}
},
{
"name": "apf",
"plugin": "apf",
"enabled": false,
"program": "MainProgram",
"order": 70,
"params": {}
},
{
"name": "extendo",
"plugin": "extendo",
"enabled": false,
"program": "MainProgram",
"order": 80,
"params": {}
},
{
"name": "flow_ctrl",
"plugin": "flow_ctrl",
"enabled": false,
"program": "MainProgram",
"order": 90,
"params": {}
},
{
"name": "speed_ctrl",
"plugin": "speed_ctrl",
"enabled": false,
"program": "MainProgram",
"order": 100,
"params": {}
},
{
"name": "d2c_chute",
"plugin": "d2c_chute",
"enabled": true,
"program": "MainProgram",
"order": 110,
"params": {}
},
{
"name": "pb_chute",
"plugin": "pb_chute",
"enabled": true,
"program": "MainProgram",
"order": 120,
"params": {}
},
{
"name": "station_jr_chute",
"plugin": "station_jr_chute",
"enabled": true,
"program": "MainProgram",
"order": 130,
"params": {}
},
{
"name": "station_jr_pb",
"plugin": "station_jr_pb",
"enabled": false,
"program": "MainProgram",
"order": 140,
"params": {}
},
{
"name": "station_s_pb",
"plugin": "station_s_pb",
"enabled": false,
"program": "MainProgram",
"order": 141,
"params": {}
},
{
"name": "station_ss_pb",
"plugin": "station_ss_pb",
"enabled": false,
"program": "MainProgram",
"order": 142,
"params": {}
},
{
"name": "station_epc",
"plugin": "station_epc",
"enabled": false,
"program": "MainProgram",
"order": 143,
"params": {}
},
{
"name": "jpe",
"plugin": "jpe",
"enabled": false,
"program": "MainProgram",
"order": 150,
"params": {}
},
{
"name": "fpe",
"plugin": "fpe",
"enabled": false,
"program": "MainProgram",
"order": 160,
"params": {}
},
{
"name": "pmm",
"plugin": "pmm",
"enabled": false,
"program": "MainProgram",
"order": 170,
"params": {}
},
{
"name": "cb_monitor",
"plugin": "cb_monitor",
"enabled": false,
"program": "MainProgram",
"order": 180,
"params": {}
},
{
"name": "encoder",
"plugin": "encoder",
"enabled": false,
"program": "MainProgram",
"order": 125,
"params": {}
},
{
"name": "inputs",
"plugin": "inputs",
"enabled": true,
"program": "SafetyProgram",
"order": 10,
"params": {}
},
{
"name": "outputs",
"plugin": "outputs",
"enabled": true,
"program": "SafetyProgram",
"order": 11,
"params": {}
},
{
"name": "resets",
"plugin": "resets",
"enabled": true,
"program": "SafetyProgram",
"order": 12,
"params": {}
},
{
"name": "zones",
"plugin": "zones",
"enabled": true,
"program": "SafetyProgram",
"order": 13,
"params": {}
},
{
"name": "estops",
"plugin": "estops",
"enabled": true,
"program": "SafetyProgram",
"order": 20,
"params": {}
},
{
"name": "safety_tag_mapping",
"plugin": "safety_tag_mapping",
"enabled": true,
"program": "SafetyProgram",
"order": 30,
"params": {}
},
{
"name": "estop_check",
"plugin": "estop_check",
"enabled": true,
"program": "MainProgram",
"order": 120,
"params": {}
},
{
"name": "safety_tag_map",
"plugin": "safety_tag_map",
"enabled": true,
"program": "MainProgram",
"order": 130,
"params": {}
},
{
"name": "taching_belts",
"plugin": "taching_belts",
"enabled": false,
"program": "MainProgram",
"order": 200,
"params": {}
},
{
"name": "belt_tracking",
"plugin": "belt_tracking",
"enabled": true,
"program": "MainProgram",
"order": 210,
"params": {}
},
{
"name": "nc_chute",
"plugin": "nc_chute",
"enabled": false,
"program": "MainProgram",
"order": 115,
"params": {}
},
{
"name": "nc_jr_station",
"plugin": "nc_jr_station",
"enabled": false,
"program": "MainProgram",
"order": 116,
"params": {}
}
],
"xml": {
"schema_revision": "1.0",
"software_revision": "36.00",
"controller_name": "MTN6_MCM04_CHUTE_LOAD",
"target_class": "Standard",
"export_options": "References NoRawData L5KData DecoratedData Context Dependencies ForceProtectedEncoding AllProjDocTrans"
},
"routines": {
"safety_tag_prefix": "SFT_",
"mcm_input_address": "Local:5:I.Data.0",
"mcm_epb_status_inputs": ["Local:7:I.Pt02.Status", "Local:7:I.Pt03.Status"],
"mcm_epb_dcs_inputs": ["Local:7:I.Pt02.Data", "Local:7:I.Pt03.Data"],
"mcm_epb_dcs_tag_name": "MCM_EPB_DCS_CTRL",
"mcm_safety_tag": "MCM_S_PB",
"speed_ctrl_setpoint_tag": "Speed_350_FPM",
"speed_ctrl_setpoint_value": 350,
"no_horn_tag_name": "NO_Horn",
"mcm_base_tag": "MCM",
"mcm_ctrl_tag": "MCM.CTRL",
"rack_fault_tag": "Rack.AOI.Slot2_EN4TR_Faulted",
"mcm_epb_status_tag": "MCM_EPB_STATUS",
"top_level_estop_ok_tag": "EStop_MCM_OK",
"station_ctrl_tag": "Station.CTRL",
"apf_input_default": "In_0",
"mcm_aoi_input_args": [
"Local:5:I.Data.2",
"Local:5:I.Data.5",
"Local:5:I.Data.4",
"Local:5:I.Data.0",
"Local:5:I.Data.3",
"Local:7:I.Pt02.Data",
"Local:7:I.Pt03.Data",
"Local:5:I.Data.1",
"Local:7:I.Pt00.Data",
"Local:5:I.Data.7",
"Local:5:I.Data.8",
"Local:5:I.Data.6",
"Local:5:I.Data.9"
],
"mcm_aoi_output_args": [
"Local:6:O.Data.2",
"Local:6:O.Data.5",
"Local:6:O.Data.4",
"Local:6:O.Data.0",
"Local:6:O.Data.1",
"Local:6:O.Data.3"
]
},
"extraction": {
"rst_desc_contains": [ "START" ],
"rst_desc_excludes": [ "LIGHT" ],
"rst_desca_exclude_patterns": [ "GS1" ],
"rst_desca_patterns": [ "S1_PB", "S2_PB" ],
"rst_desca_endings": [ "SPB" ],
"dpm_partnumber_contains": [ "OS30-002404-2S" ],
"fiom_partnumber_contains": [ "5032-8IOLM12DR" ],
"fioh_partnumber_contains": [ "5032-8IOLM12DR" ],
"fioh_desca_contains": [ "FIOH" ],
"sto_tagname_patterns": [ "VFD" ],
"sto_desca_patterns": [ "STO" ],
"epc_desca_patterns": [ "EPC", "ESTOP" ],
"apf_partnumber_prefix": [ "35S" ],
"extendo_partnumber_exact": [ "CALJAN" ],
"pmm_partnumber_exact": [ "1420-V2-ENT" ],
"speed_ctrl_partnumber_prefix": [ "35S" ]
,
"cb_desca_include": [ "CB" ],
"cb_desca_exclude": [ "BCN" ],
"s0_prefix": "S0",
"d2c_gs1_pb_token": "GS1_PB",
"d2c_gs1_pb_lt_token": "GS1_PB_LT",
"d2c_bcn_token": "BCN",
"d2c_zmx_suffix": "_ZMX",
"pb_chute_components": [ "PE1", "PE2", "PR1", "SOL1" ],
"fioh_token": "FIOH",
"bcn_token": "BCN",
"beacon_stack_3_tokens": [ "3-STACK", "3 STACK" ],
"beacon_segment_a_pin4": "Connector_1_A_Pin_4",
"beacon_segment_b_pin2": "Connector_1_B_Pin_2",
"jr1_token": "JR1",
"jr1_pb_token": "JR1_PB",
"jr1_pb_lt_token": "JR1_PB_LT",
"jr2_token": "JR2",
"jr2_pb_token": "JR2_PB",
"jr2_pb_lt_token": "JR2_PB_LT",
"jr1_exclude_tokens": [],
"vfd_prefix_regex": "",
"vfd_suffix_default": "_VFD1",
"jpe_include_tokens": [ "TPE","JPE" ],
"jpe_exclude_tokens": [ ],
"jpe_input_default": "",
"jpe_lane_jr_mappings": {
"UL1": {
"start": "UL1_1",
"stop": "UL1_13",
"jr_station": "UL1_9_JR1"
},
"UL2": {
"start": "UL2_1",
"stop": "UL2_10",
"jr_station": "UL1_9_JR1"
},
"UL3": {
"start": "UL3_1",
"stop": "UL3_9",
"jr_station": "UL1_9_JR1"
},
"UL4": {
"start": "UL4_1",
"stop": "UL4_13",
"jr_station": "UL4_9_JR1"
},
"UL5": {
"start": "UL5_1",
"stop": "UL5_10",
"jr_station": "UL4_9_JR1"
},
"UL6": {
"start": "UL6_1",
"stop": "UL6_9",
"jr_station": "UL4_9_JR1"
},
"UL7": {
"start": "UL7_1",
"stop": "UL7_13",
"jr_station": "UL7_9_JR1"
},
"UL8": {
"start": "UL8_1",
"stop": "UL8_9",
"jr_station": "UL7_9_JR1"
},
"UL9": {
"start": "UL9_1",
"stop": "UL9_11",
"jr_station": "UL7_9_JR1"
},
"UL10": {
"start": "UL10_1",
"stop": "UL10_10",
"jr_station": "UL11_9_JR1"
},
"UL11": {
"start": "UL11_1",
"stop": "UL11_13",
"jr_station": "UL11_9_JR1"
},
"UL12": {
"start": "UL12_1",
"stop": "UL12_10",
"jr_station": "UL11_9_JR1"
}
},
"jpe_lane_beacon_mappings": {
"UL1": [
{
"start": "UL1_1",
"stop": "UL1_13",
"beacon_output": "UL1_9_VFD1:O.IO_0"
},
{
"start": "UL1_14",
"stop": "UL1_20",
"beacon_output": "UL1_15_VFD1:O.IO_0"
}
],
"UL2": {
"start": "UL2_1",
"stop": "UL2_10",
"beacon_output": "UL1_9_VFD1:O.IO_0"
},
"UL3": {
"start": "UL3_1",
"stop": "UL3_9",
"beacon_output": "UL1_9_VFD1:O.IO_0"
},
"UL4": [
{
"start": "UL4_1",
"stop": "UL4_13",
"beacon_output": "UL4_9_VFD1:O.IO_0"
},
{
"start": "UL4_14",
"stop": "UL4_20",
"beacon_output": "UL4_15_VFD1:O.IO_0"
}
],
"UL5": {
"start": "UL5_1",
"stop": "UL5_10",
"beacon_output": "UL4_9_VFD1:O.IO_0"
},
"UL6": {
"start": "UL6_1",
"stop": "UL6_9",
"beacon_output": "UL4_9_VFD1:O.IO_0"
},
"UL7": [
{
"start": "UL7_1",
"stop": "UL7_13",
"beacon_output": "UL7_9_VFD1:O.IO_0"
},
{
"start": "UL7_14",
"stop": "UL7_20",
"beacon_output": "NCP1_2_FIO1:O.Pt00.Data"
}
],
"UL8": {
"start": "UL8_1",
"stop": "UL8_9",
"beacon_output": "UL7_9_VFD1:O.IO_0"
},
"UL9": {
"start": "UL9_1",
"stop": "UL9_11",
"beacon_output": "UL7_9_VFD1:O.IO_0"
},
"UL10": {
"start": "UL10_1",
"stop": "UL10_10",
"beacon_output": "UL11_9_VFD1:O.IO_1"
},
"UL11": [
{
"start": "UL11_1",
"stop": "UL11_13",
"beacon_output": "UL11_9_VFD1:O.IO_1"
},
{
"start": "UL11_14",
"stop": "UL11_20",
"beacon_output": "UL11_15_VFD1:O.IO_0"
}
],
"UL12": {
"start": "UL12_1",
"stop": "UL12_10",
"beacon_output": "UL11_9_VFD1:O.IO_1"
},
"UL13": {
"start": "UL13_13",
"stop": "UL13_19",
"beacon_output": "UL13_13_VFD1:O.IO_0"
},
"UL18": {
"start": "UL18_17",
"stop": "UL18_23",
"beacon_output": "UL18_17_VFD1:O.IO_0"
},
"UL21": {
"start": "UL21_18",
"stop": "UL21_18",
"beacon_output": "UL21_18_VFD1:O.IO_0"
}
},
"fpe_include_tokens": [ "FPE", "3CH_PE" ],
"flow_ctrl_vfd_name_regex": "^(?P<lane>[^_]+)_(?P<pos>\\d+)_VFD\\d+",
"flow_ctrl_extendo_name_regex": "^(?P<lane>[^_]+)_(?P<pos>\\d+)_EX\\d+",
"flow_ctrl_chain_order": "natural",
"flow_ctrl_enable_extendo_interlocks": true,
"flow_ctrl_cross_lane_interlocks": {
"UL1_9_VFD1": ["UL2_10_VFD1", "UL3_9_VFD1"],
"UL11_9_VFD1":["UL12_10_VFD1","UL10_10_VFD1"],
"PS4_1_VFD1":["UL11_13_VFD1"],
"UL7_9_VFD1":["UL8_9_VFD1","UL9_11_VFD1"],
"PS3_1_VFD1":["UL7_13_VFD1"],
"UL4_9_VFD1":["UL5_10_VFD1","UL6_9_VFD1"],
"PS2_1_VFD1":["UL4_13_VFD1"],
"PS1_1_VFD1":["UL1_13_VFD1"],
"UL21_11_VFD1":["UL20_11_VFD1","UL19_9_VFD1"],
"UL18_10_VFD1":["UL17_10_VFD1","UL16_9_VFD1"],
"UL13_8_VFD1":["UL14_10_VFD1","UL15_11_VFD1"],
"PS5_1_VFD1":["UL13_12_VFD1"],
"PS6_1_VFD1":["UL18_16_VFD1"],
"PS7_1_VFD1":["UL21_17_VFD1"],
"NCP1_1_VFD1":["UL1_20_VFD1","UL4_20_VFD1"],
"NCP1_2_VFD1":["UL7_20_VFD1","UL11_20_VFD1"],
"NCP1_3_VFD1":["UL13_19_VFD1","UL18_23_VFD1","UL21_24_VFD1"]
}
}
}