356
17 COMMUNICATING USING 1C FRAMES
17.4 Device Memory Read and Write
Batch read (word units) (command: WR, QR)
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 value of read device is stored in word units. (Page 74 Read data, write data)
Data specified by request data
■Command
■Message wait
Specify the delayed time of the response transmission. (Page 347 Message wait)
■Head device
Specify the head device. (Page 351 Device codes, device numbers)
■Number of device points
Convert the numerical value to 2-digit ASCII code (hexadecimal), and send it from the upper digits.
Specify the number of device points within the following range:
• For bit device: 1 Number of device points 32
• For bit device: Head device No. + Number of device points 16 - 1 Maximum device No.
• For word device: 1 Number of device points 64
• For word device: Head device No. + Number of device points - 1 Maximum device No.
• When specifying bit devices, set the head device No. in multiples of 16 (0, 16, ... in decimal notation).
ACPU common AnA/AnUCPU common
Number of device
points
(Number of words)
Message wait Head deviceCommand