Technical data

Table Of Contents
SFCs for Controlling Program Execution
System Software for S7-300/400 System and Standard Functions - Volume 1/2
4-4
A5E00709327-01
4.5 Controlling CiR with SFC 104 "CiR"
Description
You can use SFC 104 "CiR" to influence a reconfiguration in RUN mode as follows:
You can disable CiR completely. In this case, the download of a modified
configuration from the PG to the CPU is always rejected. The lock is maintained
until you reset it with SFC 104 "CiR".
You can specify a high limit for the CiR synchronization time to disable CiR
conditionally. In this case, the download of a modified configuration from the PG
to the CPU is only accepted if the CPU requires less than this specified time for
the evaluation of a modified configuration.
You can determine whether or not to enable CiR. If enabled, or if conditionally
enabled, parameter A_FT also returns the actual high limit for the CiR
synchronization time.
Note
The outputs are frozen for the duration of the CiR synchronization period and the
inputs will not be evaluated.
Parameters
Parameter Declaration Data type Memory area Description
MODE INPUT BYTE I, Q, M, D, L,
constant
Job ID
Possible values:
0: Information function
1: Enable CiR operation (The high limit of
the CiR synchronization time is set to the
default value here.)
2: Disable CiR completely
3: Disable CiR conditionally. Specify the
high limit of the CiR synchronization time
in FRZ_TIME.
FRZ_TIME INPUT TIME I, Q, M, D, L,
constant
"freeze time"
High limit of the CiR synchronization time in
ms
Permitted range of values: 200 ... 2500 ms
(default: 1000 ms)
Note: FRZ_TIME is only relevant when
MODE=3.
RET_VAL OUTPUT INT I, Q, M, D, L If an error occurs while the function is being
processed, the return value will contain an
error code.
When MODE=0, RET_VAL contains the
information whether or not CiR is enabled.
A_FT OUTPUT TIME I, Q, M, D, L Currently valid high limit of the CiR
synchronization time