Download Print this page

Mitsubishi MELSEC Q Series Reference Manual page 143

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

Advertisement

(5) Multiple block batch write (command: 1406)
(Refer to Section 3.3.1.)
(Data name)
External device
side
H
-
-
1
4
0
31
34
30
H
H
H
Head device
H
-
-
-
-
W
0
0
0
1
0
57
2A
30
30
30
31
30
H
H
H
H
H
H
H
(Bit device 2nd block)
Head device
H
-
-
-
-
M
0
0
0
1
2
4D
2A
30
30
30
31
32
H
H
H
H
H
H
H
(Data name)
Programmable controller CPU side
3 - 83
3 WHEN COMMUNICATING USING THE QnA COMPATIBLE 3E/3C/4C FRAMES OR 4E FRAME
The examples shown in this section explain the control procedure for writing by
randomly designating multiple blocks, where one block consists of n points of
contiguous bit device memory (1 point = 16 bits) and word device memory (1
point = 1 word).
The data order and contents of the areas marked with " " in the control
procedure diagram differ depending on the module, communication frame and
format used.
Refer to the detailed information described in Section 3.1.
(a) The following device memories are written while communicating in ASCII
code
• Word device memory : 2 blocks
• Bit device memory
(Refer to Section (3))
Head device
L
H
-
-
L
H
L
H
L
H
-
-
-
D
0
0
0
0
6
0
0
0
0
0
2
0
3
36
30
30
30
30
30
32
30
33
44
2A
30
30
30
30
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
(Word device 2nd block)
Data to write
L
H
-
-
L
H
-
-
L
H
-
0
0
0
0
8
0
9
7
0
0
1
30
30
30
30
38
30
39
37
30
30
31
H
H
H
H
H
H
H
H
H
H
H
Data to write
L
H
-
-
L
H
-
-
L
H
-
-
L
8
0
0
0
2
C
3
D
E
2
8
0
0
B
38
30
30
30
32
43
33
44
45
32
38
30
30
42
2A
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
: 3 blocks
(Word device first block)
Data to write
-
L
H
-
-
L
H
-
-
L
H
0
0
0
0
0
4
0
0
0
8
2
30
30
30
30
30
34
30
30
30
38
32
H
H
H
H
H
H
H
H
H
H
H
(Refer to Section 3.1.7.)
(Bit device first block)
Head device
-
L
H
-
-
-
-
L
H
-
-
L
H
3
1
0
0
0
0
0
0
0
0
0
2
2
M
33
31
4D
2A
30
30
30
30
30
30
30
30
30
32
32
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
(Bit device 3rd block)
Head device
Data to write
H
-
-
-
-
L
H
-
-
L
H
-
-
L
0
0
0
1
0
0
0
0
0
3
0
9
7
0
30
30
30
31
30
30
30
30
30
33
30
39
37
30
H
H
H
H
H
H
H
H
H
H
H
H
H
H
D0 to D3 (4 points),
W100 to W107 (8 points)
M0 to M31 (2 points),
M128 to M159 (2 points),
B100 to B12F (3 points)
-
-
L
8
0
0
38
30
30
H
H
H
Data to write
-
-
L
H
-
-
L
0
3
0
4
8
4
9
30
33
30
34
38
34
39
H
H
H
H
H
H
H
2
0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0
M M M M M M M M M M M M M M M M
1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0
5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
H
-
-
L
B
9
A
F
42
39
41
46
H
H
H
H
0
3
0
3 - 83

Hide quick links:

Advertisement

loading