Coordinated Motion - 3-Axis (3D) Template

This project template controls three axes in coordinated motion (PLCOpenAxis1, PLCOpenAxis2, and PLCOpenAxis3).

This is the pattern and the platform for the plane:

This video illustrates the motion.

Click the image to open the video in its own window.

PLC Programs

The Coordinated Motion 3-Axis template has a Sequential FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. Chart (SFCClosed Sequential function chart - It can be used to program processes that can be split into steps. The main components of SFC are: - Steps with associated actions. - Transitions with associated logic conditions. - Directed links between steps and transitions.) program containing both Structured Text (STClosed Structured text - A high-level language that is block structured and syntactically resembles Pascal.) and Free Form Ladder Diagram (FFLD) code.

This program provides examples of coordinated motion linear moves, transitions, blending, and a homing cycle.

Motion Pattern Procedure

  1. Download and start the application.
  2. Press the EnableClosed Enable signal for the drive, Hardware-Enable with 24V signal to X8, Software-Enable command by setup Software, fieldbus or permanently set. Both are required for enabling the drive. button to enable the axes and the axes group.
  3. After the Ready light is on:
    • If working with the 3-Axis Demonstration machine, press the Home button to reference the axes and move them to their home position.
    • If working with other hardware, press the Sim Mode button.
  4. After the Ready and Homed lights are on, turn the Cycle Start switch to 1.
    The axes begin moving in the programmed pattern.

Control Panel

Image #

Description

GUI

Used to change the coordinated motion feedrate from 0% to 200%.

 

Displays the axis positions.

Ready indicator light.

Ready indicates:

  • Ready indicates:
    • The axes are enabled.
    • The axes group is ready and enabled for coordinated motion.

Homed indicator light.

Homed indicates:

  • Each axis has been referenced.
  • The axis group has moved to its zero position.

Simulation Mode indicator light.

Sim Mode indicates:

  • The homing functions have been bypassed.
  • The program is set up as if the homing function has been performed.

Begins the coordinated motion pattern.

Ready and Homed lights must both be on to execute motion.

Causes an Emergency Stop for all axes.

Disables the axes or axes group.

The axes must be at a standstill to disable the group.

Enables the axes and the axes group.

This turns on the Ready light.

Starts a homing function.

  • Each axis is referenced.
  • Moves all axes or axes group to their zero position.
  • Homing must be completed before executing a cycle start.
  • When homing is complete, the Homed light is turned on.

Sim Mode bypasses the homing function.

This mode can be used when running on a simulator or when the hardware reference switchesClosed An adjustable hardware switch for indicating a home position. are not available.

  • The current position of each axis is set to zero position.
  • The homing function is not performed.
  • The Sim Mode light and Homed light are turned on.