Chapter 8 Logic Instructions
8_
BOOL to Time and Date
Relevant instructions:
The rule that Boolean data are converted into Time or Date data is as the following table
shows.
Boolean
Time and Date
TIME
DATE
TOD
DT
FALSE
T#0ms
D#1970-1-1
TOD#
DT#
TRUE
T#1ms
D#1970-1-1
TOD#
DT#
BOOL to String
Relevant instructions:
The rule that Boolean data are converted into String data is as the following table shows. (The
string format is to be confirmed.)
Boolean
String
STRING
FALSE
‘FALSE’
TRUE
‘TRUE’
Precautions for Correct Use
The input variables are not allowed to omit. If the input variables are omitted, an error will occur during
the compiling of the software. The output variable is allowed to omit.
BO OL_ TO_ TI ME
EN
E NO
Out
In
BO OL_ TO _DATE
EN
E NO
Out
In
BO OL_TO_TOD
EN
E NO
Out
In
BOO L_TO_DT
EN
E NO
Out
In
BOO L_TO_STRING
EN
E NO
Out
In
8-151
Summary of Contents for DVP15MC11T
Page 9: ...Memo viii...
Page 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Page 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Page 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Page 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Page 249: ...DVP15MC11T Operation Manual _8 8 178...
Page 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Page 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Page 549: ...DVP15MC11T Operation Manual A MEMO A 16...