364
17 COMMUNICATING USING 1C FRAMES
17.4 Device Memory Read and Write
Test (random write) (word units) (command: WT, QT)
Set/reset devices and device numbers to bit devices (X, Y, M, etc.) by specifying them randomly in 16 point units.
Write devices and device numbers to word devices (D, T, C, etc.) by specifying them randomly in 1 point units.
A mixture of word devices and bit devices (16 bit units) can be specified.
Message format
The following shows the message format of the request data and response data of the command.
■Request data
■Response data
There is no response data for this command.
Data specified by request data
■Command
■Message wait
Specify the delayed time of the response transmission. (Page 347 Message wait)
■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:
•1 Number of device points 10 (for bit device : 10 (16 points are designated as 1))
■Device
Specify the device to test. (Page 351 Device codes, device numbers)
■Write data
Store 4-digit data per one device point. (Page 353 Read data, write data)
When specifying bit devices, set the head device No. in multiples of 16 (0, 16, ... in decimal notation).
ACPU common AnA/AnUCPU common
Write data
(nth point)
Device
(first point)
Device
(nth point)
Number of
device points
(n points)
Write data
(first point)
Message waitCommand
QT
51H 54H