64 lines
1.8 KiB
C
64 lines
1.8 KiB
C
|
/*
|
|||
|
* can_protocol_ukss.h
|
|||
|
*
|
|||
|
* Created on: 23 <EFBFBD><EFBFBD><EFBFBD>. 2024 <EFBFBD>.
|
|||
|
* Author: yura
|
|||
|
*/
|
|||
|
|
|||
|
#ifndef SRC_MAIN_CAN_PROTOCOL_UKSS_H_
|
|||
|
#define SRC_MAIN_CAN_PROTOCOL_UKSS_H_
|
|||
|
|
|||
|
|
|||
|
|
|||
|
#define CAN_PROTOCOL_UKSS 2 // 2
|
|||
|
|
|||
|
|
|||
|
#ifndef CAN_PROTOCOL_UKSS
|
|||
|
#define CAN_PROTOCOL_UKSS 1
|
|||
|
#endif
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
#if (CAN_PROTOCOL_UKSS == 2)
|
|||
|
|
|||
|
|
|||
|
#define ADR_CYCLES_TIMER_MAIN 96 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CAN, * 10 m<><6D><EFBFBD>
|
|||
|
#define ADR_CYCLES_TIMER_ADD 97 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CAN, * 10 m<><6D><EFBFBD>
|
|||
|
#define ADR_CYCLES_PAUSE_MAIN 98 //<2F><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CAN, * 10 m<><6D><EFBFBD>
|
|||
|
#define ADR_CYCLES_PAUSE_ADD 99 //<2F><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CAN, * 10 m<><6D><EFBFBD>
|
|||
|
#define ADR_CYCLES_REPEATE_MAIN 100 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CAN, * 10 m<><6D><EFBFBD>
|
|||
|
#define ADR_CYCLES_REPEATE_ADD 101 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CAN, * 10 m<><6D><EFBFBD>
|
|||
|
#define ADR_CYCLES_REPEATE_DIGIO 102 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD>
|
|||
|
|
|||
|
#define ADR_LIGHT_LED_1 104 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 1
|
|||
|
#define ADR_LIGHT_LED_2 105 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 2
|
|||
|
#define ADR_LIGHT_LED_3 106 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 3
|
|||
|
#define ADR_LIGHT_LED_4 107 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 4
|
|||
|
#define ADR_LIGHT_LED_5 108 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 5
|
|||
|
#define ADR_LIGHT_LED_6 109 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 6
|
|||
|
#define ADR_LIGHT_LED_7 110 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> 7
|
|||
|
|
|||
|
|
|||
|
|
|||
|
#define ADR_COUNT_CYCLES_MAIN 120 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CAN
|
|||
|
#define ADR_COUNT_CYCLES_ADD 121 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CAN
|
|||
|
#define ADR_COUNT_FULL_CYCLES_MAIN 122 //<2F><><EFBFBD>-<2D><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CAN
|
|||
|
#define ADR_COUNT_FULL_CYCLES_ADD 123 //<2F><><EFBFBD>-<2D><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> CAN
|
|||
|
|
|||
|
#define ADR_PROTOCOL_VERSION 125 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
#define ADR_UKSS_NUMBER 126 //<2F><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
#endif
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
#endif /* SRC_MAIN_CAN_PROTOCOL_UKSS_H_ */
|