Chapter 10 Appendix
-270-
In the process of CRC generation, each 8-bit character is XORed with the contents of the
register independently, and the result is moved to the direction of the least significant bit,
and the most significant bit is filled with 0. The LSB is extracted and detected. If the LSB is
1, the register is individually ORed with the preset value. If the LSB is 0, it is not performed.
The whole process is repeated 8 times. After the last bit (8th bit) is completed, the next 8-bit
byte is XORed with the current value of the register independently. The value in the final
register is the CRC value after all bytes in the message are executed.
When the CRC is added to the message, the low byte is added first, then the high byte. The
CRC simple function is as follows:
unsigned int crc_chk_value
(
unsigned char *data_value,unsigned char length
){
unsigned int crc_value=0xPFPF;
int I;
while
(
length--
)
{
crc_value^=*dat+;
for
(
i=0;i<8;i++
)
{
if
(
crc_value&0x0001
)
{
crc_value=
(
crc_value>>1
)^
0xa001;
}
else
{
crc_value=crc_value>>1;
}
}
}
return
(
crc_value
);
}
7. Address Definition of Communication Parameters
This part is the content of communication, which is used to control the operation of
the inverter, the status of the inverter and the setting of related parameters.
Read and write function code parameters (some function codes cannot be changed,
and are only used by manufacturers or monitored):
Function code parameter address marking rules:
The rules are represented by the function code group number and label as the param-
eter address:
High-order byte: P0~PF (group P), A0~AF (group A), B0~BF (group B), C0~CF (group
C),
C
h
a
p
te
r
1
0
Summary of Contents for 2S-0.4G-B
Page 6: ...Safety and Attentions Chapter 1 1 1 Safety Matters 6 1 2 Use Considerations 9...
Page 80: ...Function Parameter Table 5 1 Functional group 78 Chapter 5...
Page 126: ...Function Parameter Table Chapter 6...
Page 245: ......
Page 249: ......
Page 255: ......