EasyManuals Logo

Xinje XDH Series User Manual

Xinje XDH Series
456 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 #150 background imageLoading...
Page #150 background image
149
<16 bits instruction>
INT D10 D20
X0
<32 bits instruction>
DINT D10 D20
X0
The binary source number is converted into a BIN integer and stored at the destination device.
Abandon the value behind the decimal point.
The inverse instruction is FLT.
When the result is 0, the flag bit is ON.
The result is over below data, the carry flag is ON.
16 bits operation: -32,768~32,767
32 bits operation: -2,147,483,648~2,147,483,647
INT D0 D10
X0
For example, if D0 is floating value 130.2, after executing INT, D10 value is integer 130.
4-8-6 Double - precision floating point to integer[DINTD,QINTD]
1) Summary
floating point to integer [DINTD,QINTD]
32 bits
DINTD
64 bits
QINTD
Execution
condition
Normal ON/OFF/falling
or rising pulse edge
Suitable Models
XDH
XLH
Hardware
requirement
Version V3.7.1 or later
Software
requirement
Version V3.7.4a or later
2) Operands
Operands
Function
Data Type
S
Source soft element address
64 bits, BIN
D
Target soft element address
32 bits/64 bits,BIN
3) Suitable soft components
Operands
Word soft elements
Bit soft elements
System
Constant
Module
System
D
FD
TD
CD
DX
DY
DM
DS
K/H
ID
QD
X
Y
M
S
T
C
Dn.m
S
D
(D11,D10) (D20)
Binary Float BIN integer
Give up the data after the decimal dot
(D11,D10) (D20,D21)
Binary Float BIN integer
Give up the data after the decimal dot
tudonghoatoancau.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Xinje XDH Series and is the answer not in the manual?

Xinje XDH Series Specifications

General IconGeneral
BrandXinje
ModelXDH Series
CategoryNetwork Hardware
LanguageEnglish

Related product manuals