EasyManua.ls Logo

LSIS XBC-DN30S - Page 349

LSIS XBC-DN30S
384 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
Loading...
Appendix 4 Instruction List
App. 4-7
(3) Data type conversion instruction
Classification
Designations
Symbol
Description
Support
XGK
XGB
16 Bits
Integer/Real
Conversion
I2R
I2R DS
I2RP
I2RP DS
I2L
I2L DS
I2LP
I2LP DS
32 Bits
Integer/Real
Conversion
D2R
D2R DS
D2RP
D2RP DS
D2L
D2L DS
D2LP
D2LP DS
Short
Real/Integer
Conversion
R2I
R2I DS
R2IP
R2IP DS
R2D
R2D DS
R2DP
R2DP DS
Long
Real/Integer
Conversion
L2I
L2I DS
L2IP
L2IP DS
L2D
L2D DS
L2DP
L2DP DS
Remark
Integer value and Real value will be saved respectively in quite different format. For such reason, Real Number
Data should be converted as applicable before used for Integer Operation.
(D+1,D)
(S)
Int( -32768~32767 )
To Real
(D+3,D+2,D+1,D)
(S)
Int( -32768~32767 )
To Long
(D+1,D)
(S+1,S)
Dint(-2147483648~2147483647)
To Real
(D+3,D+2,D+1,D)
(S+1,S)
Dint(-2147483648~2147483647)
To Long
(S+1,S)
(D)
Whole Sing Real
Range
To INT
(S+1,S)
(D+1,D)
Whole Sing Real
Range
To DINT
(D)
(S+3,S+2,S+1,S)
To INT
Whole Double Real
Range
(D+1,D)
(S+3,S+2,S+1,S)
To DINT
Whole Double Real
Range
www.behaotomasyon.com
www.behaotomasyon.com

Table of Contents

Related product manuals