Troubleshooting and Diagnosis Options
TR-Electronic GmbH 2012, All Rights Reserved
Printed in the Federal Republic of Germany
Page 52 of 56
TR - ECE - BA - GB - 0095 - 19
05/30/2018
9.2 PROFINET IO Diagnostic
PROFINET IO supports a continuous diagnostic concept, which makes possible an
efficient fault locating and recovery. At occurrence of an error the faulty IO-Device
generates a diagnostic alarm to the IO-Controller. This alarm calls a corresponding
program routine in the user program to initiate a reaction to the error.
By means of record data, alternatively the diagnostic information can be read directly
from the IO-Device and can be displayed on an IO-Supervisor.
9.2.1 Diagnostic alarm
Alarms are part of the acyclic frames which are transferred about the cyclical
RT-channel. They are also indicated with the EtherType 0x8892.
The measuring system supports only manufacturer specific diagnostic alarms which
can be identified about the
UserStructureIdentifier
0x5555. After this
identification a 4 byte error code (
user
data)
follows. Here the first occurred error is
reported, saved and is displayed about the LED “Device Status, LED1 Bicolor”. The
IOPS bit is set to
BAD
.
Because the measuring system can generate hundreds of error codes, these are not
indicated here.
Error remedy see chapter “Optical displays”. If the error cannot be eliminated, the
error code with information of the article number can be transmitted for evaluation to
the company TR-Electronic.
9.2.2 Diagnostics about Record Data
Diagnostic data can be requested also with an acyclic read service
RecordDataRead(DiagnosisData)
, if they were saved in the IO-Device.
For the requested diagnostic data from the IO-Controller a read service with the
corresponding record index must be sent.
The diagnostic information is evaluated on different addressing levels:
● AR (Application Relation)
● API (Application Process Identifier)
● Slot
● Subslot
A group of diagnostic records are available at each addressing level. The exact
structure and the respective size is indicated in the PROFINET specification
Application Layer protocol for decentralized periphery and distributed automation,
order no.: 2.722.
Synonymously to the manufacturer specific diagnostic alarm, the diagnostic data can
be read also manually about the record index 0xE00C. Similar as in the case of a
diagnostic alarm a saved error is indicated with the
UserStructureIdentifier
0x5555. Immediately afterwards the error code is transferred, see diagnostic alarm
above.