![Advantech PCL-832 Скачать руководство пользователя страница 30](http://html1.mh-extra.com/html/advantech/pcl-832/pcl-832_manual_2856865030.webp)
26
PCL-832 User's Manual
Programming the PCL-832
There are two ways to program the PCL-832: using the driver pro-
grams included on the utility disk and accessing the card's registers
directly. Using the drivers simplify programming to a large extent. The
driver functions handle the necessary I/O port instructions and you
only have to call them from your program.
Accessing the I/O ports directly requires a better understanding of the
PCL-832's operation and hardware, register structure and data format.
You will also need a basic understanding of PC interrupts and the
DDA principles. Although this is more complicated than using the
supplied drivers, it gives you all the flexibility you need to customize
the control for your specific application.
Software installation
Insert the utility floppy disk in your PC's floppy drive. Let's assume
it's drive B.
Create a directory on your hard disk where the files will be stored, eg.
C:\PCL832, and change to that directory.
The DOS commands will be
cd\
md PCL832
cd PCL832
Now you have to copy all the files from the floppy drive to your hard
drive. We use XCOPY because it creates all the subdirectories, and
this simplifies the copy process.
The DOS command will be
XCOPY B:\. /s
The files should now be copied to the following directories:
C:\PCL832\MSC60.C\DEMO
MicroSoft C examples
C:\PCL832\MSC60.C\LIB
MicroSoft C Libraries
C:\PCL832\TURBOC
Turbo C include file and
example program
Содержание PCL-832
Страница 1: ...PCL 832 3 axis servo motor control card...
Страница 5: ...Chapter 1 General information 1 C H A P T E R 1 General information...
Страница 9: ...Chapter 1 General information 5 Board layout...
Страница 10: ...6 PCL 832 User s Manual...
Страница 11: ...Chapter 2 Installation 7 2 Installation C H A P T E R...
Страница 18: ...14 PCL 832 User s Manual...
Страница 19: ...Chapter 3 Operation 15 C H A P T E R 3 Operation...
Страница 29: ...Chapter 4 Programming 25 4 P r o g r a m m i n g C H A P T E R...
Страница 52: ...48 PCL 832 User s Manual...
Страница 53: ...Chapter 5 Register structure and format 49 C H A P T E R 5 Register structure and format...
Страница 61: ...Appendix A Calibration 57 A Calibration A P P E N D I X...