637
Floating-point Math Instructions Section 3-15
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Description The input comparison instruction compares the data specified in S
1
and S
2
as
single-precision floating point values (32-bit IEEE754 data) and creates an
ON execution condition when the comparison condition is true. When the data
is stored in words, S
1
and S
2
specify the first of two words containing the 32-
bit data. It is also possible to input the floating-point data as an 8-digit hexa-
decimal constant.
S
1
S
2
S1: Comparison data 1
S
2: Comparison data 2
Symbol & options
Variations Creates ON Each Cycle Comparison is True Input compari-
son instruction
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area S
1
S
2
CIO Area CIO 0000 to CIO 6142
Work Area W000 to W510
Holding Bit Area H000 to H510
Auxiliary Bit Area A000 to A958
Timer Area T0000 to T4094
Counter Area C0000 to C4094
DM Area D00000 to D32766
EM Area without bank E00000 to E32766
EM Area with bank En_00000 to En_32766
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Indirect DM/EM
addresses in BCD
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants #00000000 to #FFFFFFFF (binary)
Data Registers ---
Index Registers IR0 to IR15 (for unsigned data only)
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15