Delta DVP-ES3 — 6.18.2 Explanation of Peripheral Instructions

Chapter 6 Applied Instructions Symbol S 1 : First input device S 2 : For system use only 6_ D 1 : First output device D 2 : Device where the value is stored n : Number of DIP switches Explanation 1. The four or eight external inputs starting from the input specified by S 1 are connected to the four external outputs starting from the output specified by D 1 to form a four-digit DIP switch or two four-digit DIP switches. The instruction stores the value from the DIP switch in D 2 . Whether there is one four-digit DIP switch or two four-digit DIP switches depends on n . 2. If n is 1, the operand D 2 occupies one register. If n is 2, the operand D 2 occupies two registers. 3.

S 2 and S 2 +1, are for system use only, and occupy two devices. Please do not alter the values in these devices. 4. After the instruction completes, SM694 is ON for a scan cycle. 5. When the conditional contact is not enabled, the four external outputs starting from the output specified by D 1 stay OFF. 6-515 API Instruction code Operand Function 1702 DSW S1, S2, D1, D2, n DIP switch Device X Y M S T C HC D FR SM SR E K 16# “$” F S1  S2  D1  D2    n         BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1  S2    D1  D2    n    Pulse instruction 16-bit instruction 32-bit instruction - ES3 -