EasyManua.ls Logo

YASKAWA VIPA SPEED7 - FC 8 - DT_TOD - Extract TIME_OF_DAY from DT

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 Memory area Description
IN* INPUT DATE_AND_TIME D, L Input variable in format DT
RET_VAL OUTPUT INT I, Q, M, D, L Return value in format INT
*) You can assign only a symbolically defined variable for the parameter.
15.2.9 FC 8 - DT_TOD - Extract TIME_OF_DAY from DT
The function FC 8 extracts the data format TIME_OF_DAY from the format
DATE_AND_TIME. The function does not report any errors.
Parameter Declaration Data type Memory area Description
IN* INPUT DATE_AND_TIME D, L Input variable in format DT
RET_VAL OUTPUT TIME_OF_DAY I, Q, M, D, L Return value in format TOD
*) You can assign only a symbolically defined variable for the parameter.
15.2.10 FC 9 - EQ_DT - Compare DT for equality
The function FC 9 compares the contents of two variables in the data type format
DATE_AND_TIME to determine if they are equal and outputs the result of the comparison
as a return value. The return value has the signal state "1" if the time at parameter DT1 is
the same as the time at parameter DT2. The function does not report any errors.
Parameter Declaration Data type Memory area Description
DT1* INPUT DATE_AND_TIME D, L Input variable in format TD
DT2* INPUT DATE_AND_TIME D, L Input variable in format TD
RET_VAL OUTPUT BOOL I, Q, M, D, L Comparison result
*) You can assign only a symbolically defined variable for the parameter.
15.2.11 FC 10 - EQ_STRNG - Compare STRING for equal
The function FC 10 compares the contents of two variables in the format STRING to
determine if they are equal and outputs the result of the comparison as a return value.
The return value has the signal state "1" if the string at parameter S1 is the same as the
string at parameter S2. The function does not report any errors.
Parameter Declaration Data type Memory area Description
S1* INPUT STRING D, L Input variable in format STRING
S2* INPUT STRING D, L Input variable in format STRING
Description
Parameter
Description
Parameter
Description
Parameter
VIPA SPEED7
Standard
IEC > FC 10 - EQ_STRNG - Compare STRING for equal
HB00 | OPL_SP7 | Operation list | en | 18-30 808

Table of Contents

Related product manuals