EasyManuals Logo

Delta Electronics DVP15MC11T User Manual

Delta Electronics DVP15MC11T
601 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 #236 background imageLoading...
Page #236 background image
Chapter 8 Logic Instructions
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
SINT_TO_TIME
EN ENO
Out
In
INT_TO_DATE
EN ENO
Out
In
USINT_TO_TOD
EN ENO
OutIn
UINT_TO_DT
EN ENO
Out
In
8-165

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta Electronics DVP15MC11T and is the answer not in the manual?

Delta Electronics DVP15MC11T Specifications

General IconGeneral
BrandDelta Electronics
ModelDVP15MC11T
CategoryController
LanguageEnglish

Related product manuals