Delta DVP-ES3 — 6.1.2 Explanation of Comparison Instructions

Chapter 6 Applied Instructions Symbol S 1 : Data source 1 S 2 : Data source 2 Taking FLD= for example Explanation 1. These instructions compare the 32-bit single precision floating point number 6_ 2. Compare values in S 1 and S 2 . Take the FLD= instruction for example. When the comparison result is that the value in S 1 is equal to that in S 2 , the continuity condition of the instruction is met. When the comparison result is that the point 2 below for more information on the instruction of FLD=. value in S 1 is not equal to that in S 2 , the discontinuity condition of the instruction is met.

Refer to Additional Remarks 6-13 API Instruction code Operand Function 0018-0023 FLD※ S1,S2 Comparing floating-point numbers LD ※ Device X Y M S T C HC D FR SM SR E K 16# “$” F S1        S2        BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1  S2  Pulse Instruction 16-bit instruction 32-bit instruction - - ES3 32-bit Continuity Discontinuity API number instruction condition condition 0018 FLD= S1=S2 S1≠S2 0019 FLD<> S1≠S2 S1=S2 0020 FLD> S1>S2 S1≦S2 0021 FLD>= S1≧S2 S1<S2 0022 FLD< S1<S2 S1≧S2 0023 FLD<= S1≦S2 S1>S2