
ICPDAS
I-8092F Software User Manual
169
Example of home search using a limit signal only.
Operation
Input signal and logical level
Search direction
Search speed
Step 1
Near home signal (IN0) is active (low)
-
20000 (PPS)
Step 2
Home signal (IN1) signal is active (low)
-
500 (PPS)
Step 3
Not executed
Step 4
35000 pulse offset
+
20000 (PPS)
Fig. A-41 Hardware disposition for home operation example 3
Demo Program:
Example of home search using a limit signal only.
Parameters:
cardNo=1, motion axis=0xf
i8092_SET_R(cardNo, 0xf, 800000)
// Set Multiple=10
i8092_HLMTM_LEVEL(1, 0xf, 0);
// Set negative limit signal of low active
i8092_LMTSTOP_MODE(cardNo, 0xf, 0
) // Set Limit stop mode of decelerating stop
i8092_HOME_SAND(cardNo, 0xf, 0)
;
// Set Z-phase and home signal disabled
i8092_HOME_STEP1(cardNo, 0xf, 1, 1);
// Set Step1 is executed and negative direction for 2-axes
i8092_HOME_STEP2(cardNo, 0xf, 1, 1);
// Set Step2 is executed and negative direction for 2-axes
i8092_HOME_STEP3(cardNo, 0xf, 1, 0);
// Set Step3 is executed and positive direction for 2-axes
i8092_HOME_STEP4(cardNo, 0xf, 1, 0);
// Set Step4 is executed and positive direction for 2-axes
i8092_SET_SV(cardNo, 0xf, 500);
// SV=500, Start Speed=5000 (PPS)
i8092_SET_V(cardNo, 0xf, 2000);
// V=2000, Drive Speed=20000 (PPS)
i8092_SET_A(cardNo, 0xf, 80);
// A=80, Acceleration=10K (PPS/Sec)
i8092_SET_HV(cardNo, 0xf, 500);
// HV=500 Home Speed=5000 (PPS)
i8092_SET_PULSE(cardNo, 0xf, 3500);
// Set offset pulse=3500
i8092_HOME_START(cardNo, 0xf);
// Starts execution of automatic home search
i8092_STOP_WAIT(cardNo, axis);
// Wait drive stop
Delay(500);
// Delay 500ms, In eVC use Sleep(500);
i8092_SET_LP(cardNo, axis, 0);
// Clear LP counter
i8092_SET_EP(cardNo, axis, 0);
// Clear EP counter