9 Diagnostics
| Ethernet/IP diagnoses
36
2484940000/00/02.2017
Manual UR67-Multiprotocol
9.2 Ethernet/IP diagnoses
Diagnostic information supplement the input process data.
Byte 2 – the module information byte – provides module-re
-
lated diagnostic data. The subsequent bytes provide channel-
relted diagnostic data. A detailed description can be found in
section 8.1.
Diagnosis
Bits set
Module-
related
Channel-related
Channel error
where applicable
MI-SCA
CE-1-A/B to CE-8-A/B
Sensor short circuit
MI-SCS
SCS-1 to 8
System/sensor power supply error
MI-LVS
–
Actuator power supply error
MI-LVA
where applicable CE-1-A/B
to CE-8-A/B
9.3 PROFINET diagnoses
▶
Activate the "Report Alarms" parameter when
parameterising the modules in order to trans-
fer diagnostic messages via PROFINET.
When the module detects an error, an alarm message is trig-
gered. The modules support diagnostic alarms.
An alarm is triggered for an upcoming event as well as an
event coming to an end.
Alarms are evaluated in accordance with the PROFINET IO
controller used.
Alarm evaluation in STEP 7
In Step 7, the processing of the user program (OB1) is inter
-
rupted by the triggering of a diagnostic alarm and an error
organisation block (error OB) is called up.
Cause of the alarms
Called up error OB
Peripheral error (short circuit/overload,
wire breakage, undervoltage)
OB82 Diagnostics alarm
Complete system outage
OB86 Subrack failure
If the error OB called up is not available in the
CPU, the CPU enters the STOP operating status.
The error OB called up and its start information already
provide information about the cause and type of the error.
Detailed information about the error is provided in the re-
spective error OB when the SFB 54 RALRM system module
is called up. The SFB 54 module also has to be called up in
every error OB.
In OB1, diagnostic data sets can be called up with
SFB52 RDREC via their data set number.
Structure of the diagnostic data sets
The diagnostics data sets are visualised using block version
0x0101 and format identifier (USI: User Structure Identifier)
0x8000.
Error type
Reference
ChannelNumber
ChannelErrorType
Undervoltage in
sensor or actuator
power supply
Module
0x8000
0x0002
Sensor short
circuit
I/O connection
0x0001–0x0008
Number of the I/O
connection
0x0102
Actuator short
circuit
Channel A of an
I/O connection
0x0001–0x0008
Number of the I/O
connection
0x0100
Actuator short
circuit
Channel B of an
I/O connection
0x0001–0x0008
Number of the I/O
connection
0x0101
In the event of an accumulation of errors, the instructions set
out in the "Channel diagnosis" section ("ChannelNumber",
"ChannelProperties", "ChannelErrorType") for the diagnostic
data set must be repeated for each error.
▶
To display the diagnosis in STEP 7, select the defective
module in the Hardware Manager and navigate to
PLC/
Module status/IO Device Diagnostics
.
▶
Click
Hex format
.
The
IO Device Diagnostics in Hexadecimal Format
win-
dow is opened. The diagnostic data set is visualised.