Technical data

Table Of Contents
SFCs for Controlling Program Execution
System Software for S7-300/400 System and Standard Functions - Volume 1/2
A5E00709327-01
4-5
Error information
Error code
(W#16#...)
Explanation
0000 The job was executed without error. (This error code is only available when MODE=1 or
MODE=2 or MODE=3.)
0001 CiR is enabled. (This error code is only available when MODE=0.)
0002 CiR is disabled completely. (This error code is only available when MODE=0.)
0003 CiR is disabled conditionally. (This error code is only available when MODE=0.)
8001 The CPU is not ready for a CiR operation. You are using an H CPU in an H system
(stand-alone), or you are working with a standard CPU in multicomputing mode.
8002 Illegal value in MODE
8003 Illegal value in FRZ_TIME
8xyy General error codes, see Evaluating Errors with Output Parameter RET_VAL
Sample application for SFC 104
SFC 104 "CIR" can be used, for example to ensure that no CiR operation is
initiated during periods in which processing requires the maximum or adequate
CPU performance.
To achieve this, execute the following CPU program segment prior to the start of
periods of increased process activity:
Call SFC 104 with MODE = 2 (Disable CiR operation entirely)
After this period of increased process activity, execute the following CPU program
segment:
Call SFC 104 with MODE = 1 (re-enable CiR operation) or MODE = 3
(conditional disabling of CiR)