PLC_Generation/generator_config.json
2025-08-26 21:29:02 +04:00

220 lines
5.7 KiB
JSON

{
"files": {
"excel_file": "DESC_IP_MERGED.xlsx",
"output_dir": ".",
"zones_file": "zones.json",
"safety_l5x": "SafetyProgram_Generated.L5X",
"main_l5x": "MainProgram_Generated.L5X",
"mapping_txt": "SafetyTagMapping.txt"
},
"xml": {
"schema_revision": "1.0",
"software_revision": "36.00",
"controller_name": "MTN6_MCM01",
"target_class": "Standard",
"export_options": "References NoRawData L5KData DecoratedData Context Dependencies ForceProtectedEncoding AllProjDocTrans"
},
"extraction": {
"rst_desc_contains": [
"START"
],
"rst_desc_excludes": [
"LIGHT"
],
"rst_desca_patterns": [
"S1_PB",
"S2_PB"
],
"rst_desca_endings": [
"SPB"
],
"rst_desca_exclude_patterns": [
"GS1"
],
"sto_tagname_patterns": [
"VFD"
],
"sto_desca_patterns": [
"STO"
],
"epc_desca_patterns": [
"EPC",
"ESTOP"
],
"dpm_partnumber_contains": [
"OS30-002404-2S"
],
"fiom_partnumber_contains": [
"5032-8IOLM12DR"
],
"fioh_partnumber_contains": [
"5032-8IOLM12DR"
],
"fioh_desca_contains": [
"FIOH"
],
"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": [
"FL",
"S0"
],
"vfd_prefix_regex": "(FL\\d+_\\d+)",
"vfd_suffix_default": "_VFD1",
"jpe_include_tokens": [
"JPE",
"_2_PE"
],
"jpe_exclude_tokens": [
"3CH_PE"
],
"jpe_input_default": "In_2",
"jpe_lane_jr_mappings": {},
"jpe_lane_beacon_mappings": {},
"fpe_include_tokens": [
"FPE",
"3CH_PE"
],
"flow_ctrl_vfd_name_regex": "^(?P<lane>[^_]+)_(?P<pos>\\d+[A-Za-z]?)_VFD\\d*",
"flow_ctrl_extendo_name_regex": "^(?P<lane>[^_]+)_(?P<pos>\\d+[A-Za-z]?)_EX\\d*",
"flow_ctrl_chain_order": "lane",
"flow_ctrl_enable_extendo_interlocks": true,
"flow_ctrl_emit_first_vfd_ote": true,
"flow_ctrl_chain_direction": "downstream_to_upstream",
"flow_ctrl_emit_last_vfd_ote": true,
"flow_ctrl_emit_last_extendo_ote": true,
"flow_ctrl_select_vfds_by_name": true,
"flow_ctrl_lane_tokens": 3,
"flow_ctrl_cross_lane_interlocks": {}
},
"routines": {
"main_routine_name": "MainRoutine",
"safety_tag_map_name": "R130_SAFETY_TAG_MAP",
"estop_check_name": "R120_ESTOP_CHECK",
"safety_tag_prefix": "SFT_",
"mcm_input_address": "Local:5:I.Data.0",
"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",
"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",
"inputs_routine": "R010_INPUTS",
"outputs_routine": "R011_OUTPUTS",
"resets_routine": "R012_RESETS",
"estops_routine": "R020_ESTOPS",
"zones_routine": "R030_ZONES",
"mcm_safety_tag": "MCM_S_PB",
"mcm_epb_tag": "MCM_EPB_DCS_CTRL.O1",
"speed_ctrl_setpoint_tag": "Speed_350_FPM",
"speed_ctrl_setpoint_value": 350,
"no_horn_tag_name": "NO_Horn",
"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"
],
"name_map": {
"main_routine": "MainRoutine",
"safety_tag_map": "R130_SAFETY_TAG_MAP",
"estop_check": "R120_ESTOP_CHECK",
"dpm": "R020_DPM",
"fiom": "R030_FIOM",
"fioh": "R031_FIOH",
"apf": "R040_APF",
"extendo": "R041_EXTENDO",
"flow_ctrl": "R050_FLOW_CTRL",
"speed_ctrl": "R051_SPEED_CTRL",
"d2c_chute": "R042_D2C_CHUTE",
"pb_chute": "R043_PB_CHUTE",
"station_jr_chute": "R044_STATION_JR_CHUTE",
"station_jr_pb": "R090_STATION_JR_PB",
"station_s_pb": "R095_STATION_S_PB",
"station_ss_pb": "R096_STATION_SS_PB",
"station_epc": "R097_STATION_EPC",
"jpe": "R100_JPE",
"fpe": "R101_FPE",
"pmm": "R060_PMM",
"cb_monitor": "R070_CB_MONITOR",
"encoder": "R080_ENCODER",
"rack": "R011_RACK",
"mcm": "R010_MCM",
"inputs": "R010_INPUTS",
"outputs": "R011_OUTPUTS",
"resets": "R012_RESETS",
"estops": "R020_ESTOPS",
"zones": "R030_ZONES"
}
},
"routine_plan": [],
"tags": {}
}