Topic: CL294

Home for PTO Axis

Purpose

The Home Instruction is used to move the Axis from the Current Position to a known physical Position found by an Input Switch. The Home Instruction can only control a single Axis, but separate Home Instructions can occur simultaneously. The Home search can be configured to travel in the Positive or Negative Direction. Optionally the Current Position Register can be set when the instruction completes successfully. The settings (Initial Velocity, Creep Velocity, Acceleration, Deceleration) cannot be changed while the instruction is enabled.

There are 6 Modes of operation:

1) Move to Switch 1 and Creep to Switch 2 and Halt

2) Move to Switch 1 and Halt

3) Move to Switch 1 and Deceleration

4) Move to Switch 1 and Return to Switch 1

5) Move to Switch 1 and Decelerate to a Stopping distance (Registration type move)

6) Set Current Position To Immediate Value

Select Axis: The PTO Axis must be created in the High Speed I/O Setup before placing the Home Instruction into ladder.

Axis Names: These are the Axis names as defined in the High Speed I/O Setup.

Axis Settings: This is a read-only view of the Axis settings from the High Speed I/O Setup.

Initial Velocity: Constant or DD Register. The speed at which the Home search will begin.

Creep Velocity: Constant or DD Register. Used with Mode 1 and Mode 4. A slower velocity used to approach the second Switch.

Acceleration: Constant or DD Register. The change of rate value used only during Acceleration. (Pulses Per Second Squared)

Deceleration: Constant or DD Register. The change of rate value used only during Deceleration. (Pulses Per Second Squared)

Direction: This setting selects the Direction of Travel for the Home search.

Stop Distance: Constant or DD Register. This setting is only used with Mode 5.

Switch 1 and 2: Must be an external Input X bit. For their specific function in each Mode, see the Mode Descriptions and diagrams below.

Rising Edge or Falling Edge: Select the Active Edge for the Switch Inputs. Normally Open switches will use Rising Edge, Normally Closed switches will use Falling Edge.

Immediate Stop Option: The behavior of an Aborted Move can be chosen.

Set Position To: When enabled, the Current Position Register is set to the Constant or DD Register value when the instruction is completed.

Status Flag behavior with Immediate Stop Option Disabled

Status Flag behavior with Immediate Stop Option Enabled

Busy: This C bit turns ON while the instruction is in operation and controlling the Axis. Only a single instruction can be in control of each Axis during any moment of time. This bit turns OFF when the instruction is Complete by Success or by Error.

Complete: This C bit turns ON when the instruction is Complete by Success or by Error. It stays ON until the instruction is re-enabled.

Success: This C bit turns ON to indicate the Axis has reached the commanded Target Position.

Error: This C bit turns ON to indicate a failure of the Instruction or Axis. It stays ON until the instruction is re-enabled. The Value in the Error Code register will indicate the problem.

Error Code: Assign a DS or DD register to store the Numeric Error Code.

Note: The System Bits SC150-SC152 “_PTO_AxisX_Ready_Flag” provide status information.

Home Mode1 (Motion Path)

  1. Accelerate to the speed of Initial Velocity.

  2. Move at Initial Velocity until Switich1 turns ON.

  3. Decelerate to Creep velocity.

  4. Moves at Creep speed until Switch2 is turned ON.

  5. Immediately stops when it reaches Switch2.

Home Mode1 (Disable Instruction)

Home Mode1 (Switch Events)

Home Mode2 (Motion Path)

  1. Accelerate to the speed of Initial Velocity.

  2. Move at Initial Velocity until Switich1 turns ON.

  3. Immediately stops when it reaches Switch1.

Home Mode2 (Disable Instruction)

Home Mode2 (Switch Events)

Home Mode3 (Motion Path)

  1. Accelerate to the speed of Initial Velocity.

  2. Move at Initial Velocity until Switich1 turns ON.

  3. Decelerate according to the Deceleration setting and stop.

Home Mode3 (Disable Instruction)

Home Mode3 (Switch Events)

Home Mode4 (Motion Path)

  1. Accelerate to the speed of Initial Velocity.

  2. Move at Initial Velocity until Switich1 turns ON.

  3. Decelerate to a stop.

  4. Accelerate to Creep Velocity towards Switch1.

  5. Immediately stops when it reaches Switch1.

Home Mode4 (Disable Instruction)

Home Mode4 (Switch Events)

Home Mode5 (Motion Path)

  1. Accelerate to the speed of Initial Velocity.

  2. Move at Initial Velocity until Switich1 turns ON.

  3. It will decelerate to the value set in Stop Distance and stop.

Home Mode5 (Disable Instruction)

Home Mode5 (Switch Events)

Related Topics PTO and PWM Error Codes

Velocity Move for PTO Axis
Position Move for PTO Axis
Pulse Train Output
Pulse Width Modulation