Chapter 7: Camming

Camming is a multi-axis motion that links two axes: master and slave. After linking them you move the master axis. During the master's movement, the slave automatically moves to a position corresponding to the master's. The slave's movement always follows the master's, until the master moves out of the predetermined range or the camming is aborted. The range of master and slave's positions is based on a cam table you defined.

In other words, camming is position synchronization. Every master can be a slave of another axis. You can create a cam train by attaching axes one by one. The master axis doesn't know a slave axis is attached to it.

In this chapter, you'll learn how to make a cam move.

Add a header and .cpp file

You need to add a header and a .cpp file to learn the code of this chapter. The steps of adding them are written in Chapter 2 > Add a header and .cpp file.

Tutorials

Take the following steps to complete the training:

Complete code

Additional information