matlab_23550/Inu/Src/main_matlab/io_verbal_names.h
2024-12-27 10:50:32 +03:00

74 lines
4.1 KiB
C

#ifndef _IO_VERBAL_NAMES
#define _IO_VERBAL_NAMES
//#include "xp_project.h"
#define CHANNEL_IS_ON_IN1 1
#define CHANNEL_IS_ON_IN2 0
#define CHANNEL_IS_OFF 1
// //IN0
// #define IN_OIL_PUMP_IS_READY project.cds_in[0].read.pbus.data_in.bit.in4
// #define IN_LOCAL_CONTROL project.cds_in[0].read.pbus.data_in.bit.in9
// //IN0 UKSS READY
// #define IN_READY_BV1 project.cds_in[0].read.pbus.ready_in.bit.in5
// #define IN_READY_BV2 project.cds_in[0].read.pbus.ready_in.bit.in7
// #define IN_READY_UKSI project.cds_in[0].read.pbus.ready_in.bit.in10
// #define IN_READY_BI1 project.cds_in[0].read.pbus.ready_in.bit.in11
// #define IN_READY_BI2 project.cds_in[0].read.pbus.ready_in.bit.in13
// #define IN_READY_UMU project.cds_in[0].read.pbus.ready_in.bit.in15
// //IN1
// #define IN_EMERGENCY_STOP project.cds_in[1].read.pbus.data_in.bit.in0
// #define IN_PCH_IS_BLOCKED project.cds_in[1].read.pbus.data_in.bit.in1
// #define IN_PROTECTION_ERROR project.cds_in[1].read.pbus.data_in.bit.in2
// #define IN_BTR_IS_OFF project.cds_in[1].read.pbus.data_in.bit.in3
// #define IN_RESERVED_TO_INV2_1 project.cds_in[1].read.pbus.data_in.bit.in4
// #define IN_RECEIVED_TASK_FROM_SVU project.cds_in[1].read.pbus.data_in.bit.in5
// #define IN_QTV22_IS_ON project.cds_in[1].read.pbus.data_in.bit.in6
// #define IN_ERROR_PAIR_INV project.cds_in[1].read.pbus.data_in.bit.in8
// #define IN_BREAKING_K1 project.cds_in[1].read.pbus.data_in.bit.in9
// #define IN_ALARM_K2 project.cds_in[1].read.pbus.data_in.bit.in10
// #define IN_TURNDOWN_K4 project.cds_in[1].read.pbus.data_in.bit.in11 //îòêàç
// #define IN_BWC_NO_24VOLT_ERROR project.cds_in[1].read.pbus.data_in.bit.in12
// #define IN_BWC_AUTO_MODE project.cds_in[1].read.pbus.data_in.bit.in13
// #define IN_BSU_DOORS_ARE_CLOSED project.cds_in[1].read.pbus.data_in.bit.in15
// //IN2
// #define IN_PCH_IS_LEADING project.cds_in[2].read.pbus.data_in.bit.in0
// #define IN_PCH_IS_LEADING_2 project.cds_in[2].read.pbus.data_in.bit.in2
// #define IN_TEST_LAMPS project.cds_in[2].read.pbus.data_in.bit.in3
// #define IN_EMERGANCY_BUTTON project.cds_in[2].read.pbus.data_in.bit.in4
// #define IN_EMERGENCY_STOP_EXTERNAL project.cds_in[2].read.pbus.data_in.bit.in5
// #define IN_RESET_ERRORS project.cds_in[2].read.pbus.data_in.bit.in6
// #define IN_BSU_DOORS_ARE_BLOCKED project.cds_in[2].read.pbus.data_in.bit.in7
// //OUT0
// #define OUT_READY1 project.cds_out[0].write.sbus.data_out.bit.dout0
// #define OUT_READY2 project.cds_out[0].write.sbus.data_out.bit.dout1
// #define OUT_INVERTOR_ERROR project.cds_out[0].write.sbus.data_out.bit.dout2
// #define OUT_BATTERY_LOADED project.cds_out[0].write.sbus.data_out.bit.dout3
// #define OUT_CHARGE_BLOCKED project.cds_out[0].write.sbus.data_out.bit.dout4
// #define OUT_TURN_ON_BWC project.cds_out[0].write.sbus.data_out.bit.dout5
// #define OUT_OIL_PUMP project.cds_out[0].write.sbus.data_out.bit.dout6
// #define OUT_ALLOW_TURN_ON_QTV22 project.cds_out[0].write.sbus.data_out.bit.dout7
// #define OUT_CHOOSE_CHANNEL project.cds_out[0].write.sbus.data_out.bit.dout8
// #define OUT_RESET_ERRORS project.cds_out[0].write.sbus.data_out.bit.dout9
// #define OUT_TURN_ON_HIDRO_PODPOR project.cds_out[0].write.sbus.data_out.bit.dout10
// #define OUT_RECEIVED_TASK_FROM_SVU project.cds_out[0].write.sbus.data_out.bit.dout11
// #define OUT_RESERV_2 project.cds_out[0].write.sbus.data_out.bit.dout12
// //OUT1
// #define OUT_LAMP_READY1 project.cds_out[1].write.sbus.data_out.bit.dout0
// #define OUT_LAMP_READY2 project.cds_out[1].write.sbus.data_out.bit.dout1
// #define OUT_LAMP_BATTERY_LOADED project.cds_out[1].write.sbus.data_out.bit.dout2
// #define OUT_LAMP_FAULT project.cds_out[1].write.sbus.data_out.bit.dout3
// #define OUT_LAMP_OVERHEAT project.cds_out[1].write.sbus.data_out.bit.dout4
// #define OUT_LAMP_POWER_LIMIT project.cds_out[1].write.sbus.data_out.bit.dout5
// #define OUT_SWITCH_HI_VOLTAGE_TEST_LAMPS project.cds_out[1].write.sbus.data_out.bit.dout6
#endif //_IO_VERBAL_NAMES