Delta DVP-ES3 — 6.4.2 Explanation of Data Transfer Instructions

DVP-ES3 Series Programming Manual Symbol S : Data source D : Data destination Explanation _6 1. This instruction inverts all bits in S ; that is, 0 becomes 1, and 1 becomes 0, and stores the inversion result in D . If the data in S is a constant, the instruction converts it into a binary value. 2. Only the 32-bit instructions can use the 32-bit counter, but not the device E. Example 1 When M0 is ON, the instruction inverts b0~b15 in D1, and stores the conversion result in b0~b15 in D10. D 1 Sig n bi t (0 : P ositi ve si gn; 1:

Ne gative si gn ) b 0 b 1 b 2 b 3 b 15 Y0 D10 Inversi on resul t 6-130 API Instruction code Operand Function 0303 D CML P S, D Inverting data Device X Y M S T C HC D FR SM SR E K 16# “$” F S          D       BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S      D      Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 ES3 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1