![Advantech PCL-832 Скачать руководство пользователя страница 49](http://html1.mh-extra.com/html/advantech/pcl-832/pcl-832_manual_2856865049.webp)
Chapter 4 Programming 45
Turbo C low-level driver functions
This section describes the Turbo C low-level driver functions that
were supplied on the utility disk. These functions are not in a library,
they come in a source code file. You can directly include the source
file into your program, modify it, compile it to a library etc.
The source code and an example file can be found in the
\PCL832\DRIVER directory.
These are by no means a complete set of functions for the PCL-832.
Their only purpose is to show you how easy it is to program the
registers of the PCL-832 directly. The example program illustrates the
use of these functions, and how to include them in a C program.
The following functions are available:
PCL832_reset
Function
Resets the PCL-832
Syntax
PCL832_reset()
Return value
none;
PCL832_enable_dda
Function
Enables the PCL-832 DDA pulse generator
Syntax
PCL832_enable_dda();
Return value
none;
PCL832_set_dda_cycle_time
Function
Sets the PCL-832 dda cycle time
Syntax
int PCL832_set_dda_cycle_time(int
ddatime)
Parameter
ddatime
:
Specifies the DDA cycle time
value(unit ms), 1 - 2000
Return value
0
:
success
-1
:
dda time value error
Содержание 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...