Delta Electronics VFD-VE Series Network Card User Manual


 
Chapter 4 Parameters|
Revision August 2008, 03VE, SW V2.04 4-147
outportb(PORT+MCR,0x08); /* interrupt enable */
outportb(PORT+IER,0x01); /* interrupt as data in */
outportb(PORT+LCR,(inportb(PORT+LCR) | 0x80));
/* the BRDL/BRDH can be access as LCR.b7==1 */
outportb(PORT+BRDL,12); /* set baudrate=9600, 12=115200/9600*/
outportb(PORT+BRDH,0x00);
outportb(PORT+LCR,0x06); /* set protocol, <7,N,2>=06H, <7,E,1>=1AH, <7,O,1>=0AH,
<8,N,2>=07H, <8,E,1>=1BH, <8,O,1>=0BH */
for(i=0;i<=16;i++){
while(!(inportb(PORT+LSR) & 0x20)); /* wait until THR empty */
outportb(PORT+THR,tdat[i]); /* send data to THR */ }
i=0;
while(!kbhit()){
if(inportb(PORT+LSR) & 0x01){ /* b0==1, read data ready */
rdat[i++]=inportb(PORT+RDR); /* read data form RDR */
} } }
09-05 COM2 Transmission Speed (Keypad) Unit: 0.1
Control
mode
VF VFPG SVC FOCPG TQRPG
Factory Setting: 9.6
Settings 4.8 to 115.2kbps
This parameter is used to set the transmission speed between the RS485 master (PLC, PC,
etc.) and AC motor drive.
09-06 COM2 Transmission Fault Treatment (Keypad)
Control
mode
VF VFPG SVC FOCPG TQRPG
Factory Setting: 3
Settings 0 Warn and keep operating
1 Warn and RAMP to stop
2 Warn and COAST to stop
3 No warning and keep operating
This parameter is set to how to react if transmission errors occur.
09-07 COM2 Time-out Detection (Keypad) Unit: 0.1
Control
mode
VF VFPG SVC FOCPG TQRPG
Factory Setting: 0.0
Settings 0.0 ~ 100.0 sec
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.
09-08 COM2 Communication Protocol (Keypad)
Control
mode
VF VFPG SVC FOCPG TQRPG
Factory Setting: 13
Settings 0 Modbus ASCII mode, protocol <7,N,1>
1 Modbus ASCII mode, protocol <7,N,2>