Time Type → Bit Type Conversion - Mitsubishi Melsec-Q Series Structured Programming Manual

Application functions, qcpu
Hide thumbs Also See for Melsec-Q Series:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q-kp-ok-e13jw08

Table of Contents