EasyManua.ls Logo

YASKAWA VIPA SPEED7 - FC 63 - S_LTINT - Set Time Interrupt in Local Time

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...
During the switchover from daylight-saving to standard time the local time is put back one
hour. This, however, means that one hour is run through twice. (For CE(S)T the designa-
tors 2A and 2B apply). For an LT (local time) within this hour, no unique identification rela-
tive to a base time is possible. FC LT_BT receives an LT as an input parameter and must
decide whether the time is standard or daylight-saving before converting it to BT. If the LT
is within the double hour, the LT is interpreted as standard time. This is reported with
return value 2 or 3.
FC 62 LT_BT can be called in any priority class.
Internally, FC 62 uses the following functions. These functions must be loaded in your
project with the numbers shown here. FC1 (AD_DT_TM), FC7 (DT_DAY), FC35
(SB_DT_TM)
Output Values / Errors
RET_VAL LT Description
0 Base time Block executed error-free
1 Base time No error, but date jump
2 Base time The LT at the input is within
the "double" hour
3 Base time As 2, also date jump
4 Base time The LT at the input is within
the "forbidden" hour
5 Base time As 4, also date jump
8082 DT#90-01-01-0:0:0 Invalid data in the rule data
block
15.6.4 FC 63 - S_LTINT - Set time interrupt in local time
The FC sets the required time-of-day interrupt at the set time. This time is output in local
time.
Parameters
Parameter Declaration Data type Description
OB_NR INPUT INT No of the OB to be started (permitted 10 – 17)
SDT INPUT BLOCK_DB Start date and time-of-day in local time (see SFC28)
PERIOD INPUT INT Period from start point SDT:
n W#16#0000 = once
n W#16#0201 = every minute
n W#16#0401 = every hour
n W#16#1001 = daily
n W#16#1201 = weekly
n W#16#1401 = monthly
n W#16#1801 = annually
n W#16#2001 = at end of month
"Double Hour"
Calling OBs
Call Environment
Description
VIPA SPEED7
Standard
Time Functions > FC 63 - S_LTINT - Set time interrupt in local time
HB00 | OPL_SP7 | Operation list | en | 18-30 881

Table of Contents

Related product manuals