Crc (Crc Code Calculation) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

14.2 CRC (CRC Code Calculation)

14.2 CRC (CRC Code Calculation)
Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
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
W
W
X
Y
S1
S2
(Note
S3
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-6
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
SS
UL
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
SL
SF
Real
Integer
numbe
r
K
H
(N
(N
(N
D
IX
SF
F
ote
ote
ote
1)
2)
3)
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
" "

Advertisement

Table of Contents
loading

Table of Contents