ECMP D10 D20 M0
M0
M1
M2
X0
D·S1· S2·
The instruction will compare the two source data S1 and S2. The result is stored in three bits
from D.
If a constant K or H used as source data, the value is converted to floating value.
Note: Before the instruction is executed, the comparison data must be all floating numbers (if
it is an integer, it can be converted by FLT instructions); otherwise, the execution result will
be wrong.
4-9-2.Floating Zone Compare [EZCP]
1. Summary
Floating Zone Compare [EZCP]
Normally ON/OFF,
rising/falling edge
Soft element address need compare
Upper limit of compare data
Lower limit of compare data
(D11,D10) > (D21<D20)
Binary Floating Binary Floating
(D11,D10) = (D21<D20)
Binary Floating Binary Floating
(D11,D10) < (D21<D20)
Binary Floating Binary Floating
When X0 is OFF, even ECMP doesn’t run, M0~M2 will keep the
status before X0 is OFF.
(K500) : (D101, D100) →M10,M11,M12
Binary converts Binary floating
to floating