EasyManua.ls Logo

YASKAWA VIPA SPEED7 - Time of Day Interrupts

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...
If a time-delay interrupt OB is called but was not programmed, the operating system calls
OB 85. If OB 85 was not programmed, the CPU goes to STOP.
The following table describes the start information of the OB 20 and OB 21 with default
names of the variables and its data types:
Variable Type Description
OB20_EV_CLASS BYTE Event class and identifiers:
11h: interrupt is active
OB20_STRT_INF BYTE 21h: start request for OB 20
22h: start request for OB 21
OB20_PRIORITY BYTE assigned priority class:
Default:
3 (OB 20)
...
6 (OB 23)
OB20_OB_NUMBR BYTE OB number (20, 21)
OB20_RESERVED_1 BYTE reserved
OB20_RESERVED_2 BYTE reserved
OB20_SIGN WORD User ID:
input parameter SIGN from the call for SFC 32 (SRT_DINT)
OB20_DTIME TIME Configured delay time in ms
OB20_DATE_TIME DATE_AND_TIME Date and time of day when the OB was called
Information to access the local data can be found at the description of the OB 1.
6.6 Time of day Interrupts
6.6.1 OB 10, OB 11 - TOD_INTx - Time-of-day Interrupt
Time-of-day interrupts are used when you want to run a program at a particular time,
either once only or periodically. Time-of-day interrupts can be configured within the hard-
ware configuration or controlled by means of system functions in your main program at
run time. The prerequisite for proper handling of time-of-day interrupts is a correctly set
real-time clock on the CPU. For execution there are the following intervals:
n once
n every minute
n hourly
n daily
n weekly
n monthly
n once at year
n at the end of each month
Behavior on error
Local data
Description
VIPA SPEED7
Organization Blocks
Time of day Interrupts > OB 10, OB 11 - TOD_INTx - Time-of-day Interrupt
HB00 | OPL_SP7 | Operation list | en | 18-30 78

Table of Contents

Related product manuals