Parameters
Parameter Declaration Data type Memory block Description
RET_VAL OUTPUT INT I, Q, M, D, L Error information
BUSY OUTPUT BOOL I, Q, M, D, L Indicates whether the compression function
started by an SFC 25 call is still active.
(1 means active)
DONE OUTPUT BOOL I, Q, M, D, L Indicates whether the compression function
started by SFC 25 was completed successfully.
(1 means completed successfully)
If SFC 25 COMPRESS is called once, the compression function is started.
Call SFC 25 cyclically. First evaluate the parameter RET_VAL after every call. Provided
that its value is 0, the parameters BUSY and DONE can be evaluated. If BUSY = 1 and
DONE = 0, this indicates that the compression function is still active. When BUSY
changes to value 0 and DONE to the value 1, this indicates that the compression function
was completed successfully.
If SFC 25 is called again afterwards, the compression function is started again.
14.1.22 SFC 28 ... SFC 31 - Time-of-day interrupt
14.1.22.1 Overview
The following conditions must be satisfied before a time-of-day interrupt OB 10 may be
called:
n The time-of-day interrupt OB must have been configured by hardware configuration or
by means of the SFC 28 (SET_TINT) in the user program.
n The time-of-day interrupt OB must have been activated by hardware configuration or
by means of the SFC 30 (ACT_TINT) in the user program.
n The time-of-day interrupt OB must not have been de-selected.
n The time-of-day interrupt OB must exist in the CPU.
n When the SFC 30 is used to set the time-of-day interrupt by a single call to the func-
tion the respective start date and time must not have expired when the function is ini-
tiated; the periodic execution initiates the time-of-day interrupt OB when the specified
period has expired (start time + multiple of the period).
The system function are used as follows:
n Set: SFC 28
n Cancel: SFC 29
n Activate: SFC 30
n Query: SFC 31
14.1.22.2 SFC 28 - SET_TINT - Set time-of-day interrupt
The SFC 28 SET_TINT (set time-of-day interrupt) defines the start date and time for the
time-of-day interrupt - organization modules. The start time ignores any seconds and mil-
liseconds that may have been specified, these are set to 0.
Checking the Compres-
sion Function
Conditions
SFCs 28 ... 31
VIPA SPEED7
Integrated Standard
System Functions > SFC 28 ... SFC 31 - Time-of-day interrupt
HB00 | OPL_SP7 | Operation list | en | 18-30 671