Chapter 8 MODBUS Communications
|
ASDA-AB Series
8-16
Revision January 2009
int I;
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);
outportb(PORT+BRDH,0x00);
outportb(PORT+LCR,0x06);
/* set prorocol
<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 from RDR */
}
}
}
Содержание AC Servo Drive ASDA-AB
Страница 1: ......
Страница 13: ...Table of Contents ASDA AB Series Revision January 2009 This page intentionally left blank...
Страница 20: ...Chapter 1 Unpacking Check and Model Explanation ASDA AB Series Revision January 2009 1 7 110V models...
Страница 27: ...Chapter 3 Connections and Wiring ASDA AB Series 3 2 Revision January 2009 Figure 3 2 110V Servo Drive...
Страница 67: ...Chapter 3 Connections and Wiring ASDA AB Series 3 42 Revision January 2009 This page intentionally left blank...
Страница 85: ...Chapter 5 Trial Run and Tuning Procedure ASDA AB Series 5 8 Revision January 2009...
Страница 103: ...Chapter 5 Trial Run and Tuning Procedure ASDA AB Series 5 26 Revision January 2009 This page intentionally left blank...
Страница 149: ...Chapter 6 Control Modes of Operation ASDA AB Series 6 46 Revision January 2009 This page intentionally left blank...
Страница 246: ...Chapter 8 MODBUS Communications ASDA AB Series Revision January 2009 8 3 Cable Connection...
Страница 265: ...Chapter 9 Maintenance and Inspection ASDA AB Series 9 4 Revision January 2009 This page intentionally left blank...
Страница 275: ...Chapter 10 Troubleshooting ASDA AB Series 10 10 Revision January 2009 This page intentionally left blank...
Страница 282: ...Chapter 11 Specifications ASDA AB Series Revision January 2009 11 7 11 3 Servo Motor Speed Torque Curves...
Страница 307: ...Chapter 12 Application Examples ASDA AB Series 12 10 Revision January 2009...
Страница 333: ...Chapter 12 Application Examples ASDA AB Series 12 36 Revision January 2009 8 B A 2 5 Position SPEED Z pulse...
Страница 335: ...Chapter 12 Application Examples ASDA AB Series 12 38 Revision January 2009 Connecting to Delta DVP 01PU...
Страница 336: ...Chapter 12 Application Examples ASDA AB Series Revision January 2009 12 39 Connecting to Mitsubishi FX1PG...
Страница 337: ...Chapter 12 Application Examples ASDA AB Series 12 40 Revision January 2009 Connecting to Mitsubishi FX2N1PG...
Страница 338: ...Chapter 12 Application Examples ASDA AB Series Revision January 2009 12 41 Connecting to Mitsubishi AD75...
Страница 339: ...Chapter 12 Application Examples ASDA AB Series 12 42 Revision January 2009 This page intentionally left blank...
Страница 353: ...Appendix A Accessories ASDA AB Series A 14 Revision January 2009 This page intentionally left blank...
Страница 356: ...Appendix A Accessories ASDA AB Series Revision January 2009 B 3 Figure 1 Saddle on both ends Saddle on one end Figure 2...