This is a structure information for writing Modbus TCP data, and consists of the following fields.
|
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|
0 |
Name |
char[32] |
- |
32bytes indentifier |
|
32 |
IP Address |
char[16] |
- |
TCP IP address |
|
52 |
Port |
unsigned short |
- |
Port number |
|
56 |
Slave ID |
int |
- |
1~255 |
|
60 |
Register type |
unsgiend char |
- |
Register type |
|
61 |
index |
unsigned short |
- |
index |
|
65 |
value |
unsigned short |
- |
value(0~65535) |