368
17 COMMUNICATING USING 1C FRAMES
17.4 Device Memory Read and Write
Register monitor data (word units) (command: WM, QM)
Register the bit devices (X, Y, M, etc.) to be monitored in 16-point units.
Register the word devices (D, T, C, etc.) to be monitored in 1-point units.
A mixture of word devices and bit devices (16 bit units) can be specified.
Monitor the device memory registered in word units using the following command.
Page 370 Monitor (word units) (command: MN, MQ)
■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.
• Device: Specify the devices to be monitored. (Page 351 Device codes, device numbers)
Specify the number of device points within the following range:
1 Number of device points 20
When using the WM command and accessing ACPU other than AnA/AnU, device X (input) has two
processing points per point.
■Response data
There is no response data for this command.
■Communication example (Monitor data registration in word units)
Register the monitor data in a word unit under the following conditions.
• Message wait: 0 ms
• Number of device points: 4 points (4 words)
• Device: Current value of D15, W11E, and T123, and Y060 to Y06F
(Request data)
• When using WM (ACPU common command)
• When using QM (AnA/AnUCPU common command)
ACPU common AnA/AnUCPU common
Device
(first point)
Device
(nth point)
Number of
device points
(n points)
Command Message wait
1E0W1 23NT1 600Y0WM 104 500D0
57
H
4D
H
44
H
30
H
31
H
35
H
30
H
34
H
30
H
30
H
57
H
31
H
31
H
45
H
30
H
54
H
31
H
32
H
33
H
4E
H
59
H
30
H
36
H
30
H
30
H
Message wait
Number of
device points
Device DeviceDevice Device
QM
51
H
4D
H
30
H
04
30
H
34
H
0
30
H
30
H
000
30
H
0
30
H
44
H
1
31
H
35
H
5D
57
H
1
31
H
31
H
45
H
EW 1N
4E
H
59
H
6
30
H
36
H
30
H
00
30
H
Y0
30
H
0
30
H
0
30
H
0
30
H
0
54
H
2
31
H
32
H
33
H
3T10
30
H
30
H
0
30
H
0
Message wait
Number of
device points
DeviceDevice Device
Device