Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 413

With melsec communication protocol
Hide thumbs Also See for MELSEC Q Series:

Advertisement

[Control procedure]
5 - 34
(3) Monitoring the device memory to which monitor data is registered
(command: MB, MJ, MN, MQ)
The example shown in this section explain the control procedure for monitoring
devices registered in the C24 by monitor data registration of item (2) using the
MB/MJ/MN/MQ command.
The order and contents of data items for the parts marked with " " shown in the
control procedure differ depending on the communication format.
Refer to a detailed explanation in Section 5.1.
(a) Monitoring the bit device memory to which the monitor data is registered in
bit units.
Bit device memory registered using the BM command is monitored with the
MB command.
Bit device memory registered using the JM command is monitored with the
MJ command.
(Monitoring conditions)
1)
Message wait is 0 ms.
2)
Monitor 3 points (3 bits) of contacts X040, Y060, and T123 for which
monitor data is registered.
To monitor the device registered with the BM command: MB command (ACPU common command)
To monitor the device registered with the JM command: MJ command (AnA/AnUCPU common command)
(Data name)
External device
side
(Example)
M
J
4D
4A
H
H
There is no
character area A.
(Data name)
Programmable controller CPU side
(Example)
5 WHEN COMMUNICATING USING THE A COMPATIBLE 1C FRAMES
0 (30
) indicates OFF.
H
1 (31
) indicates ON.
H
0
30
H
E
Monitoring
result
For the number
T
of points
designated by
monitor data
X
registration
1
0
1
31
30
31
03
H
H
H
H
Character area B
Indicates that T123 (contact) is ON.
Indicates that Y060 is OFF.
Indicates that X040 is ON.
(Monitor data)
The order of data items is the same as
when using both the MB and MJ commands.
5 - 34

Hide quick links:

Advertisement

loading