18 COMMUNICATING USING 1E FRAMES
18.4 Read and Write Device Memory
405
18
Batch read in word units (command: 01)
Reads bit devices (X, Y, M, etc.) in 16-point units.
Reads word devices (D, T, C, etc.) in 1-point units
Message format
The following shows the message format of the request data and response data of the command.
■Request data
■Response data
The data for the number of device points are stored.
The order of data differs depending on the ASCII code or binary code. (Page 402 Read data, write data)
Data specified by request data
■Head device
Specify the head device of the device to be read. (Page 397 Device codes and device numbers)
■Number of device points
Specify the device number to be read.
Specify '00H' when the number of device points is to 256 points. (Page 402 Number of device points)
When specifying bit devices, set the head device No. in multiples of 16 (0, 16, ... in decimal notation).
■Fixed value
Fixed to '0'.
ASCII code Binary code
Number of device
points
Head device
Fixed value