Chapter 8 Logic Instructions
8-171
8_
The Integer data are converted into the Real-number data as the following table shows.
Data type
The value of In corresponds to the value of Out
In
Out
In
Out
USINT
REAL
0~255
0~2.55e+2
LREAL
0~255
0~2.55e+2
UINT
REAL
0~65535
0~6.5535e+4
LREAL
0~65535
0~6.5535e+4
UDINT
REAL
0~4294967295
0~4.9
LREAL
0~4294967295
0~4.2949
ULINT
REAL
0~18446744073709551615
0~1.19
LREAL
0~18446744073709551615
0~1.8446744019
SINT
REAL
-128~127
-1.28e+2~1.27e+2
LREAL
-128~127
-1.28e+2~1.27e+2
INT
REAL
-32768~32767
-3.2768e+4~3.2767e+4
LREAL
-32768~32767
-3.2768e+4~3.2767e+4
DINT
REAL
-2147483648~2147483647
-2.9~2.9
LREAL
-2147483648~2147483647
-2.9~2.9
LINT
REAL
-9223372036854775808~
9223372036854775807
-9.18~9.18
LREAL
-9223372036854775808~
9223372036854775807
-9.2233720318~
9.2233720318
Integer to Time or Date
The Integer data are converted into the Time or Date data and some instructions are shown as
below.
The rule for the conversion of the Integer data into the Time or Date data is the same as that
for the conversion of the Integer data into the unsigned integer data.
The Integer data are converted into the Time or Date data as the following table shows.
Data type
The value of In corresponds to the value of Out
In
Out
In
Out
USINT
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
UINT
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
UDINT
TIME
16#00000000~16#FFFFFFFF
T#0ns~
S INT_TO _TIME
EN
ENO
O ut
In
INT_TO_DATE
EN
ENO
O ut
In
USINT_TO_TOD
EN
ENO
O ut
In
UI NT_ TO_ DT
EN
ENO
O ut
In
Содержание DVP-15MC Series
Страница 16: ...1 1 1 Preface Table of Contents 1 1 Explanation of Symbols in This Manual 1 2 1 2 Revision History 1 3...
Страница 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Страница 20: ...2 1 2 Overview Table of Contents 2 1 Product Description 2 2 2 2 Functions 2 2 2 3 Profile and Components 2 3...
Страница 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Страница 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Страница 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Страница 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Страница 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Страница 433: ...9 1 9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2...
Страница 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Страница 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Страница 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Страница 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Страница 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...