EasyManua.ls Logo

Siemens SIMATIC ET 200X - Page 178

Siemens SIMATIC ET 200X
362 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Commissioning and Diagnostics
5-54
ET 200X Distributed I/O Device
EWA 4NEB 780601602-06
Saving the diagnosis
Depending on byte x+1, transfer the contents of the station diagnosis to a data
block because:
The interrupts are updated cyclically.
The contents of the diagnosis as of byte x+3 depend on whether the S7
diagnosis or S7 hardware interrupt is reported.
Note
The following points are important in evaluating diagnostic interrupts and hardware
interrupts with a different DP master by means of the station diagnosis:
The DP master should be able to store the diagnostic messages, that is, the
DP master should have a ring buffer in which to place these messages. If the
DP master cannot store diagnostic messages, only the latest diagnostic
message to be received is stored, for instance.
You have to poll regularly in your user program the corresponding bits in the
station diagnosis. You must also take PROFIBUS-DP’s bus cycle time into
consideration so that you can scan the bits at least once in sync with the bus
cycle time, for example.
You cannot use hardware interrupts in the station diagnosis in an IM 308-C as
DP master, because only coming – and not going – interrupts are reported. For
example, the ”upper limit violation” bit is only reset when the ”lower limit
violation” bit is set.

Table of Contents