EasyManuals Logo

Delta VFD-EL-W Series User Manual

Delta VFD-EL-W Series
217 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #136 background imageLoading...
Page #136 background image
Chapter 4 ParametersVFD-EL-W
131
Table of fault codes:
Fault code
Descriptions
01
Illegal function code: the drive cannot recognize the function code (03H, 06H,
08H, 10H).
02
Illegal data address: the drive cannot recognize the data address.
03
Illegal data value: the data value received in the command message is not
available for the drive.
04
Slave device failure: the drive is unable to perform the requested action.
10
Transmission time-out
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
#define MCR 0x0004
#define LSR 0x0005
#define MSR 0x0006
unsigned char rdat[60];
/* read 2 data from address 2102H of AC drive with address 1 */
unsigned char tdat[60]={':''0''1''0''3''2''1''0'2''0''0''0''2''D''7''\r''\n'};
void main(){
int i;
outportb(PORT+MCR0x08); /* interrupt enable */
outportb(PORT+IER0x01); /* interrupt as data in */
outportb(PORT+LCR(inportb(PORT+LCR) | 0x80));
/* the BRDL/BRDH can be access as LCR.b7==1 */
outportb(PORT+BRDL12); /* set baudrate=960012=115200/9600*/
outportb(PORT+BRDH0x00);
outportb(PORT+LCR0x06); /* set protocol<7N2>=06H

Other manuals for Delta VFD-EL-W Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta VFD-EL-W Series and is the answer not in the manual?

Delta VFD-EL-W Series Specifications

General IconGeneral
BrandDelta
ModelVFD-EL-W Series
CategoryDC Drives
LanguageEnglish

Related product manuals