11 - 13 11 - 13
MELSEC-Q
11 TROUBLESHOOTING
(2) Example of a program that reads from the setting status storage
area
The following shows an example of a program that reads the setting of various
switches of the Q series C24 from the setting status.
For details on ERR. occurrence (XE/XF) of the input/output signals 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.
Reads station number setting and switch
setting description from address 200
H
.
Reads communication protocol setting and
transmission setting description on the CH1
side from addresses 250
H
to 251
H
.
Reads communication protocol setting and
transmission setting description on CH2
from addresses 260
H
to 261
H
.
Restarts the Q series C24 after checking the error code and resetting switches.
b15b14b13b12 b11b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
Error description (1: Communication protocol number setting error)
Setting station number of the Q series C24 (0).
CH1 side
D0
D1
D2
D3
D4
D5
Communication protocol setting number (9).
(transmission setting description)
CH2 side
Displays communication protocol number setting error status on the CH1 side
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1
0 0 0 0 0 1 0 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 0 1
Communication protocol setting number (1).
(transmission setting description)
Содержание MELSEC QJ71C24
Страница 1: ......
Страница 2: ......
Страница 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Страница 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Страница 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Страница 441: ......
Страница 442: ......