EasyManuals Logo

Delta DVP-15MC Series User Manual

Delta DVP-15MC Series
972 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
Page #258 background imageLoading...
Page #258 background image
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.294967e+9
LREAL
0~4294967295
0~4.294967295e+9
ULINT
REAL
0~18446744073709551615
0~1.844674e+19
LREAL
0~18446744073709551615
0~1.84467440737095e+19
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.147483e+9~2.147483e+9
LREAL
-2147483648~2147483647
-2.147483e+9~2.147483e+9
LINT
REAL
-9223372036854775808~
9223372036854775807
-
9.223372e+18~9.223372e+18
LREAL
-9223372036854775808~
9223372036854775807
-9.22337203685477e+18~
9.22337203685477e+18
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~
SINT_TO_TIME
EN ENO
Out
In
INT_TO_DATE
EN ENO
Out
In
USINT_TO_TOD
EN ENO
Out
In
UINT_TO_DT
EN ENO
Out
In

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-15MC Series and is the answer not in the manual?

Delta DVP-15MC Series Specifications

General IconGeneral
BrandDelta
ModelDVP-15MC Series
CategoryController
LanguageEnglish

Related product manuals