180
(c) Command code and exception code
The Command code and exception code of Shihlin servo drive are described below.
Command code 03h denotes data reading, the maximum permissible length is 29 words.
Command code 06h denotes data writing, a word writing.
Command code 08h denotes the diagnostic mode which could check if communication normal or not.
Command code 10h denotes data writing, multiple words writing.
When the communication is performed between a host and the servo drives, wrong commands or
wrong address or over-range would cause the exception response with particular format.
Exception code 01h denotes wrong command code transmitted from the host computer.
Exception code 02h denotes wrong parameter address transmitted from the host computer.
Exception code 03h denotes the over-range parameter setting request.
If the received data are wrong, the drive would send back the command code which is the original one
added to 80h.
(a)ASCII mode (b)RTU mode