equal
deleted
inserted
replaced
10 |
10 |
11 #ifndef _EC_SLAVE_H_ |
11 #ifndef _EC_SLAVE_H_ |
12 #define _EC_SLAVE_H_ |
12 #define _EC_SLAVE_H_ |
13 |
13 |
14 #include "types.h" |
14 #include "types.h" |
|
15 |
|
16 /*****************************************************************************/ |
|
17 |
|
18 /** |
|
19 Zustand eines EtherCAT-Slaves. |
|
20 */ |
|
21 |
|
22 typedef enum |
|
23 { |
|
24 EC_SLAVE_STATE_UNKNOWN = 0x00, /**< Status unbekannt */ |
|
25 EC_SLAVE_STATE_INIT = 0x01, /**< Init-Zustand (Keine Mailbox- |
|
26 Kommunikation, Kein I/O) */ |
|
27 EC_SLAVE_STATE_PREOP = 0x02, /**< Pre-Operational (Mailbox- |
|
28 Kommunikation, Kein I/O) */ |
|
29 EC_SLAVE_STATE_SAVEOP = 0x04, /**< Save-Operational (Mailbox- |
|
30 Kommunikation und Input Update) */ |
|
31 EC_SLAVE_STATE_OP = 0x08, /**< Operational, (Mailbox- |
|
32 Kommunikation und Input/Output Update) */ |
|
33 EC_ACK = 0x10 /**< Acknoledge-Bit beim Zustandswechsel |
|
34 (dies ist kein eigener Zustand) */ |
|
35 } |
|
36 ec_slave_state_t; |
15 |
37 |
16 /*****************************************************************************/ |
38 /*****************************************************************************/ |
17 |
39 |
18 /** |
40 /** |
19 FMMU-Konfiguration. |
41 FMMU-Konfiguration. |