Overview
Applies an offset using a Straight-Line Move Express VI to a slave axis that is tied to a master axis through camming.
Description
This program begins by assigning one axis a slave and the other a master in a camming relationship. It then enters a loop that includes straight line moves which will be superimposed onto the camming moves, creating an offset. A table is included that gives the slave axis values on which to begin the next section of its camming move.
Steps to Implement or Execute Code
- Run Superimposed Test.vi
- Press the button to make the master move.
- After pressing the button to make the master move an amount given in the table, the slave will repeat its camming pattern.
Requirements
LabVIEW with SoftMotion Module installed.
Additional Images or Video

An example of the slave axis (in blue) performing its predetermined pattern each time the master (in red) moves. Notice that the pattern remains the same despite the master moving to different locations.
Julian R.
Applications Engineer
National Instruments