Delta DVP-ES3 — 6.9.2 Explanation of Logic Instructions

DVP-ES3 Series Programming Manual Symbol S 1 : Data source 1 S 2 : Data source 2 Taking AND& and DAND& for example Explanation _6 1. This instruction compares the data in S 1 with that in S 2 . When the comparison result is not 0, the condition of the instruction is met. When the comparison result is 0, the condition of the instruction is not met. 2. Only the DAND # instruction can use the 32-bit counter, but not the device E. 3. Connect the AND # instruction and the contact in series. 4. &: Logical AND operation 5. |: Logical OR operation 6. ^:

Logical exclusive OR operation 6-250 API Instruction code Operand Function 0812- 0814 D AND# S1, S2 Contact type of logical operation AND# Device X Y M S T C HC D FR SM SR E K 16# “$” F S1          S2          BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1        S2        Pulse instruction 16-bit instruction 32-bit instruction - ES3 ES3 Comparison operation result API No. 16-bit instruction 32-bit instruction ON OFF 0812 AND& DAND& ≠ S1&S2 0 = S1&S2 0 0813 AND| DAND| ≠ S1|S 0 S1|S2= 0 0814 AND^ DAND^ ≠ S1^S2 0 = S1^S 0