IETHERNET_SLAVE_RESPONSE_DATA_EX
This is a structure information to store Industrial Ethernet (IE) slave response data with extended information. It includes the GPR (General Purpose Register) data type, address, direction, and the corresponding response data buffer.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
|
0 / 1 / 2 |
GPR data type |
1 |
|
|
GPR register address |
|
2 |
|
|
0 / 1 |
Data direction |
3 |
|
|
Data buffer containing the slave’s response value (string format) |
Total size: 131 bytes
Defined in: DRFS.h
typedef struct _IETHERNET_SLAVE_RESPONSE_DATA_EX
{
unsigned char _iGprType;
unsigned char _iGprAddr;
unsigned char _iInOut;
char _szData[128];
} IETHERNET_SLAVE_RESPONSE_DATA_EX, *LPIETHERNET_SLAVE_RESPONSE_DATA_EX;