
ICPDAS
I-8092F Software User Manual
126
i8092_COMPARE_EP
Format:
void
i8092_COMPARE_EP (
unsigned char
cardNo,
WORD
axis)
Function:
The function selects the real position counter (EP) as the comparing target of
COMP+/- registers.
Parameters:
cardNo
is the board number.
axis
is the motion axis code, as shows in Table 2-1,
Example:
//Set the comparing target to EP for all axes.
i8092_COMPARE_EP(1,
0x3);
i8092_RESET_CARD
Format:
void
i8092_RESET_CARD(
void
)
Function:
Command for resetting the motion card.
Parameter:
None.
Example:
//Set the reset command.
i8092_RESET_CARD();
Note
: When the bit (WR0/D15) is set to 1, but others are 0, the IC will be reset after
command writing.