/
ADD (16bit data)
ADD (16bit data)
WSUM, WSUMP (16bit data)
ADD (n)number of word data and save the result in Destination(double word)
(It supports only in XP and PLC-S CPU series)
| |
S | Starting address of Source |
D | Destination |
n | Number of source |
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. |
| Error | Zero | Carry | ||
WSUM WSUMP | S | o | o | o | o | o | o | o | o | - | o | o | o | - | 4 | o | - | - |
D | o | o | o | o | o | - | o | o | - | o | o | o | - | |||||
n | o | - | o | o | o | - | o | o | - | o | o | o | o |
Example)
If X00 is ON, add D0, D1, D2, D3, D4, and D5 and then send the result to D10 and D11.
, multiple selections available,
Related content
16 bit and 32 bit Data Checks : SUM, SUMP, DSUM, DSUMP
16 bit and 32 bit Data Checks : SUM, SUMP, DSUM, DSUMP
More like this
16 and 32 Bit Data Exchange : XCH, XCHP, DXCH, DXCHP
16 and 32 Bit Data Exchange : XCH, XCHP, DXCH, DXCHP
More like this
Bit Data Transfer : WBMOV, WBMOVP
Bit Data Transfer : WBMOV, WBMOVP
More like this
명령어 실행 - Serial 모듈
명령어 실행 - Serial 모듈
More like this
Word Block Write 명령어 실행
Word Block Write 명령어 실행
More like this
BIN 사칙연산(나눗셈) : WDIV, WDIVP, DWDIV, DWDIVP
BIN 사칙연산(나눗셈) : WDIV, WDIVP, DWDIV, DWDIVP
More like this