
ICPDAS
I-8092F Software User Manual
24
2.18 External Pulse Input
2.18.1 Handwheel (Manual Pulsar) Driving
void
i8092MF_EXD_MP(
BYTE
cardNo
,
WORD
axis
,
long
data
)
Description:
This function outputs pulses according to the input pulses from a handwheel.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1.)
The axis can be either X and Y
data
:
Gain (a multiplier)
Return:
None
Example:
i8092MF_EXD_MP(1, AXIS_X, 1);
//Each time the handwheel inputs a pulse to the X axis
//on module 1, the controller will output 1 pulses to the motor driver.
i8092MF_EXD_MP(1, AXIS_X, 2);
//Each time the handwheel inputs a pulse to the X axis
//on module 1, the controller will output 2 pulses to the motor driver.