Examples/applications
6.4 Programming a cold and warm restart
FC 45
6-8
Function manual, Release 03/2006 , J31069-D0167-U001-A2-7618
6.4
6.4
Programming a cold and warm restart
The MOBY-ASM is restarted by setting the "init_run" variable. The ASM and FC 45 are
completely reparameterized and synchronized with init_run.
An init_run is necessary after
•
switching on the SIMATIC (OB 100)
•
Power supply of ASM is turned on.
•
an interruption in PROFIBUS communication
•
an error message in variable "error_BUS"
Block: OB100 complete restart
Network: 1 set init_run bit for all channels which are configured in DB45
SET
S
S
"MOBY DB".SLG[1].init_run
"MOBY DB".SLG[2].init_run
In a distributed configuration of an ASM (e.g. via PROFIBUS), the ASM may be switched off
and on again due to system conditions (see Section "Programming a module failure"). When
this happens, the ASM reports the power failure to the FC 45 (and thus to the user). The
user must then perform an init_run for this ASM before a MOBY 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").