19 #define EC_SOE_DATASTATE_B 0x01 20 #define EC_SOE_NAME_B 0x02 21 #define EC_SOE_ATTRIBUTE_B 0x04 22 #define EC_SOE_UNIT_B 0x08 23 #define EC_SOE_MIN_B 0x10 24 #define EC_SOE_MAX_B 0x20 25 #define EC_SOE_VALUE_B 0x40 26 #define EC_SOE_DEFAULT_B 0x80 28 #define EC_SOE_MAXNAME 60 29 #define EC_SOE_MAXMAPPING 64 31 #define EC_IDN_MDTCONFIG 24 32 #define EC_IDN_ATCONFIG 16 76 #define EC_SOE_LENGTH_1 0x00 77 #define EC_SOE_LENGTH_2 0x01 78 #define EC_SOE_LENGTH_4 0x02 79 #define EC_SOE_LENGTH_8 0x03 80 #define EC_SOE_TYPE_BINARY 0x00 81 #define EC_SOE_TYPE_UINT 0x01 82 #define EC_SOE_TYPE_INT 0x02 83 #define EC_SOE_TYPE_HEX 0x03 84 #define EC_SOE_TYPE_STRING 0x04 85 #define EC_SOE_TYPE_IDN 0x05 86 #define EC_SOE_TYPE_FLOAT 0x06 87 #define EC_SOE_TYPE_PARAMETER 0x07 #define EC_SOE_MAXMAPPING
PACKED_END PACKED_BEGIN struct PACKED ec_SoElistt
PACKED_BEGIN struct PACKED ec_SoEattributet
int ecx_readIDNmap(ecx_contextt *context, uint16 slave, int *Osize, int *Isize)
int ec_SoEwrite(uint16 slave, uint8 driveNo, uint8 elementflags, uint16 idn, int psize, void *p, int timeout)
int ec_SoEread(uint16 slave, uint8 driveNo, uint8 elementflags, uint16 idn, int *psize, void *p, int timeout)
int ec_readIDNmap(uint16 slave, int *Osize, int *Isize)
PACKED_END int ecx_SoEread(ecx_contextt *context, uint16 slave, uint8 driveNo, uint8 elementflags, uint16 idn, int *psize, void *p, int timeout)
PACKED_END PACKED_BEGIN struct PACKED ec_SoEmappingt
PACKED_BEGIN struct PACKED ec_SoEnamet
int ecx_SoEwrite(ecx_contextt *context, uint16 slave, uint8 driveNo, uint8 elementflags, uint16 idn, int psize, void *p, int timeout)
char name[EC_SOE_MAXNAME]