Mitsubishi Electronics FX Home Theater Server User Manual


 
FX Series Programmable Controlers Applied Instructions 5
5-118
5.11 Floating Point 1 & 2 - Functions 110 to 129
Contents:
Floating Point 1
Pa
g
e
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 Inte
g
er 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
1
, S
3
or for lists/tabled devices D
3+0,
S
+9
etc.
MSB - Most Si
g
nificant Bit, sometimes used to indicate the mathematical si
g
n of a number, i.e.
positive = 0, and ne
g
ative = 1.
LSB - Least Si
g
nificant Bit.
Instruction modifications:
-
An instruction operatin
g
in 16 bit mode, where identifies the instruction
mnemonic.
P - A 16 bit mode instruction modified to use pulse (sin
g
le) operation.
D
- An instruction modified to operate in 32 bit operation.
D P - A 32 bit mode instruction modified to use pulse (sin
g
le) operation.
- A repetitive instruction which will chan
g
e the destination value on ever
y
scan unless
modified b
y
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.