
ICPDAS
I-8092F Software User Manual
40
2: Moves in a negative direction
nStep4
:
0: Step 4 is not executed
1: Moves in a positive direction
2: Moves in a negative direction
data
:
Offset value (0 ~ 2,147,483,647)
The Four Steps Required for Automatic Homing
Return:
None
Example:
//Use the following functions to set the homing mode of the X axis.
i8092MF_SET_V(1, 0x1, 20000);
i8092MF_SET_HV(1,
0x1,
500);
i8092MF_SET_HOME_MODE(1, 0x1, 2, 2, 1, 1, 3500);
i8092MF_HOME_START(1, 0x1);
//start auto-homing.
i8092MF_WAIT_HOME(1, 0x1);
//wait until homing is completed.
Step
Input Signal
Direction
Speed
1
Near HOME (IN0) is active
-
20000 PPS (V)
2
HOME (IN1) is active
-
500 PPS (HV)
3
Z-phase (IN2) is active
+
500 PPS (HV)
4
No sensor is required. Move 3500
pulses along the X axis.
+
20000 PPS (V)
Step
Action
Speed
Sensor
1
Searching for the Near Home sensor
V
NHOME (IN0)
2
Searching for the HOME sensor
HV
HOME (IN1)
3
Searching for the encoder Z-phase
signal
HV Z-phase
(IN2)
4
Moves to the specified position
V