Omron CS1G/H-CPUxxH Instructions Manual page 678

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Table Data Processing Instructions
Applicable Program Areas
Operands
Operand Specifications
Block program areas
OK
C and C+1: Control words
C specifies the number of units (bytes or words) to be used in the FCS calcu-
lation. (Bit 13 of C+1 determines whether bytes or words are being used.)
When bit 13 of C+1 has been set to 1, FCS(180) calculates the FCS value for
bytes of data. In this case, bit 12 determines whether the calculation starts
with the rightmost byte of R1 (bit 12 = 1) or the leftmost byte of R1 (bit 12 = 0).
C
C+1
Note C and C+1 must be in the same data area.
R1: First word in range
R1 specifies the first word in the range. The length of the range depends on
the number of units as well as the starting byte, if bytes are being used in the
calculation.
Note All of the words in the calculation range must be in the same data area.
D: First destination word
The result of the calculation is output to D if bytes have been selected.
The result of the calculation is output to D+1 and D if words have been
selected. In this case, the leftmost four digits are stored in D+1 and the right-
most four digits are stored in D.
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Step program areas
OK
15
Number of words/bytes in range
15
14
13 12 11
00
0000 0000 0000
Starting byte (Valid only when bit 13 is 1.)
0: Leftmost byte
1: Rightmost byte
Calculation units
0: Words
1: Bytes
0
15
Calculation range
R1
to
R1+(C units–1)
C
CIO 0000 to
CIO 6142
W000 to W510
H000 to H510
A000 to A958
T0000 to T4094
Section 3-17
Subroutines
Interrupt tasks
OK
OK
0
0
0
0
to
R1
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A000 to A959
A448 to A959
T0000 to T4095
D
657

Advertisement

Table of Contents
loading

Table of Contents