Delta Electronics AH — 3.20 Peripheral Instructions

Chapter 3 Standard Instructions 3_ Graphic expression: S 1 : Initial input device S 2 : For system use only D 1 : Device in which the setting value is stored D 2 : Initial output device n : Positive/Negative logic Explanation: 1. If the instruction is executed, S 1 is defined as the down arrow, S 1 +1 is defined as the up arrow, S1+2 is defined as the right arrow, and S1+3 is defined as the left arrow. The setting value is stored in D1, and it should be within the range between 0 and 9,999. 2. The operand S1 occupies four consecutive bit devices. 3. S2 is for system use only. Please do not alter the value in it. 4. The operand D2 occupies eight consecutive bit devices. 5.

When the conditional contact is not enabled, the eight bit devices starting from the bit device specified by D2 keep OFF. 6. The operand n should be within the range between 0 and 3. Please refer to the additional remark on the instruction SEGL for more information. 7. When the on-line editing is used, please reset the conditional contact to initialize the instruction.

3-447 FB/FC Instruction Operand Description FC ARWS S , S , D , D , n 1 2 1 2 Arrow keys 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 -