370
17 COMMUNICATING USING 1C FRAMES
17.4 Device Memory Read and Write
Monitor (word units) (command: MN, MQ)
Monitor the registered bit devices (X, Y, M, etc.) in 16-point units.
Monitor the registered word device (D, T, C, etc.) in 1-point unit.
• The bit device memory registered with WM command is monitored using MN command.
• The bit device memory registered with QM command is monitored using MQ command.
■Request data
• Command
• Message wait: Specify the delayed time of the response transmission. (Page 347 Message wait)
■Response data
The value of read device is stored in word units. (Page 74 Read data, write data)
■Communication example
Monitor bit devices or word devices specified with monitor data registration under the following conditions.
• Message wait: 0 ms
• Registered devices for monitoring: Current values of D15, W11E, T123, and 4 points (4 words) of Y060 to Y06F.
(Request data)
• When using MN (ACPU common command)
• When using MQ (AnA/AnUCPU common command)
(Response data)
ACPU common AnA/AnUCPU common
Monitoring result ( For the
number of device points )
M N
4D
H
4E
H
0
30
H
Message wait
M Q
4D
H
51
H
0
30
H
Message wait
(D15) (W11E)
32
H
33
H
34
H
31
H
30
H
35
H
30
H
30
H
34
H
30
H
36
H
34
H
30
H
30
H
37
H
36
H
0000 0111 0110 0100
1234 0050 0064
Monitoring result ( For the number of device points )
(Decimal : 4660) (Decimal : 80) (Decimal : 100)
(Current value of T123)
(Y06F) to (Y06C) (Y06B) to (Y068) (Y067) to (Y064) (Y063) to (Y060)