NorthStar-Endurance-TestBench/EnduranceTestBench/coappl/gen_indices.h

135 lines
5.5 KiB
C

/*
* CO index/J1939 PGN/raw CAN-ID defines for enduranceTestBench - generated by CANopen DeviceDesigner 3.14.2
* Tue Jul 29 15:13:57 2025
*/
/* protect against multiple inclusion of the file */
#ifndef GEN_INDICES_H
#define GEN_INDICES_H 1
#define I_DEVICE_TYPE 0x1000u
#define I_ERROR_REGISTER 0x1001u
#define I_PREDEFINED_ERROR_FIELD 0x1003u
#define S_STANDARD_ERROR_FIELD 0x1u
#define I_MANUFACTURER_DEVICE_NAME 0x1008u
#define I_COB_ID_EMCY 0x1014u
#define I_INHIBIT_TIME_EMERGENCY 0x1015u
#define I_CONSUMER_HEARTBEAT_TIME 0x1016u
#define S_CONSUMER_HEARTBEAT_TIME 0x1u
#define I_PRODUCER_HEARTBEAT_TIME 0x1017u
#define I_IDENTITY_OBJECT 0x1018u
#define S_VENDOR_ID 0x1u
#define S_PRODUCT_CODE 0x2u
#define S_REVISION_NUMBER 0x3u
#define S_SERIAL_NUMBER 0x4u
#define I_ERROR_BEHAVIOUR 0x1029u
#define S_COMMUNICATION_ERROR 0x1u
#define S_SPECIFIC_ERROR_CLASS_ 0x2u
#define I_NMT_INHIBIT_TIME 0x102au
#define I_SERVER_SDO_PARAMETER 0x1200u
#define S_COB_ID_CLIENT_TO_SERVER 0x1u
#define S_COB_ID_SERVER_TO_CLIENT 0x2u
#define I_SDO_CLIENT_PARAMETER 0x1280u
#define S_COB_ID_CLIENT_SERVER 0x1u
#define S_COB_ID_SERVER_CLIENT 0x2u
#define S_NODE_ID_OF_THE_SDO_SERVER 0x3u
#define I_SDO_CLIENT_PARAMETER1 0x1281u
#define I_SDO_CLIENT_PARAMETER2 0x1282u
#define I_SDO_CLIENT_PARAMETER3 0x1283u
#define I_SDO_CLIENT_PARAMETER4 0x1284u
#define I_SDO_CLIENT_PARAMETER5 0x1285u
#define I_SDO_CLIENT_PARAMETER6 0x1286u
#define I_SDO_CLIENT_PARAMETER7 0x1287u
#define I_SDO_CLIENT_PARAMETER8 0x1288u
#define I_SDO_CLIENT_PARAMETER9 0x1289u
#define I_SDO_CLIENT_PARAMETER10 0x128au
#define I_SDO_CLIENT_PARAMETER11 0x128bu
#define I_SDO_CLIENT_PARAMETER12 0x128cu
#define I_SDO_CLIENT_PARAMETER13 0x128du
#define I_SDO_CLIENT_PARAMETER14 0x128eu
#define I_SDO_CLIENT_PARAMETER15 0x128fu
#define I_SDO_CLIENT_PARAMETER16 0x1290u
#define I_SDO_CLIENT_PARAMETER17 0x1291u
#define I_SDO_CLIENT_PARAMETER18 0x1292u
#define I_SDO_CLIENT_PARAMETER19 0x1293u
#define I_DUMMY_TRANSMIT_PDO_COMMUNICATION_PARAMETER 0x1800u
#define S_COB_ID 0x1u
#define S_TRANSMISSION_TYPE 0x2u
#define I_FLOWMETER_TPDO_COMMUNICATION_PARAMETER 0x1801u
#define S_COB_ID_USED_BY_TPDO 0x1u
#define S_INHIBIT_TIME 0x3u
#define S_EVENT_TIMER 0x5u
#define I_PRESSURE_SENSOR_TPDO_COMMUNICATION_PARAMETER 0x1802u
#define I_PUMP_AND_EDI_FEEDBACK_TPDO_COMMUNICATION_PARAMETER 0x1803u
#define I_PID_ACTUATOR_SETPOINTS_1_TPDO_COMMUNICATION_PARAMETER 0x1804u
#define I_PID_ACTUATOR_SETPOINTS_2_TPDO_COMMUNICATION_PARAMETER 0x1805u
#define I_MOTOR_FEEDBACK_TPDO_COMMUNICATION_PARAMETER 0x1806u
#define I_PID_ACTUATOR_SETPOINTS_3_TPDO_COMMUNICATION_PARAMETER 0x1807u
#define I_DUMMY_TRANSMIT_PDO_MAPPING_PARAMETER 0x1a00u
#define S_MAPPING_ENTRY_1 0x1u
#define I_FLOWMETER_TPDO_MAPPING_PARAMETER 0x1a01u
#define S_MAPPING_ENTRY_2 0x2u
#define S_MAPPING_ENTRY_3 0x3u
#define S_MAPPING_ENTRY_4 0x4u
#define I_PRESSURE_SENSOR_TPDO_MAPPING_PARAMETER 0x1a02u
#define I_PUMP_AND_EDI_FEEDBACK_TPDO_MAPPING_PARAMETER 0x1a03u
#define I_PID_ACTUATOR_SETPOINTS_1_TPDO_MAPPING_PARAMETER 0x1a04u
#define S_MAPPING_ENTRY_5 0x5u
#define S_MAPPING_ENTRY_6 0x6u
#define S_MAPPING_ENTRY_7 0x7u
#define S_MAPPING_ENTRY_8 0x8u
#define I_PID_ACTUATOR_SETPOINTS_2_TPDO_MAPPING_PARAMETER 0x1a05u
#define I_MOTOR_FEEDBACK_TPDO_MAPPING_PARAMETER 0x1a06u
#define I_PID_ACTUATOR_SETPOINTS_3_TPDO_MAPPING_PARAMETER 0x1a07u
#define I_STATE_MACHINE_CONTROL_PARAMETERS 0x2000u
#define S_MODE 0x1u
#define S_RO_FLUSH_TIME 0x2u
#define S_RO_RINSE_TIME 0x3u
#define S_EDI_RINSE_TIME 0x4u
#define S_STATE 0x5u
#define I_FLOWMETER_DATA_OUT 0x2001u
#define S_FM1_PERMEATE_OUT 0x1u
#define S_FM2_DILUTE_OUT 0x2u
#define S_FM3_RECIRC_OUT 0x3u
#define S_FM4_DRAIN_OUT 0x4u
#define I_PRESSURE_SENSOR_DATA_OUT 0x2002u
#define S_PS1_RETENTATE_OUT 0x1u
#define S_PS2_RO_OUT 0x2u
#define S_PS3_DILUTE_OUT 0x3u
#define I_PUMP_RO_FEEDBACK_SPEED 0x2003u
#define I_EDI_FEEDBACK 0x2004u
#define S_EDI_CURRENT_OUT 0x1u
#define S_EDI_VOLTAGE_OUT 0x2u
#define I_MOTOR_SETPOINT 0x2005u
#define S_MV01_SETPOINT 0x1u
#define S_MV02_SETPOINT 0x2u
#define S_MV03_SETPOINT 0x3u
#define S_MV04_SETPOINT 0x4u
#define S_MV05_SETPOINT 0x5u
#define S_MV06_SETPOINT 0x6u
#define S_MV07_SETPOINT 0x7u
#define S_MV08_SETPOINT 0x8u
#define S_MV09_SETPOINT 0x9u
#define S_MV10_SETPOINT 0xau
#define S_MV11_SETPOINT 0xbu
#define S_MV12_SETPOINT 0xcu
#define S_MV13_SETPOINT 0xdu
#define S_MV14_SETPOINT 0xeu
#define S_MV15_SETPOINT 0xfu
#define S_MV16_SETPOINT 0x10u
#define S_MV17_SETPOINT 0x11u
#define S_MV18_SETPOINT 0x12u
#define S_MV19_SETPOINT 0x13u
#define S_MV20_SETPOINT 0x14u
#define I_MOTOR_FEEDBACK 0x2006u
#define S_MV02_FEEDBACK 0x2u
#define S_MV03_FEEDBACK 0x3u
#define S_MV04_FEEDBACK 0x4u
#define S_MV05_FEEDBACK 0x5u
#define S_MV06_FEEDBACK 0x6u
#define S_MV07_FEEDBACK 0x7u
#define S_MV08_FEEDBACK 0x8u
#define S_NUMBER_OF_ENTRIES 0x0u
#endif /* GEN_INDICES_H */