Delta Electronics AH — 3.20 Peripheral Instructions

AH Motion Controller – Standard Instructions Manual _3 Graphic expression: S 1 : Initial input device S 2 : For system use only D 1 : Initial output device D 2 : Device in which 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 value that users enter by pressing the DIP switch is stored 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 D2 occupies one register.

If n is 2, the operand D2 occupies two registers. 3. S2 and S2+1, which are for system use only, occupy two devices. Please do not alter the values in these devices. 4. After the execution of the instruction is complete, 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 D1 keep OFF. 6. When the on-line editing is used, please reset the conditional contact to initialize the instruction.

3-444 FB/FC Instruction Operand Description FC DSW S, D , D , n 1 2 DIP switch BOOL WORD DWORD LWORD UINT UDINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S 1  S 2   D 1  D 2   n   Device X Y M S T C HC/AC D L SM SR E PR K 16# “$” D F S 1  S 2        D 1  D 2        n         Pulse instruction 16-bit instruction 32-bit instruction - AH Motion CPU -