diff -r e6264685dd7b -r f564d0929292 master/slave.h --- a/master/slave.h Thu Mar 02 13:08:07 2006 +0000 +++ b/master/slave.h Mon Mar 06 15:12:34 2006 +0000 @@ -16,6 +16,28 @@ /*****************************************************************************/ /** + Zustand eines EtherCAT-Slaves. +*/ + +typedef enum +{ + EC_SLAVE_STATE_UNKNOWN = 0x00, /**< Status unbekannt */ + EC_SLAVE_STATE_INIT = 0x01, /**< Init-Zustand (Keine Mailbox- + Kommunikation, Kein I/O) */ + EC_SLAVE_STATE_PREOP = 0x02, /**< Pre-Operational (Mailbox- + Kommunikation, Kein I/O) */ + EC_SLAVE_STATE_SAVEOP = 0x04, /**< Save-Operational (Mailbox- + Kommunikation und Input Update) */ + EC_SLAVE_STATE_OP = 0x08, /**< Operational, (Mailbox- + Kommunikation und Input/Output Update) */ + EC_ACK = 0x10 /**< Acknoledge-Bit beim Zustandswechsel + (dies ist kein eigener Zustand) */ +} +ec_slave_state_t; + +/*****************************************************************************/ + +/** FMMU-Konfiguration. */