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
- Add a header file:
- Add a .cpp file:
In Solution Explorer, in Header Files, add a header file and name it "
In Solution Explorer, in Source Files, add a C++ file and name it "
Take the following steps to complete the training: