
|
|
| Chapter 4 Parameters | |
STX | ‘:’ |
| Address | 01H |
|
|
|
|
|
Address Low | ‘0’ |
| Function | 86H |
Address High | ‘1’ |
| Exception code | 02H |
|
|
|
|
|
Function Low | ‘8’ |
| CRC CHK Low | C3H |
Function High | ‘6’ |
| CRC CHK High | A1H |
|
|
|
|
|
Exception code | ‘0’ |
|
|
|
|
|
|
| |
‘2’ |
|
|
| |
|
|
|
| |
|
|
|
|
|
LRC CHK Low | ‘7’ |
|
|
|
LRC CHK High | ‘7’ |
|
|
|
|
|
|
|
|
END 1 | CR |
|
|
|
END 0 | LF |
|
|
|
|
|
|
|
|
The explanation of exception codes:
Exception | Explanation |
code |
|
Illegal function code:
01The function code received in the command message is not available for the AC motor drive.
Illegal data address:
02The data address received in the command message is not available for the AC motor drive.
Illegal data value:
03The data value received in the command message is not available for the AC drive.
04
Slave device failure:
The AC motor drive is unable to perform the requested action.
Communication
10If Pr.09.03 is not equal to 0.0, Pr.09.02=0~2, and there is no communication on the bus during the Time Out detection period (set by Pr.09.03), “cE10” will be shown on the keypad.
3.7Communication program of PC:
The following is a simple example of how to write a communication program for Modbus ASCII mode on a PC in C language.
#include<stdio.h>
#include<dos.h>
Revision June 2008, 04EE, |