FX Series Programmable Controlers Applied Instructions 5
5-134
5.10 Floating Point 1 & 2 - Functions 110 to 129
Contents:
Floating Point 1 Page
ECMP - Float Compare FNC 110 5-111
EZCP - Float Zone Compare FNC 111 5-111
222 - Not Available FNC 112 to 117
EBCD - Float to Scientific FNC 118 5-112
EBIN - Scientific to Float FNC 119 5-112
Floating Point 2
EADD - Float Add FNC 120 5-113
ESUB - Float Subtract FNC 121 5-114
EMUL - Float Multiplication FNC 122 5-114
EDIV - Float Division FNC 123 5-115
222 - Not Available FNC 124 to 126
ESQR - Float Square Root FNC 127 5-115
222 - Not Available FNC 128
INT - Float to Integer FNC 129 5-116
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,S3 or for lists/tabled devices D3+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.
Instruction modifications:
222 - An instruction operating in 16 bit mode, where 222 identifies the instruction
mnemonic.
222P - A 16 bit mode instruction modified to use pulse (single) operation.
D222 - An instruction modified to operate in 32 bit operation.
D222P - 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.