Delta Electronics VFD-EL manual Exception code, Communication program of PC

Models: VFD-EL

1 209
Download 209 pages 9.33 Kb
Page 140
Image 140
Exception

Chapter 4 Parameters3.7 Communication program of PC:

Exception code

‘0’

 

‘2’

 

 

 

LRC CHK Low

‘7’

LRC CHK High

‘7’

 

 

END 1

CR

END 0

LF

 

 

The explanation of exception codes:

Exception

code

01

02

03

04

10

Explanation

Illegal function code:

The function code received in the command message is not available for the AC motor drive.

Illegal data address:

The data address received in the command message is not available for the AC motor drive.

Illegal data value:

The data value received in the command message is not available for the AC drive.

Slave device failure:

The AC motor drive is unable to perform the requested action.

Communication time-out:

If 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.7 Communication 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>

#include<conio.h>

#include<process.h>

#define PORT 0x03F8 /* the address of COM1 */ /* the address offset value relative to COM1 */ #define THR 0x0000

#define RDR 0x0000

Revision August 2008, 2ELE, V1.02

4-97

Page 140
Image 140
Delta Electronics VFD-EL manual Exception code, Communication program of PC