ICPDAS
I-8092F Software User Manual
20
2.14 Setting the Active Level of the In-Position Signals
void
i8092MF_SET_INPOS(
BYTE
cardNo
,
WORD
axis
,
BYTE
nMode
,
BYTE
nIEdge
)
Description:
This function sets the INPOS input signal related parameters.
Note: Sometimes, this signal is used to connect the SERVO READY input
signal. Users should take care of what signal the daughter board is
wired.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
nMode
:
Mode: 0 = disable INPOS input;
1 = enable INPOS input
nlEdge
:
Set the trigger level
0 = low active; 1 = high active
Return:
None
Example:
i8092MF_SET_INPOS(1, AXIS_X, 1, 0);
//enable the INPOS function of the X axis on module 1 and set it to be low-active.
Note:
Please refer to the example shown in Fig. 2.12 for wiring of the general DI
input.
2.15 Setting the Time Constant of the Digital Filter
void
i8092MF_SET_FILTER(
BYTE
cardNo
,
WORD
axis
,
WORD
FEn
,
WORD
FLn
)
Description:
This function selects the axes and sets the time constant for digital filters of
the input signals.
Parameters:
cardNo
:
Module number
axis
:
Axis or axes (Please refer to Table 2-1)
FEn
: Enabled
filters
. The sum of the code numbers (
0~31) are used
to select input signals. Please refer to the following table.