Programming A Cold And Warm Restart; Programming A Module Failure - Siemens SIMATIC Ident Function Manual

For moby u, moby d, rf200, rf300
Hide thumbs Also See for SIMATIC Ident:
Table of Contents

Advertisement

Examples/applications

6.4 Programming a cold and warm restart

6.4
Programming a cold and warm restart
The communications module and the reader are restarted by setting the "init_run" variable.
The CM and FB 45 are reassigned parameters and synchronized with init_run.
An init_run is necessary after
● switching on the SIMATIC (OB 100)
● turning on the power supply of the CM
● plugging the reader onto the CM
● an interruption in PROFIBUS communication
● an error message in variable "error_BUS"
OB100: "Complete restart"
Network 1: set init_run bit for all channels that are configured in DB45
SET
S
S
In a distributed configuration of a CM (e.g. via PROFIBUS), it is possible that the CM is
switched off and on again as a result of the system(see section Programming a module
failure (Page 68)). When this happens, the CM signals the power failure to FB 45 (and so to
the user). The user must then send an init_run for this CM before an RFID command can be
started again.
Note:
The "init_run" variable is set to TRUE in the project supplied with the system. This
automatically triggers an "init_run" whenever the parameter data block is downloaded onto
the PLC (see Table "INPUT parameters" in Section "INPUT parameters").
6.5

Programming a module failure

The failure of a PROFIBUS/PROFINET module can be detected primarily using
PROFIBUS/PROFINET system diagnostics.
However, if a failed slave is addressed via FB 45, an I/O access error is generated in
SIMATIC.
As a result
● OB 122 is called.
● the PLC changes to STOP if OB 122 is not programmed.
68
"MOBY DB".SLG1.init_run
"MOBY DB".SLG2.init_run
FB 45 for MOBY U, MOBY D, RF200, RF300
Function Manual, 07/2012, J31069-D0166-U001-A4-7618

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fb 45

Table of Contents