Delta Electronics AH — 3.15 Data Processing Instructions

AH Motion Controller – Standard Instructions Manual _3 Graphic expression: S : Data source n : Data length D : Operation result Explanation: 1. The signed decimal values in S ~ S + n -1 are added up, and the sum is stored in the register specified by D . S +1 S D D +1 Binary values +3 S +2 S n +4 S Binary value +5 S S +1 S +2 S +3 S D D +1 Binary values n D D +3 +2 Binary value 2.

The operand n used in the 16-bit instruction should be within the range between 1 and 256, and the operand 3-348 FB/FC Instruction Operand Description FC D* WSUM P S, D, n Getting the sum BOOL WORD DWORD LWORD UINT UDINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S  *  * D  *  * n  *  * Device X Y M S T C HC/AC D L SM SR E PR K 16# “$” D F S          D          n             Pulse instruction 16-bit instruction 32-bit instruction AH Motion CPU AH Motion CPU AH Motion CPU S+5 S+4 S+7 S+6 S+9 S+8