Справочник Пользователя для Mitsubishi Electronics FX0
FX Series Programmable Controlers
Applied Instructions 5
5-118
5.11
Floating Point 1 & 2 - Functions 110 to 129
Contents:
Floating Point 1
Page
ECMP -
Float Compare
FNC 110
5-119
EZCP -
Float Zone Compare
FNC 111
5-119
-
Not Available
FNC 112 to 117
EBCD -
Float to Scientific
FNC 118
5-120
EBIN -
Scientific to Float
FNC 119
5-120
Floating Point 2
EADD -
Float Add
FNC 120
5-121
ESUB -
Float Subtract
FNC 121
5-122
EMUL -
Float Multiplication
FNC 122
5-122
EDIV -
Float Division
FNC 123
5-123
-
Not Available
FNC 124 to 126
ESQR -
Float Square Root
FNC 127
5-123
PPP
-
Not Available
FNC 128
INT -
Float to Integer FNC
129
5-124
Symbols list:
D - Destination device.
S - Source device.
m, n- Number of active devices, bits or an operational constant.
Additional numeric suffixes will be attached if there are more than one operand with the same
function e.g. D
S - Source device.
m, n- Number of active devices, bits or an operational constant.
Additional numeric suffixes will be attached if there are more than one operand with the same
function e.g. D
1
, S
3
or for lists/tabled devices D
3+0,
S
+9
etc.
MSB - Most Significant Bit, sometimes used to indicate the mathematical sign of a number, i.e.
positive = 0, and negative = 1.
LSB - Least Significant Bit.
positive = 0, and negative = 1.
LSB - Least Significant Bit.
Instruction modifications:
-
An instruction operating in 16 bit mode, where
identifies the instruction
mnemonic.
P - A 16 bit mode instruction modified to use pulse (single) operation.
D
- An instruction modified to operate in 32 bit operation.
D
P - A 32 bit mode instruction modified to use pulse (single) operation.
- A repetitive instruction which will change the destination value on every scan unless
modified by the pulse function.
- An operand which cannot be indexed, i.e. The addition of V or Z is either invalid or will
have no effect to the value of the operand.