Startup" Mode - Siemens SIMATIC S7-1500 Automation System System Manual

Hide thumbs Also See for SIMATIC S7-1500 Automation System:
Table of Contents

Advertisement

8.4.2

"STARTUP" mode

Function
Before the CPU starts to execute the cyclic user program, a startup program is executed.
By suitably programming startup OBs, you can specify initialization tags for your cyclic
program in the startup program. That is, you can set up one or several startup OBs in your
program, or none at all.
Special features during startup
Note the following points regarding the "STARTUP" mode:
● All outputs are disabled or react according to the parameter settings for the respective
● The process image is initialized.
● The process image is not updated.
● The CPU always starts up in a warm restart.
● During startup, no cycle time monitoring is running yet
● The startup OB are executed in the sequence of the startup OB numbers. All startup OBs
● The following OBs can be started during startup, if a corresponding event occurs:
S7-1500 Automation System
System Manual, 01/2013, A5E03461182-01
module: They provide a substitute value as set in the parameters or retain the last value
output and bring the controlled process to a safe operating mode.
In order to read the current state of inputs during STARTUP, you can access inputs by
direct I/O access.
In order to initialize outputs during STARTUP, values can be written via the process
image or via direct I/O access. The values are output at the outputs during the transition
to the RUN mode.
– The non-retentive bit memories, timers and counters are initialized.
– The non-retentive tags in data blocks are initialized.
that you have programmed are executed, regardless of the selected startup mode.
– OB 82: Diagnostic error interrupt
– OB 83: Removal/insertion of modules
– OB 86: Rack error
– OB 121: Programming error (only for global error handling)
– OB 122: I/O access error (only for global error handling)
All other OBs cannot be started until the transition into the "RUN" operating mode.
Commissioning
8.4 Operating modes
103

Advertisement

Table of Contents
loading

Table of Contents