Download Print this page

Test Of Extension File Register (Random Write) (Command: Et) - Mitsubishi MELSEC Q Series Reference Manual

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

Advertisement

5.3.8 Test of extension file register (random write) (command: ET)

[Control procedure]
ET (ACPU common command)
No. of points to test
(Data name)
External device
H
side
(Example)
E
T
0
0
45
54
30
30
H
H
H
H
(Data name)
Programmable controller CPU side
(Example)
5 - 45
The example shown in this section explain the control procedure for writing data by
randomly designating device numbers in the extension file register with the ET
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.
(Write conditions)
1)
Message wait is 0 ms.
2)
Test 3 points (3 words) by registering R1234
1A1B
(When the extension file register of block No. 1 to 8 and 10 exist.)
Four characters are used for one device point.
Thus, one word data is expressed by a 4-digit
value (hexadecimal).
Device No.
(7 characters)
(4 characters)
L
3
0
5
R
1
0
5
0
1
33
30
35
52
31
30
35
30
31
H
H
H
H
H
H
H
H
H
Indicates the content written to R1050 in block No. 05 is 1234
Indicates the content written to R2121 in block No. 07 is 1A1B
Indicates the content written to R3210 in block No. 10 is 0506
POINT
Designate the number of device points within the following range:
• 1  number of device points 10
5 WHEN COMMUNICATING USING THE A COMPATIBLE 1C FRAMES
to R2121 of block No. 7, and 506
H
A pair of "Device No. and Data" items is designated for the number of device points.
Data
Device No.
(7 characters)
2
3
4
0
7
R
2
1
2
32
33
34
30
37
52
32
31
32
31
H
H
H
H
H
H
H
H
H
Character area C
(Data for the number of device points to test)
to R1050 of block No. 5,
H
to R3210 of block No.10.
H
Data
Device No.
(4 characters)
(7 characters)
1
1
A
1
B
1
0
R
3
31
41
31
42
31
30
52
33
32
H
H
H
H
H
H
H
H
H
(4660 decimal).
H
(6683 decimal).
H
(1286 decimal).
H
Data
(4 characters)
2
1
0
0
5
0
6
31
30
30
35
30
36
H
H
H
H
H
H
H
5 - 45

Hide quick links:

Advertisement

loading