EasyManua.ls Logo

Mitsubishi MELSEC Q Series

Mitsubishi MELSEC Q Series
268 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...
5.1 Type Conversion Functions
5.1.35 Time type
→
bit type conversion
5-107
5
APPLICATION
FUNCTIONS
TIME_TO_BOOL(_E)
TIME_TO_BOOL(_E)
5.1.35 Time type → bit type conversion
TIME_TO_BOOL(_E)
Function
Operation processing
Converts time type data input to into bit type data, and outputs the operation result from
.
When the input value is 0ms, FALSE is output in bit type data.
When the input value is other than 0ms, TRUE is output in bit type data.
TIME_TO_BOOL(_E)
_E: With EN/ENO
indicates any of the following
functions.
TIME_TO_BOOL TIME_TO_BOOL_E
Input argument, EN:
Executing condition (TRUE: Execution, FALSE: Stop) :Bit
s:
Input :Time
Output argument, ENO:
Output status (TRUE: Normal, FALSE: Error) :Bit
d:
Output :Bit
Universal
UD
High
Performance
EN ENO
ds
TIME_TO_BOOL_E
(EN, s, d);ENO:=
Structured ladder
ST
TIME_TO_BOOL_E
s
d
Time type
20m34s567ms
0ms
Bit
type
TRUE
FALSE

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Related product manuals