EasyManua.ls Logo

YASKAWA VIPA SPEED7 - SFC 32 - SRT_DINT - Start Time-Delay Interrupt

YASKAWA VIPA SPEED7
1007 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RET_VAL (Return value)
Value Description
0000h No error has occurred.
8090h OB_NR parameter error
STATUS
Bit Value Description
0 0 The operating system has enabled the time-of-day interrupt.
1 0 New time-of-day interrupts are not discarded.
2 0 Time-of-day interrupt has not been activated and has not expired.
3 - reserved
4 0 Time-of-day interrupt-OB has not been loaded.
5 0 An active test function disables execution of the time-of-day interrupt-OB.
14.1.23 SFC 32 - SRT_DINT - Start time-delay interrupt
The SFC 32 SRT_DINT (start time-delay interrupt) can be used to start a time-delay inter-
rupt that issues a call to a time-delay interrupt OB after the pre-configured delay time
(parameter DTIME) has expired.
Parameter SIGN specifies a user-defined code that identifies the start of the time-delay
interrupt. While the function is being executed the values of DTIME and SIGN appear in
the startup event information of the specified OB.
The following conditions must be satisfied before a time-delay interrupt OB may be
called:
n the time-delay interrupt OB must have been started
(using the SFC 32)
n the time-delay interrupt OB must not have been de-selected.
n the time-delay interrupt OB must exist in the CPU.
Parameters
Parameter Declaration Data type Memory block Description
OB_NR INPUT INT I, Q, M, D, L,
constant
Number of the OB, that is started after the time
delay
(OB 20, OB 21).
DTIME INPUT TIME I, Q, M, D, L,
constant
The delay time
(1 ... 60 000ms).
SIGN INPUT WORD I, Q, M, D, L,
constant
Code that is inserted into the startup event infor-
mation of the OB when a call is issued to the
time-delay interrupt.
RET_VAL OUTPUT INT I, Q, M, D, L The return value contains an error code if an error
is detected when the function is being processed.
Description
Conditions
VIPA SPEED7
Integrated Standard
System Functions > SFC 32 - SRT_DINT - Start time-delay interrupt
HB00 | OPL_SP7 | Operation list | en | 18-30 674

Table of Contents

Related product manuals