Seek Home

The Seek Home instruction allows you to move the motor until a home sensor is found. The home sensor can be wired to any of the general purpose inputs.

Some applications require the motor to start from a certain position each time you turn on the power, but can't guarantee where it was left at the last power down. The solution is to wire a sensor to one of the PSMCC inputs and place a Seek Home command at or near the beginning of the program.

High - move until the specified input reaches a high voltage state. This is the default state of an input if nothing is connected to it.

Low - move until the specified input is at a low voltage state.

If you need the load to be at the exact same position after each Seek Home command, choose Rising Edge or Falling Edge.

Rising Edge - move until the signal goes from low to high. This is similar to the high condition, but the difference is important. If you execute a Seek Home command to a high input and the load is already on the home sensor (causing the input to be high) then the load will not move. If you choose "rising edge" instead, the PSMCC will move the load to the edge of the home sensor.

Falling Edge - the opposite of rising edge. PSMCC waits for an input voltage to go high, then low. The PSMCC begins a Seek Home command by moving the motor in the direction you have specified. If the home sensor is found, the motor decelerates to a stop, then backs up to the sensor. If a limit is encountered before the home sensor is found, the PSMCCreverses the direction of motion and keeps looking for the home sensor.

You may have noticed a box in the lower right-hand corner of the Seek Home dialog box. This tells you how many steps the PSMCC needs to decelerate to a stop. The "Required Clearance" box tells you how much distance you must allow between the limit sensors and any hard stop, based on the speed and decel rate that you've set. If you don't allow enough clearance, the load may crash into something as it decelerates past a limit while seeking home.

The higher the speed, the longer it will take to stop. If the decel rate is increased, then the motor can stop in fewer steps.

Click here to return to programming toolbox page