EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - 7.12.16 DENEG

Mitsubishi Electric MELSEC FX Series
838 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...
7 Applied Instructions
7.12 Floating Point
489
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
7.12.16 DENEG
Outline
This instruction inverts the sign of binary floating decimal point (real number) data.
As for handling of floating decimal point, refer to FX Structured Programming Manual (Device &
Common).
1. Format and operation, execution form
2. Set data
3. Applicable devices
Function and operation explanation
1. 32-bit operation (DENEG/DENEGP)
The sign of the binary floating decimal point data of the device specified by is inverted, and stored in the
device specified by .
Caution
When handling 32-bit data in structured program, you cannot specify 16-bit device directly unlike the simple
project. When handling 32-bit data, please use the label.
However, the 32-bit counter is a 32-bit long device, and can be specified directly.
When specifying the device, use the global label.
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder ST
DENEG 32 bits Continuous DENEG(EN, d);
DENEGP 32 bits Pulse DENEGP(EN, d);
Variable Description Data type
Input
variable
EN Execution condition Bit
Output
variable
ENO Execution state Bit
Head device for storing the binary floating decimal point data of which sign
is to be inverted.
FLOAT(Single
Precision)
Operand
type
Bit Devices Word Devices Others
System user Digit designation
System
user
Special
unit
Index
Cons
tant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
VZModifierK H E
""
P
zz z z
DENEG
EN ENO
d
DENEGP
EN ENO
d
Command
input
DENEG
EN ENO
d
Label 1
*1
*1. To define the head device for storing the binary floating
decimal point data of which sign is to be inverted.

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals