5 Transmission Interface
19
5.2
Basic Format of Data Transfer
The basic format for transferring data is as follows.
The size of the header for a data link layer is fixed at two bytes.
By setting pin 2 on DIP switch S1, either 17 bytes (17-byte data transmission) or 32 bytes
(32-byte data transmission) can be selected as the data size for the data link layer. If 32-byte
data transmission is selected, only the first 29 bytes are used as application data.
* The first 30 bytes are used only when the INV_I/O sub-command is used.
Basic format of data transfer (17-byte data transmission)
Basic format of data transfer (32-byte data transmission)
Command data
Station address
Control code
Command code
−
Data
WDT
Response data
Header of
data link layer
Data link layer data
and application layer
Station address
+00H
+01H
+02H
+03H
+04H
+06H
+11H
+12H
+00H
+01H
+02H
+03H
+04H
+11H
+12H
Control code
Response code
Alarm
Status
Data
EWDT
Command data
Station address
Control code
Command code
−
Data
−
Data
Not used.
Data
Not used.
WDT
Sub-command
Sub-command
Sub-status
Response data
Header of data link layer
Application layer
Data in data link layer
Station address
+00H
+01H
+02H
+03H
+04H
+11H
+12H
+13H
+14H
+1FH
+21H
+00H
+01H
+02H
+03H
+04H
+11H
+12H
+13H
+14H
+1FH
+21H
Control code
Response code
Alarm
Status
Data
EWDT