Chapter 11: Touch Probe

Touch probe records an axis' position at a trigger event. When the data of a digital input (DI) is sent to a servo drive, the drive or KINGSTAR records the axis' position. If you want to use hardware touch probe, the axis needs to be connected to the Touch Probe pin on the drive. For axes that support this feature, it is possible for the drives themselves to record the value based on a phase Z signal or an external DI. Hardware probe is more precise because it is got from a drive. KINGSTAR homingLatch mode relies on this feature. KINGSTAR also provides software touch probe that uses the position based on any input available on the EtherCAT bus.

In this chapter, you'll learn how to use touch probe to record a position of an axis.

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

Touch Probe functions