Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 641

Table of Contents

Advertisement

Example Programming
When CIO 0.00 is ON in the following example, SUM(184) adds 10 bytes of unsigned binary data
beginning with the rightmost byte of D100 and writes the result to D201 and D200.
0.00
D300
D100
R1
D200
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Number of words/bytes
C+1: D301
Starting byte
1: Rightmost byte
Units
1: Bytes
Data type
0: Binary
Data type
0: Unsigned binary data
C: D300
R1: D100
D101
C
3
D102
9
F
D103
2
7
D104
2
A
D105
D
C
D: D200
0
3
0
0
D+1: D201
Always 0.
10 bytes
Table length
2
A
2
A
2
0
2
0
The shaded bytes are added.
5
5
7
8
0
0
3. Instructions
3
605

Advertisement

Table of Contents
loading

Table of Contents