Chapter 8 Logic Instructions
8-163
8_
The rule for the conversion of Bit-string data into Time or Date data is the same as that for the
conversion of the Bit-string data into unsigned integer data.
The Bit-string data are converted into the Time and Date data as the following table shows.
Data type
The value of In corresponds to the value of Out
In
Out
In
Out
BYTE
TIME
16#00~16#FF
T#0ns~T#255ns
DATE
16#00~16#FF
D#1970-1-1
TOD
16#00~16#FF
TOD#0:0:0~ TOD#0:0:0.255
DT
16#00~16#FF
DT#1970-1-1-0:0:0~ DT#1970-
1-1-0:4:15
WORD
TIME
16#0000~16#FFFF
T#0ns~T#65us535ns
DATE
16#0000~16#FFFF
D#1970-1-1
TOD
16#0000~16#FFFF
TOD#0:0:0~ TOD#0:1:5.535
DT
16#0000~16#FFFF
DT#1970-1-1-0:0:0~ DT#1970-
1-1-18:12:15
DWORD
TIME
16#0000_0000~16#FFFF_FFFF
T#0ns~
T#4s294ms967us295ns
DATE
16#0000_0000~16#FFFF_FFFF D#1970-1-1~D#2016-2-7
TOD
16#0000_0000~16#0526_5BFF
TOD#0:0:0~
TOD#23:59:59.999
16#0526_5C00~16#0A4C_B7FF
…….
16#FC57_9C00~16#FFFF_FFFF TOD#0:0:0~ TOD#17:2:47.295
DT
16#0000_0000~16#FFFF_FFFF
DT#1970-1-1-0:0:0~ DT#2016-
2-7-6:28:15
LWORD
TIME
16#0000_0000_0000_0000~
16# FFFF_FFFF_FFFF_FFFF
T#213503d23h34m33s709ms5
51us615ns
DATE
16#****_****_0000_0000~
16#****_****_FFFF_FFFF
D#1970-1-1~D#2016-2-7
TOD
16#****_****_0000_0000~
16#****_****_0A4C_B7FF
TOD#0:0:0~
TOD#23:59:59.999
16#****_****_0526_5C00~
16#****_****_0A4C_B7FF
……
16#****_****_0000_0000~
16#****_****_FFFF_FFFF
TOD#0:0:0~ TOD#17:2:47.295
DT
16#****_****_0000_0000~
16#****_****_FFFF_FFFF
DT#1970-1-1-0:0:0~ DT#2016-
2-7-6:28:15
Bit string to String
The Bit-string data can be converted to the String data. And some instructions are shown
below.
B YTE_TO_TIME
EN
ENO
Out
In
B YTE_TO_DATE
EN
ENO
Out
In
LWO RD_TO_ TOD
EN
ENO
Out
In
LWO RD_TO_DT
EN
ENO
Out
In
Summary of Contents for DVP-15MC Series
Page 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Page 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Page 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Page 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Page 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Page 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Page 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Page 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Page 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Page 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Page 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...