Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 411

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

Advertisement

[Control procedure]
(Data name)
External device
side
(Example)
J
4A
4D
H
(Data name)
Programmable controller CPU side
(Example)
5 - 32
(2) Monitor data registration for device memory (commands: BM, JM,
WM, QM)
The example shown in this section explain the control procedure for registering
the name and number of devices to be monitored in the C24 using the
BM/JM/WM/QM 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) Registering monitor data to the bit device memory in bit units.
(Conditions for monitor data registration)
1)
Message wait is 0 ms.
2) Register monitor data for 3 points (3 bits) of contacts for X40, Y060 and
T123.
When using BM (ACPU common command)
When using JM (AnA/AnUCPU common command) : 7 characters
Number of points to
be registered
Device
M
0
0
3
X
0
0
0
0
30
30
33
58
30
30
30
30
H
H
H
H
H
H
H
H
H
(Designates devices for monitor data registration)
POINT
(1) Designate the number of device points within the following range:
When the BM command is used and a programmable controller CPU other
than AnACPU/AnUCPU/QnACPU/LCPU/QCPU is accessed, device X (input)
has two processing points per point.
• 1  Number of device points 40
(2) Follow the explanation in this section (3) (a) to monitor device memory
registered in bit units.
5 WHEN COMMUNICATING USING THE A COMPATIBLE 1C FRAMES
: 5 characters (in the following case, X0040, Y0060 and TS123 is designated)
Device items are designed for the number of device points.
Device
4
0
Y
0
0
0
0
6
0
34
30
59
30
30
30
30
36
30
H
H
H
H
H
H
H
H
H
Character area C
Device
T
S
0
0
1
2
3
54
53
30
30
31
32
33
H
H
H
H
H
H
H
5 - 32

Hide quick links:

Advertisement

loading