retelec H5000 Serie Manual De Usuario página 213

Tabla de contenido

Publicidad

Address
Function
Data address
Data content
CRC CHK Low
CRC CHK High
LRC Check of ASCII mode
LRC Check is the value added from Address to Data Content. For
example, the LRC Check of the above 3.3.1 inquires message: 01H
+ 03H + 21H + 02H + 00H + 02H = 29H, then the complement of 2
(D7H) is taken.
CRC Check of RTU mode
CRC Check is from Address to Data content, and its running rule is
as follows:
Step 1: Make 16-bit temporary storage (CRC temporary storage) =
FFFFH.
Step 2: Exclusive OR first 8-bit byte message instruction and low
16-bit CRC temporary storage: Perform Exclusive OR, and store the
result into CRC temporary storage.
Step 3: Shift right CRC temporary storage and fill 0 into high bit
position.
Step 4: Check right shift value. If being 0, store the new value for
step 3 into CRC temporary storage. Otherwise in case of Exclusive
OR A001H and CRC temporary storage will store the result into
CRC temporary.
Step 5: Repeat Step 3 ~ Step 4, and operate completely for 8-bit. Step
6: Repeat Step 2 ~ Step 5, and take the message instruction for next
8-bit until all message instructions are operated completely. Finally, the
value gotten of CRC temporary storage is CRC Check.
Manual de Funcionamiento del variador de la serie H5000
Chapter 7 Detailed Explanations of Functional Parameters
01H
06H
01H
00H
17H
70H
86H
22H
Address
Function
Data address
Data content
CRC CHK Low
CRC CHK High
213
01H
06H
01H
00U
17H
70H
86H
22H

Publicidad

Tabla de contenido
loading

Tabla de contenido