Panasonic FP7 Series Command Reference Manual page 658

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

Advertisement

14.2 CRC (CRC Code Calculation)
Example 1) Operation unit: 16 bits (SS) / Calculation method: CRC-16; Initial value =
FFFFH; Right shift; XOR = 0000H
[S1] CRC-16
[S2] Header of target data
[S3] Length of target data (12 bytes)
[D]
DT0
DT1
DT2
DT3
DT4
DT5
DT6
Example 2) Operation unit: 16 bits (US) / Calculation method: CRC-16; Initial value =
FFFFH; Right shift; XOR = 0000H
[S1] CRCITT
[S2] Header of target data
[S3] Length of target data (12 bytes)
[D]
DT0
DT1
DT2
DT3
DT4
DT5
DT6
14-8
[CRC.SS
Calculation result
(Characters)
H 3025
0%
H 2331
#1
H 4352
CR
H 5853
XS
H 3030
00
H 3030
00
H 0000
CRC
[CRC.US
Calculation result
(Characters)
H 3025
0%
H 2331
#1
H 4352
CR
H 5853
XS
H 3030
00
H 3030
00
H 0000
CRCITT
H 0 , DT0 ,
U12 , DT6 ]
(Characters)
H 3025
DT0
0%
H 2331
DT1
#1
H 4352
DT2
CR
H 5853
DT3
XS
H 3030
DT4
00
H 3030
DT5
00
H 2E0A
DT6
H 1 , DT0 ,
U12 , DT6 ]
(Characters)
H 3025
DT0
0%
H 2331
DT1
#1
H 4352
DT2
CR
H 5853
DT3
XS
H 3030
DT4
00
DT5
H 3030
00
H A02E
DT6
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents