
5
VFD-S Series
DELTA ELECTRONICS, INC. ALL RIGHTS RESERVED
5-59
The AC drive receives the messages, but detects a communication error, thus, no response is
returned, but there will be error message “CExx” displayed on the keypad of AC drive. The
master device will eventually process a timeout condition. The xx of “CExx” is a decimal code,
the meaning of the error message is below:
Error
message
Jelentése
5 Reserved
6
AC drive busy:
The time interval between commands is too short. Please keep an interval of 10ms
at least after the return of a command. If no command returned, please keep a
10ms interval at least for the same reason.
7 Reserved
8 Reserved
9 Check Sum Error: Check if the Check Sum is correct.
10
Watchdog Timer: The timer will reset to 0 after each valid Modbus communication
message is received.
11 Frame Error: Check if the Baud rate complies with the data format.
12 The command message is too short.
13 Command message length is out of range.
14
The command messages include the data that does not belong to ‘0’ to ‘9’, ‘A’ to ‘F
except starting and end character (only for Modbus ASCII mode).
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 by 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
#define BRDL 0x0000
#define IER 0x0001
#define BRDH 0x0001
#define LCR 0x0003
Comentarios a estos manuales