Error Mode - Panasonic SC-HG1-C User Manual

Cc-link communication unit for digital displacement sensors
Table of Contents

Advertisement

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 "<Table of error codes>" in "8-1 Command error".
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.
RX[7B] (*1)
Check remote ready flag
RY[0E]
Set error code flag
RX[0E]
Check error code flag
RWr[00] to [01]
Communication unit error code
RWr[02] to [09]
Check sensor response data
When operation mode is CC-Link mode 1
RY[10]
Page 1 settings
RX[10]
Check page 1 settings
RWr[02] to [09]
Check sensor response data
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
Master unit, slave units 1 to 6
Slave units 7 to 13
Slave unit 14
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]
WUME-SCHG1C-4
1
2
3
Communication unit error code
3
Error code
4
RY[10]
1
0
0
CC-LINK Network Communication
5
Error code
RY[11]
RY[12]
0
0
1
0
0
1
7
0x0000
0x0000
6
0x0000
4-33

Advertisement

Table of Contents
loading

Table of Contents