
CC-LINK Network Communication
WUME-SCHG1C-4
4-33
4-9 Error mode
To read the error code of an error that recently occurred, use error mode.
If multiple errors occurred sequentially, only the error code of the last error is read.
Codes can only be read of errors that occurred since the communication unit power was turned
on.
When the communication unit is restarted, the codes of errors that occurred prior to that time
are cleared.
For details on errors, refer to
.
An example when a master unit and slave units 1 to 3 are connected is shown below.
is only set when the operation mode is CC-Link mode 1.
RY[0E]
Set error code flag
RX[0E]
Check error code flag
2
RY[10]
Page 1 settings
RX[10]
Check page 1 settings
When operation mode is CC-Link mode 1
RX[7B] (*1)
Check remote ready flag
1
RWr[00] to [01]
Communication unit error code
RWr[02] to [09]
Check sensor response data
Error code
3
6
RWr[02] to [09]
Check sensor response data
Communication unit error code
3
0x0000
Error code
5
0x0000
7
4
0x0000
1.
Check that RX[7B]: remote ready flag (*1) is set.
2.
Set the RY[0E]: error code flag. Verify that the RX[0E]: error code flag is set and error mode
has been entered.
3.
The RWr[00] to [01] communication error code is stored. If the operation mode is CC-Link
mode 2 or CC-Link mode 3, the error codes from the controllers are stored in RWr[02] to [09]:
sensor response data.
4.
If the operation mode is CC-Link mode 1, set RY[10]: page 1. Page 1 settings are re-
quested, and RX[10]: page 1 is set. In CC-Link mode 1, always configure the page settings.
The page settings of the sensor response data (master unit, slave units 1 to 14) are as
shown in the table below.
Sensor response data
RY[10]
RY[11]
RY[12]
Master unit, slave units 1 to 6
1
0
0
Slave units 7 to 13
0
1
0
Slave unit 14
0
0
1
5.
If the operation mode is CC-Link mode 1, the error codes from the controllers are stored in
RWr[02] to [09]: sensor response data.
6.
If the operation mode is CC-Link mode 1, clear RY[10]: page 1. Page 1 settings are
cleared, and RX[10]: page 1 is cleared. The error codes of RWr[02] to [09]: sensor re-
sponse data are also cleared.
7.
Clear the RY[0E]: error code flag. The communication unit exits error mode, and the RX[0E]:
error code flag is cleared.
*1: The bit position depends on the operation mode.
CC-Link mode 1: RX[7B], CC-Link mode 2: RX[17B], CC-Link mode 3: RX[1BB]
Содержание SC-HG1-C
Страница 2: ...WUME SCHG1C 4 2 MEMO ...
Страница 8: ...WUME SCHG1C 4 8 MEMO ...
Страница 16: ...WUME SCHG1C 4 1 8 MEMO ...
Страница 17: ...2 1 2 System Configuration 2 1 Communication unit system 2 2 2 2 Unit types 2 4 ...
Страница 22: ...WUME SCHG1C 4 2 6 MEMO ...
Страница 106: ...WUME SCHG1C 4 4 72 MEMO ...
Страница 107: ...5 1 5 Specifications 5 1 Specifications 5 2 5 2 Dimensions 5 3 ...
Страница 110: ...WUME SCHG1C 4 5 4 MEMO ...
Страница 111: ...6 1 6 Warranty 6 1 When you purchase and use the product 6 2 ...
Страница 114: ...WUME SCHG1C 4 6 4 MEMO ...
Страница 115: ...7 1 7 Maintenance 7 1 Maintenance and Inspection 7 2 7 1 1 Maintenance cautions 7 2 7 1 2 Main inspection items 7 2 ...
Страница 124: ...WUME SCHG1C 4 8 8 MEMO ...
Страница 125: ...Revision History 1st edition 1 27 2017 2nd edition 9 8 2017 3rd edition 9 30 2019 4th edition 12 1 2019 ...
Страница 126: ... MEMO ...
Страница 127: ... MEMO ...