Triggering A Restart With A User Program - Siemens SIMOTION D410-2DP/PN Installation Manual

Table of Contents

Advertisement

Commissioning (software)
7.22 Special functions SIMOTION D410-2
Alternately, the start value can be set manually in the SIMOTION SCOUT symbol browser
under "force variable." To ensure the manually set start value remains effective, note the
following:
● The start value must be set in the offline project and loaded onto the device by project
download.
● The value that is loaded onto the device must differ from the start value that was last loaded
onto the device by project download.
This ensures that the current value of the system variable _automaticRestart in the runtime
system is not reset on every project download (crash history is not deleted).
The system variable is retentive, its content and therefore the "automatic restart after FAULT
state" function is retained after an interruption in the power supply.
An automatic restart after FAULT state that has occurred can be diagnosed by the diagnostic
buffer entry Automatic restart of the CPU performed after FAULT operating state.
System variable _automaticRestart is not backed up with _savePersistentMemoryData:
● Because an automatic restart can be caused by hardware problems and this cause is not
to be transferred to the new module if a module is replaced.
● Because the user program will decide for itself under what condition system variable
_automaticRestart will be set to a certain value.
If an error occurs after the automatic restart, there is not special error handling for this case.
If this error prevents startup, the SIMOTION device cannot enter the RUN state. An error during
startup does not trigger an automatic restart.
7.22.2

Triggering a restart with a user program

A user program of the SIMOTION device can trigger restart of the device via the system
function _restart available as of V4.4.
This system function, like the system variable _automaticRestart, described in Section
Automatic restart after FAULT state (Page 255) is intended for applications in which an
automatic restart is mandatory after a crash caused by an extreme situation, e.g. wind
generators after a lightning strike.
The system function _restart enables a response to non-acknowledgeable drive errors with a
OFF2 reaction, which result in the inability of the drive to move. These drive errors can only
be exited via a restart or by power off/on.
Note
The system function _restart is provided for all SIMOTION devices, but restart itself is only
performed for the D410‑2 device.
The restart causes the device with the project to boot from the CF card.
So that, after a restart has been performed, the SIMOTION device enters the RUN state again,
the system variable _startUpData.operationMode must be on RUN.
The system function _restart only supports synchronous command processing.
256
Commissioning and Hardware Installation Manual, 01/2015
SIMOTION D410-2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simotion d410-2 dp

Table of Contents