![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268778.webp)
739
Table Data Processing Instructions
Section 3-17
Flags
Examples
When CIO 000000 is ON in the following example, SUM(184) adds 10 bytes
of unsigned binary data beginning with the rightmost byte of D00100 and
writes the result to D00201 and D00200.
3-17-13 FRAME CHECKSUM: FCS(180)
Purpose
Calculates the FCS value for the specified range and outputs the result in
ASCII.
Name
Label
Operation
Error Flag
ER
ON if the content of C is not within the specified range of
0001 through FFFF.
ON if the BCD data has been specified, but the range
contains binary data.
ON if the Communications Port Enabled Flag for the com-
munications port number specified as the
Com Port num-
ber
for
Background Execution
is OFF when background
processing is specified.
OFF in all other cases.
Equals Flag
=
ON if the result is 0000.
OFF in all other cases.
Negative Flag
N
ON if bit 15 is ON in the result.
OFF in all other cases.
C: D00300
C+1: D00301
R1:
D: D00200
D+1: D00201
R1
C 3
9 F
2 7
2 A
D C
2 A
2 A
2 0
2 0
5 5
0 3
0 0
7 8
0 0
Number of words/bytes
Always 0.
Starting byte
1: Rightmost byte
Units
1: Bytes
Data type
0: Binary
Data type
0: Unsigned binary data
10 bytes
Table length
The shaded bytes are added.
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...