Siemens ET 200S 1SI Function Manual page 44

Table of Contents

Advertisement

Alarm processing
The Taskstartinfo of PeripheralFaultTask is comparable to the local data of OB82 in the
SIMATIC system.
Table 4-1
Meaning of the Taskstartinfo
Task
PeripheralFaultTask DT
UDINT
DINT
DINT
DINT
DWORD TSI#details
Definition of a diagnostic alarm
If the user program is to respond to an internal or external error, you can set the parameters
for a diagnostic alarm that will interrupt the cyclical program of the SIMOTION device.
Events triggering a diagnostic alarm
The criteria (events) that trigger diagnostic alarms in a SIMOTION system are the same as in
a SIMATIC system.
For a more detailed description, refer to SIMATIC manual
"Diagnostics" chapter.
Responses to a diagnostic alarm
If a diagnostic alarm occurs, the following take place:
● Diagnostic data are written to TSI#details variable in the Taskstartinfo of
PeripheralFaultTask.
● In the PeripheralFaultTask, you can read out and save the 4 bytes of diagnostic data.
● The group error LED (SF) of the serial interface module illuminates. The group error LED
(SF) is extinguished as soon as the error has been remedied.
44
TSI
TSI#startTime
Start time of the task
TSI#interruptID
Identifies the triggering event:
● _SC_PROCESS_INTERRUPT
● _SC_DIAGNOSTIC_INTERRUPT
● _SC_STATION_DISCONNECTED
● _SC_STATION_RECONNECTED
TSI#logBaseAdrIn
Logical base address if a process alarm (PRAL) or a diagnostic
alarm (DAL) was caused by an input area on the module, otherwise
_SC_INVALID_ADDRESS
TSI#logBaseAdrOut
Logical base address if a process alarm (PRAL) or a diagnostic
alarm (DAL) was caused by an output area on the module, other‐
wise _SC_INVALID_ADDRESS
TSI#logDiagAdr
Diagnostic address of a DP slave if the alarm was caused by a
station failure or station recovery of an associated DP slave, other‐
wise _SC_INVALID_ADDRESS
Detail information (bit fields)
Remarks
ET 200S 1SI Serial Interface Module,
Supplement to the ET 200S 1SI serial interface module
Function Manual, 01/2015, xxx

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simotion et 200s

Table of Contents