11 - 15 11 - 15
MELSEC-Q
11 TROUBLESHOOTING
(2) Example of a program that reads from the current setting status
storage area
The following shows an example of a program that reads from the switch setting
status for current operation of the Q series C24.
For details regarding ERR. occurrence (XE/XF) used in the program, see Section
11.1.2 (3).
(input/output signals X/Y00 to X/Y1F of the Q series C24)
Example of FROM instruction
Reads error description from address 203
H
.
After checking error codes and changed setting values, designate
the correct setting values and switch mode.
b15b14b13b12 b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Error description (2: Communication rate error)
D0
D1
CH1 side
D2
D3
D4
Setting communication protocol number 6
(transmission setting description)
CH2 side Setting communication protocol number 1
(transmission setting description)
While the CH1 side is set to the non procedure protocol and the CH2 side is set to the MC protocol (format 1),
this indicates the communication rate setting error on the CH1 side.
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1 0
0
0
0
0
1
1
1
1 0
0
0
0
1 0
1 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1 0
1 0
1
1 0
1 0
1 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1 0
0
0
0
0
0
0 0
0 0
0
0 0
0 0
0 1
Communication protocol
Reads CH1 side communication protocol
status and transmission status from
addresses 252
H
to 253
H
.
Reads CH2 side communication protocol
status and transmission status from
addresses 262
H
to 263
H
.
Reads station No. from address 24F
H
.
D5
Station No. 1 being set.
Summary of Contents for MELSEC QJ71C24
Page 1: ......
Page 2: ......
Page 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Page 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Page 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Page 441: ......
Page 442: ......