3. Instructions
610
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Example Programming
When CIO 0.00 is ON in the following example, FCS(180) calculates the FCS value for the 10 bytes of
data beginning with the rightmost byte of D100 and writes the result to D200.
0 2
0 4
0 6
0 8
0 0
3 0
0 1
0 3
0 5
0 7
0 0
3 8
R1
C: D300
C+1: D301
D: D200
D300
D100
D200
R1: D100
D101
D102
D103
D104
D105
0.00
Always 0.
Units
1: Bytes
Starting byte (Effective only if bit 13 is 1.)
1: Rightmost byte
Always 0.
The FCS value for the
shaded bytes is calculated
and converted to ASCII.
Table length
10 bytes