EasyManua.ls Logo

YASKAWA VIPA SPEED7 - Page 882

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...
Parameter Declaration Data type Description
WS_DAT INPUT DATE_AND_TIME Information on the time zone for standard/daylight
saving switchover (see above)
RET_VAL OUTPUT INT Error code
The local time entered at input LT is converted to the base time using the rule stored in a
DB. The DB contains the number of 30-minute units by which the base time and local
time differ and the difference between daylight-saving time and standard time also in units
of 30 minutes (see above). The specified time-of-day interrupt OB is assigned parameter
values and activated using the calculated base time. If the calculation results in a date
overflow, this is indicated by a special return value.
During the switchover from standard to daylight-saving time the local time is put forward
one hour. This, however, means that the hour in between is not run through. If there is an
LT (local time) within this hour, FC S_LTINT "thinks" in daylight-saving time. This is
reported with return value 4 or 5.
During the switchover from daylight-saving to standard time the local time is put back one
hour. This, however, means that one hour run through twice. (For CE(S)T the designators
2A and 2B apply). For an LT (local time) within this hour, no unique identification relative
to a base time is possible. FC S_LTINT receives an LT as 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 S_LTINT can be called in any priority class. Internally, FC S_LTINT uses the following
functions. These functions must be loaded in your project with the numbers shown here.
FC7 (DT_DAY), FC35 (SB_DT_TM)
RET_VAL Description
0 Block executed error-free
1 No error, but date jump
2 The LT at the input was within the "double" hour
3 As 2, also date jump
4 The LT at the input is within the "forbidden" hour
5 As 4, also date jump
8082 Invalid data in the rule data block
8090 Bad OB_NR parameter
8091 Bad SDT parameter
8092 Bad PERIOD parameter
80A1 The set start time is in the past
80A2 OB is not loaded
80A3 OB cannot be started
How It Works
"Forbidden Hour"
"Double Hour"
Calling OBs
Output Values / Errors
VIPA SPEED7
Standard
Time Functions > FC 63 - S_LTINT - Set time interrupt in local time
HB00 | OPL_SP7 | Operation list | en | 18-30 882

Table of Contents

Related product manuals