For several years now I've been using SmartMotors driving Ultramotion linear actuators without position switches. The homing routine is sometimes problematic because there is a fine line between not enough torque to move and too much torque bending or breaking things. The last batch of actuators I ordered have two position switches on them, however, I am now unable to move the motor without disabling them. I need an example program where I can call a subroutine to go home (direction will be hard-coded), then send PT= commands. If PT= ever drives it to either limit it should just stop motoring.
Right now, Ports 2 and 3 are wired through a NO switch to ground. I can't move anywhere without disabling the limits. When the limits are disabled, I can see the red lights on the motor monitor go to white when I reach either of the limits.
Any help would be appreciated!
The administrator has disabled public write access.
Re: Need Homing Routine Using Position Switches
7 years 3 weeks ago #463