Delta Electronics — 6.9.2 Explanation of Logic Instructions

Chapter 6 Applied Instructions Symbol S : Data source D : Operation result Explanation 1. This instruction applies the INV instruction to the data in S , and stores the operation result in D . 6_ 2. Only the DINV instruction can use the 32-bit counter but not the device E. 3. This instruction performs reverse processing on the data in S. If the state of S is 0 before executing the INV instruction, the state changes to 1 as a result of the INV instruction. Example 1 When X0.0 is ON, the instruction performs the INV operation on the corresponding bits in the 16-bit device Y0. It stores the operation result in the 16-bit device Y4.

6-247 API Instruction code Operand Function 0808 D WINV P S, D Logical reversed INV operation 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 AS AS AS