6. Fault Diagnosis and solution
EM15-SP User Manual
34
When the CRC is appended to the message, the low-order byte is appended first, followed by the high-order byte.
unsigned int crc_chk_value(unsigned char *data_value,unsigned char length
{
unsigned int crc_value=0xFFFF;
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);
}
Definition of communication parameter address
Read and write function-code parameters (Some functional code is not changed, only for the manufacturer use.)
The group number and mark of function code is the parameter address for indicating the rules.
High level bytes: F0~FF(Group F), A0~AF(GroupA), 70-7F(Group U)
Low level bytes: 00 ~ FF
For example: F3-12, address indicates to 0xF30C.
Note:
Group U: Only for reading parameter, cannot be changed parameters.
Some parameters cannot be changed during operation, some parameters regardless of what kind of state the inverter
in, the parameters cannot be changed. Change the function code parameters, pay attention to the scope of the
parameters, units, and relative instructions.
Function code group
Communication inquiry address
Inquiry address When
Communication modifies RAM
F0~FE
0xF000~ 0xFEFF
0x0000~ 0x0EFF
A0~FC
0xA000~0xACFF
0x4000~0x4CFF
U0
0x7000~ 0x70FF
Besides, due to EEPROM be frequently stored, it will reduce the lifetime of EEPROM. In the communication mode,
and some function codes don’t have to be stored as long as change the RAM value.
Stop/start parameter
Parameter
address
Parameter description
Parameter
address
Parameter description
1000H
Communication set value(-10000 ~
10000)(Decimal)
1010H
PID setting
1001H
Running frequency
1011H
PID feedback
1002H
DC Bus voltage
1012H
PLC process
1003H
Output voltage
1013H
Pulse input frequency, unit: 0.01KHz
1004H
Output current
1014H
Feedback speed, unit:0.1Hz
1005H
Output power
1015H
Remaining running time