Delta Electronics AH — 3.22 Other Instructions

AH Motion Controller – Standard Instructions Manual Graphic expression: _3 D : Device in which the value in the index register is stored Explanation: 1. The values in E0~E31 are stored in the devices specified by the value in D. 2. The execution of the instruction involves thirty-four devices, and the last two devices are for system use. If the instruction is executed and the number of times the data is stored is n, which is the value in D, the data in E0~E31 is stored in D+34*n+1~D+34*n+32, and the value in D becomes n+1. 3. If the instruction EPUSH is executed several times, the data in E0~E31 is stored several times in the devices specified by the changeable value in D.

Therefore, the range of devices should be wide enough. 4. If the instruction is used with the instruction EPOP, the value which is stored last in the device specified by the value in D is read first. D The number of times the data is stored E0 E1 D +1 D +2 ...... ...... ...... ...... E31 D +32 D +33 For system use D +34 E0 E1 +35 D +36 D E2 D +37 ......

3-488 FB/FC Instruction Operand Description FC EPUSH P D Storing the contents of the index registers BOOL WORD DWORD LWORD UINT UDINT INT DINT LINT REAL LREAL TMR CNT STRING Data type D   Device X Y M S T C HC/AC D L SM SR E PR K 16# “$” D F D        Pulse instruction 16-bit instruction 32-bit instruction AH Motion CPU AH Motion CPU -