AP 3-4
CRC calculate program
UWORD ch_sum ( UBYTE long , UBYTE *rxdbuff ) {
BYTE i = 0;
UWORD wkg = 0xFFFF;
while ( long-- ) {
wkg ^= +;
for ( i = 0 ; i < 8; i++ ) {
if ( wkg & 0x0001 ) {
wkg = ( wkg >> 1 ) ^ 0xa001;
}
else {
wkg = wkg >> 1;
}
}
}
return( wkg );
}
Error Code
ASCII Mode RTU Mode
STX
‘:’
SLAVE Address
02H
Address
‘0’
Function
83H
‘1’
Exception code
52H
Function
‘8’
CRC-16
High
C0H
‘6’
Low
CDH
Exception
code
‘5’
‘1’
LRC Check
‘2’
‘8’
END
‘CR’
‘LF’
During a communication error the drive will response with an Exception Code and send a
message back to the main system consisting of a Function Code that is “ANDED (and 80h)”
with 80 Hex.
Error Code
Content
01
Function code error
02
Register number error
03
DATA setting error
04
Register number is over 32
Summary of Contents for E510-201-SH
Page 1: ......
Page 28: ...3 14 b 200V 2HP 1 3PH 200V 3HP 20HP 400V 3HP 25HP IP20 NEMA1 ...
Page 29: ...3 15 c 200V 25HP 400V 30HP d 200V 30HP 40HP 400V 40HP 75HP ...
Page 51: ...3 37 3 5 Standard Wiring 10V AI1 AI2 AGND E P P ...
Page 72: ...4 6 4 1 4 Example of keypad operation Example 1 Modifying parameters ...
Page 74: ...4 8 4 1 5 Operation control ...
Page 206: ...4 140 Acceleration Deceleration calculation of mode 2 ...
Page 316: ...4 250 6 Timer mode 6 FLASH Timer mode 2 7 Timer mode 7 FLASH Timer mode 3 ...
Page 424: ...REVISIONS Date Manual Number Revision May 2017 4KA72X645T01 First edition ...
Page 425: ......