ICPDAS
I-8092F Software User Manual
113
A.7 I-8092F Function Library
We develop the simple but powerful high-level functions set application programming
interface (API) by using the specific command and data registers of MCX312. These libraries
are composed of motion and interpolation commands, status display, and I/O signal
management make programming your controller easy. Finally, all setup and motion control
functions are easily executed by calling into either a static or dynamic link library (DLL).
The development procedure of the software library is written by eVC (eMbedded
Visual C++). After that, we use eVC to recompile the library become DLL (Dynamic Link
Library), and use MFC (Microsoft Foundation Class) to develop the HMI (Human Machine
Interface) for motion control. With inclusion of DLL and HMI, our package has the advantage
that users do not need to design complicated path planning and code function driver to control
the multi-axes motor. Finally, the capability and validity of the functions are tested by
experiment in a 2-axis machine.
Each function will be displayed in following format:
i8092_
FUNCTION_NAME
(
cardNo
,
axis
, parameter1, parameter2)
where
cardNo
is the module number of i8092;
axis
can be one axis or two axes. Users can
refer to Table 2-1 for more information.
WR0 Register
D15 D14~D12 D11 D10 D9 D8 D7~D0
RESET
Y
X
Axis
X
Y
XY
Code 0x1 0x2
0x3
Name AXIS_X
AXIS_Y
AXIS_XY