ICPDAS
I-8092F Software User Manual
158
A.7.6 Automatic Home Search
Table A-8 Home Search Function
Function Name
Description
i8092_EXTENSION_MODE
Write data into the WR6, WR7 registers and use 60h command
to set the conditions for automatic search mode.
i8092_GET_EM6
i8092_GET_EM6
i8092_GET_EM7
i8092_GET_EM7
i8092_IN0_LEVEL
Setting the active level of the near home signal (IN0).
i8092_IN1_LEVEL
Setting the active level of the home signal (IN1).
i8092_IN2_LEVEL
Setting active level of the encoder Z-phase signal (IN2).
i8092_SET_HV
The home search speed (HV) setting.
i8092_HOME_STEP1
Home search step 1 mode setting.
i8092_HOME_STEP2
Home search step 1 mode setting.
i8092_HOME_STEP3
Home search step 1 mode setting.
i8092_HOME_STEP4
Home search step 1 mode setting.
i8092_HOME_SAND
Home and Encoder Z-phase signal condition setting.
I8092_HOME_LIMIT
The home search uses an overrun limit signal setting.
i8092_HOME_PCLR
Clear the logic position and real position counter at termination
home search.
i8092_HOME_START
Start execution of automatic home search.
i8092_HOME_MODE
Set the home search mode.
i8092_EXTENSION_MODE
Format:
void
i8092_EXTENSION_MODE(
unsigned char
cardNo,
WORD
axis,
WORD
em6data,
WORD
em7data)
Function:
Write data to the WR6, WR7 registers and uses 64h command to set the conditions
for synchronous action mode.
Parameters:
cardNo
is the board number.
axis
is the motion axis code/name, as shows in Table 2-1.
em6data
is the 32-bit data for writing in the WR6 register.
em7data
is the 32-bit data for writing in the WR7 register.
Example:
//
Use the function to set the home search type of negative direction, and hardware
//signal: home, near home, limit-.
i8092_EXTENSION_MODE(1, 0xf, 0x5f00, 0x054f);