Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

3. Instruction Set Operands: S : Source of data D : Destination device Explanations: 1. The instruction reverses the bit pattern (0→1, 1→0) of all the contents in S and sends the contents to D . 2. If operand S and D use index register F, only 16-bit instruction is available Program example 1: When X10 = ON, b0 ~ b3 in D1 will be inverted and sent to Y0 ~ Y3 X20 b0 b1 b2 b3 b15 D1 No variation Transfer data Program example 2: The diagram below can be substituted by the instruction on the right.

X000 X001 M0 M1 X002 M2 X003 M3 Normally ON contact M1000 X000 M0 X001 M1 X002 M2 X003 M3 3-65 API Mnemonic Operands Function Controllers SA2 ES2/EX2 SS2 SX2 SE 14 D CML P Compliment SS2 SA2 SX2 SE Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F CML, CMLP: 5 steps DCML, DCMLP: 9 steps S * * * * * * * * * * * D * * * * * * * * PULSE 16-bit 32-bit SA2 SS2 SA2 SA2 ES2/EX2 SS2 SX2 ES2/EX2 SX2 E S2/EX2 SS2 SX2 SE SE SE CML D1 K1Y0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 Symbol bit (0=positive, 1=negative) 0 1 0 1 CML K1X0 K1M0