DVP- ES2/ EX2/ SS2/ SA2/ SX2/ SE&TP O pe r a t i on Ma nua l - Pr ogr am m i ng3- 512API Mnemonic Operands Function ControllersES2/EX2 SS2 SA2SESX2287~292 FOR※ Floating Point Contact TypeComparison OR※TypeOPBit Devices Word devices Program StepsX Y M S K H KnX KnY KnM KnS T C D E F FOR※: 9 stepsS1 * * *S2 * * *PULSE 16-bit 32-bitES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2 ES2/EX2 SS2 SA2SE SX2Operands:S1: Source device 1 S2: Source device 2Explanations:1. This instruction compares the content in S 1 and S2. Take “FOR =” for example, if the result is “=”,the continuity of the instruction is enabled. If the result is “≠”, the continuity of the instruction isdisabled2. The user can specify the floating point value directly into operands S 1 and S2 (e.g. F1.2) or storethe floating point value in D registers for further operation.3. FOR※ instruction is used for parallel connection with contacts.API No. 32-bit instruction Continuity condition Discontinuity condition287 FOR= S1=S2 S1≠S2288 FOR> S1>S2 S1≦S2289 FOR< S1<S2 S1≧S2290 FOR<> S1≠S2 S1=S2291 FOR<= S1≦S2 S1>S2292 FOR>= S1≧S2 S1<S2Program Example:When both X2 and M30 are On and the content in D100(D101) ≥ F1.234, M60 = ON..FOR>= D100 F1.234X2 M30M60