11 - 8 11 - 8
MELSEC-Q
11 TROUBLESHOOTING
(c) Examples of programs that initialize displayed LED and communication error
information
The following shows examples of a program that reads error codes when
errors described in (1) above occur in an interface on the CH1 side and
initializes the displayed LED and communication error information.
Incorporate the necessary part of the program.
(Input/output signals X/Y00 to X/Y1F of the Q series C24)
1) When data is communicated using the MC protocol
Turn off/clear
command
Reads LED and communication error
information from address 201
H
.
Reads switch setting error description from address 203
H
.
Reads data transmission/reception
results from address 256
H
to 258
H
.
Requests initialization of error information on the
CH1 side and clearing of error codes in the buffer memory.
Requests initialization of error information on the CH1
side and clearing of error codes in the buffer memory.
Check the error codes and take corrective action according to Section 11.2.
2) When data is communicated using the non procedure or bidirectional
protocol
Reads LED and communication error information from
address 201
H
.
Reads switch setting error description from address 203
H
.
Reads data transmission/reception results from address
257
H
to 258
H
.
Writes initialization request such as for displayed LED to
address 0
H
.
Requests initialization of error information on the CH1
side and clearing of error codes in the buffer memory.
Turn off/clear
command
Check the error codes and take corrective action according to Section 11.2.
3) When data is communicated using the pre-defined protocol
Reads LED and communication error information from
address 201
H
.
Reads switch setting error data from address 203
H
.
Reads data transmission/reception results from address
257
H
to 258
H
.
Writes initialization request (LED initialization, etc.)
to address 0
H
.
Requests initialization of error information on the CH1
side and clearing of error codes in the buffer memory.
Reads pre-defined protocol function error data.
Turn off/clear
command
Check the error codes and take corrective action according to Section 11.2.
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: ......