The Taskstartinfo of PeripheralFaultTask is comparable to the local data of OB82 in the
SIMATIC system.
Table 4-1
Meaning of the Taskstartinfo
Task
TSI
Remarks
PeripheralFaultTask DT
TSI#startTime
Start time of the task
UDINT
TSI#interruptID
Identifies the triggering event:
● _SC_PROCESS_INTERRUPT
● _SC_DIAGNOSTIC_INTERRUPT
● _SC_STATION_DISCONNECTED
● _SC_STATION_RECONNECTED
DINT
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
DINT
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
DINT
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
DWORD TSI#details
Detail information (bit fields)
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
ET 200S 1SI Serial Interface Module,
"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.
Alarm processing
Supplement to the ET 200S 1SI serial interface module
44
Function Manual, 01/2015, xxx