EasyManua.ls Logo

Vigor VS Series - Page 277

Vigor VS Series
484 pages
Print Icon
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...
271
D E N E G P
D
1
2
M
3
○○○
FNC
128
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
D
DENEGP D0
X0
D
○
Operand
Devices
BIN Floating Point Negation
D : the device to be positive/negative inverted
X0=OFF→ON
–123.45
123.45
(D1, D0) BIN floating number
(D1, D0) BIN floating number
Before operation
After operation
D
D
This instruction inverts a BIN oating point format number which is designed by into its negative value and
stores the result back into .
When X0 = “OFF” → “ON”, this instruction performs the positive/negative inversion operation on the BIN oating
point number in (D1, D0), and then the result will be stored back into (D1, D0).
This instruction is a 32-bit instruction. Therefore, be sure to input DENEG or DENEGP in the program.
D
The operand must assign to a BIN oating point number for the calculation.
The format for storing a oating point number will occupy two Registers in the PLC system. Please refer to the
section 2-13 “Numerical System” for the reference of the oating point number.

Table of Contents