equal
deleted
inserted
replaced
9 *****************************************************************************/ |
9 *****************************************************************************/ |
10 |
10 |
11 #ifndef _EC_GLOBALS_ |
11 #ifndef _EC_GLOBALS_ |
12 #define _EC_GLOBALS_ |
12 #define _EC_GLOBALS_ |
13 |
13 |
|
14 /*****************************************************************************/ |
|
15 |
14 /** |
16 /** |
15 Maximale Größe eines EtherCAT-Frames |
17 Maximale Größe eines EtherCAT-Frames |
16 */ |
18 */ |
17 #define ECAT_FRAME_BUFFER_SIZE 1500 |
19 #define ECAT_FRAME_BUFFER_SIZE 1500 |
18 |
20 |
21 */ |
23 */ |
22 |
24 |
23 #ifndef NULL |
25 #ifndef NULL |
24 #define NULL ((void *) 0) |
26 #define NULL ((void *) 0) |
25 #endif |
27 #endif |
|
28 |
|
29 /*****************************************************************************/ |
26 |
30 |
27 /** |
31 /** |
28 EtherCAT-Kommando-Typ |
32 EtherCAT-Kommando-Typ |
29 */ |
33 */ |
30 |
34 |
38 ECAT_CMD_BRD = 0x07, /**< Broadcast read */ |
42 ECAT_CMD_BRD = 0x07, /**< Broadcast read */ |
39 ECAT_CMD_BWR = 0x08, /**< Broadcast write */ |
43 ECAT_CMD_BWR = 0x08, /**< Broadcast write */ |
40 ECAT_CMD_LRW = 0x0C /**< Logical read/write */ |
44 ECAT_CMD_LRW = 0x0C /**< Logical read/write */ |
41 } |
45 } |
42 EtherCAT_cmd_type_t; |
46 EtherCAT_cmd_type_t; |
|
47 |
|
48 /*****************************************************************************/ |
43 |
49 |
44 /** |
50 /** |
45 Zustand eines EtherCAT-Slaves |
51 Zustand eines EtherCAT-Slaves |
46 */ |
52 */ |
47 |
53 |