Back to top
Zero / Home position
I am trying to set and save a home position every time I turn on DIN3 using AKD Basic language. I tried using the MOVE.POSCOMMAND = 0 but it did not allow me to set home position where ever I wanted to and home position always stayed the same. What command should I be using?
Submitted by BradMot Mon, 08/30/2021 - 11:54
The AKD Basic command MOVE.POSCOMMAND = 0 is the correct one to use for homing. The AKD Basic drive does not have a "homing" function. You have to use the Basic program to move the motor into position and use the MOVE.POSCOMMAND = 0 command to set position to zero.
Attached is an example program with a homing routine for homing to a digital input. I will email this program to you as well.
It uses the position capture to move the motor to the switch. And uses an interrupt for the case when the motor is already on the switch.
Submitted by jcoleman02 Mon, 08/30/2021 - 13:47