54 #define EC_SOE_DATASTATE_B 0x01 55 #define EC_SOE_NAME_B 0x02 56 #define EC_SOE_ATTRIBUTE_B 0x04 57 #define EC_SOE_UNIT_B 0x08 58 #define EC_SOE_MIN_B 0x10 59 #define EC_SOE_MAX_B 0x20 60 #define EC_SOE_VALUE_B 0x40 61 #define EC_SOE_DEFAULT_B 0x80 63 #define EC_SOE_MAXNAME 60 64 #define EC_SOE_MAXMAPPING 64 66 #define EC_IDN_MDTCONFIG 24 67 #define EC_IDN_ATCONFIG 16 111 #define EC_SOE_LENGTH_1 0x00 112 #define EC_SOE_LENGTH_2 0x01 113 #define EC_SOE_LENGTH_4 0x02 114 #define EC_SOE_LENGTH_8 0x03 115 #define EC_SOE_TYPE_BINARY 0x00 116 #define EC_SOE_TYPE_UINT 0x01 117 #define EC_SOE_TYPE_INT 0x02 118 #define EC_SOE_TYPE_HEX 0x03 119 #define EC_SOE_TYPE_STRING 0x04 120 #define EC_SOE_TYPE_IDN 0x05 121 #define EC_SOE_TYPE_FLOAT 0x06 122 #define EC_SOE_TYPE_PARAMETER 0x07 154 int ec_readIDNmap(
uint16 slave,
int *Osize,
int *Isize);
#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)
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]
uint16 idn[EC_SOE_MAXMAPPING]