15 - 12 15 - 12
15 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 C24 from the setting status.
For details on ERR. occurrence (XE/XF) of the input/output signals used in the
program, refer to Section 15.4 (3).
(input/output signals X/Y00 to X/Y1F of the 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 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 C24 (0).
CH1 side
D0
D1
D2
D3
D4
D5
Setting communication protocol number A
H
(set prohibited).
(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
Setting communication protocol number 1
H
(MC protocol (Format 1)).
(transmission setting description)
Содержание MELSEC LJ71C24
Страница 1: ......
Страница 2: ......
Страница 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Страница 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Страница 23: ...A 21 A 21 MEMO...
Страница 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Страница 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Страница 391: ...App 62 App 62 APPENDIXES 3 Refresh parameter setting In Refresh Parameter set the following network parameters...
Страница 425: ......
Страница 426: ......
Страница 427: ......