S7-400H setup options
3.7 The user program
S7-400H
System Manual, 03/2012, A5E00267695-11
39
3.7
The user program
The rules of developing and programming the user program for the standard S7-400 system
also apply to the S7-400H.
In terms of user program execution, the S7-400H behaves in exactly the same manner as a
standard system. The integral synchronization functions of the operating system are
executed automatically in the background. You do not need to consider these functions in
your user program.
In redundant operation, the user programs are stored identically on both CPUs and are
executed in event-synchronous mode.
However, we offer you several specific blocks for optimizing your user program, e.g. in order
to improve its response to the extension of cycle times due to updates.
Specific blocks for S7–400H
In addition to the blocks supported both in the S7-400 and S7-400H systems, the S7-400H
software provides further blocks which you can use to influence the redundancy functions.
You can react to redundancy errors of the S7-400H using the following organization blocks:
●
OB 70, I/O redundancy errors
●
OB 72, CPU redundancy errors
SFC 90 "H_CTRL" can be used to influence fault-tolerant systems as follows:
●
You can disable interfacing in the master CPU.
●
You can disable updating in the master CPU.
●
You can remove, resume or immediately start a test component of the cyclic self-test.
●
You can execute a programmed master to standby changeover. The following
changeovers are possible:
–
The current standby CPU becomes a master CPU.
–
The CPU in rack 0 becomes a master CPU.
–
The CPU in rack 1 becomes a master CPU.
NOTICE
Required OBs
Always download these error OBs to the S7-400H CPU: OB 80, OB 82, OB 83,
OB 85, OB 86, OB 88, OB 121 and OB 122. If you do not download these OBs, the
fault-tolerant system goes into STOP when an error occurs.
Additional information
For detailed information on programming the blocks described above, refer to the STEP 7
Online Help.
Содержание SIMATIC S7-400H
Страница 24: ...Preface 1 1 Preface S7 400H 24 System Manual 03 2012 A5E00267695 11 ...
Страница 46: ...Getting Started 4 5 Special layout features of SIMATIC Manager S7 400H 46 System Manual 03 2012 A5E00267695 11 ...
Страница 120: ...Memory concept 10 1 Overview of the memory concept of S7 400H CPUs S7 400H 120 System Manual 03 2012 A5E00267695 11 ...
Страница 258: ...Communication 14 8 General issues regarding communication S7 400H 258 System Manual 03 2012 A5E00267695 11 ...
Страница 354: ...Synchronization modules 18 3 Selecting fiber optic cables S7 400H 354 System Manual 03 2012 A5E00267695 11 ...
Страница 434: ...Technical data 20 6 Runtimes of the FCs and FBs for redundant I Os S7 400H 434 System Manual 03 2012 A5E00267695 11 ...
Страница 460: ...Function modules and communication processors supported by the S7 400H S7 400H 460 System Manual 03 2012 A5E00267695 11 ...