14.2 CRC (CRC Code Calculation)
■
Ladder diagram
■
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
i ● ●
■
List of operands
Operand Description
S1 Area storing data specifying the calculation method, or constant data
S2 Starting address of the area storing target data
S3 The area that stores the length (number of bytes) of the targeted data, or the constant
D Area that stores operation results
■
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX
K
(N
ote
1)
U
(N
ote
2)
H
(N
ote
3)
SF
D
F
" "
S1 ● ● ● ● ● ● ● ● ● ●
S2 ● ● ● ● ● ● ●
S3
(Note
4)
● ● ● ● ● ● ● ● ●
D ● ● ● ● ● ● ●
(Note 1) Can be specified only when the operation unit is signed integer (SS).
(Note 2) Can be specified only when the operation unit is unsigned integer (US).
(Note 3) Can be specified only when the operation unit is an integer (US, SS).
(Note 4) 16-bit unsigned integers, regardless of operation unit.
■
Outline of operation
● This instruction calculates block check code (BCC) using the CRC (16-bit CRC code)
calculation method.
14.2 CRC (CRC Code Calculation)
14-6 WUME-FP7CPUPGR-12