10 Application Instructions API 202-313 API 281~ 286 Operands: S 1 : Source device 1 S 2 : Source device 2 Explanations: 1. EH2/SV_V1.9 and versions above, and EH3/SV2 supports the function. EH series does not support the dunction. 2. This instruction compares the content in S 1 and S 2 . Take API281 (FAND =) for example, if the result is “=”, the continuity of the instruction is enabled. If the result is “≠”, the continuity of the instruction is disabled. 3. The user can specify the floating point value directly into operands S 1 and S 2 (e.g. F1.2) or store the floating 4. FAND ※ ( ※ : =, >, , ≤, ≥) instruction is used for serial connection with contacts.
point value in D registers for further operation. Program Example: When X1 is OFF and the content in D0 (D1) does not equal to F1.2, Y21 = ON and latched. X1 DVP-PLC Application Manual 10-31 Mnemonic Operands Function FAND※ Floating Point Serial Type Comparison Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F FAND※: 9 steps S 1 * * * S 2 * * * PULSE 16-bit 32-bit SA SX SC EH SV EH3 SV2 ES EX SS SA SX SC EH SV EH3 SV2 ES EX SS SA SX SC EH3 ES EX SS EH SV SV2 API No.
32-bit instruction Continuity condition Discontinuity condition 281 FAND= S =S 1 2 S ≠S 1 2 282 FAND> S >S 1 2 S ≦S 1 2 283 FAND< S <S 1 2 S ≧S 1 2 284 FAND<> S ≠S 1 2 S =S 1 2 285 FAND<= S ≦S 1 2 S >S 1 2 286 FAND>= S ≧S 1 2 S <S 1 2 FAND F1.2 D0 SET Y21