Download Print this page

Batch Write In Bit Units (Command: 1401) - Mitsubishi MELSEC Q Series Reference Manual

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

Advertisement

3.3.4 Batch write in bit units (command: 1401)

[Control procedure]
(Data name)
External
device side
(Example)
(Data name)
Programmable controller CPU side
(Example)
3 - 87
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
The examples shown in this section explain the control procedure of a batch write
command executed on the bit device memory.
The order and content of data items of the areas marked by " " shown in the control
procedure diagram differ depending on the module used as well as the frame and
format used for communication.
Refer to the detailed information described in Section 3.1.
(1)
Writing eight points of internal relays M100 to 107 while
communicating in ASCII code
(Refer to Section 3.3.1.)
H
L
H
L
H
1
4
0
1
0
0
0
1
M
0
0
0
31
34
30
31
30
30
30
31
4D
2A
30
30
30
H
H
H
H
H
H
H
H
H
H
H
H
H
Specify the range of the devices to be written
Number of points to be written
0(30
) indicates OFF.
H
1(31
) indicates ON.
H
(Refer to Section 3.1.7.)
L
H
L
1
0
8
0
0
0
8
1
1 0
0 1 1
0
31
30
30
30
30
30
38
31
31
30
30
31
31
30
H
H
H
H
H
H
H
H
H
H
H
H
H
Turns ON M100.
0
30
H
H
Turns OFF M107.
Turns OFF M106.
3 - 87

Hide quick links:

Advertisement

loading