15 - 14 15 - 14
15 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 C24.
For details regarding ERR. occurrence (XE/XF) 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
.
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
H
(nonprocedural protocol).
(transmission setting description)
CH2 side Setting communication protocol number 1
H
(MC protocol (Format 1)).
(transmission setting description)
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.
Содержание 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: ......