MC_TRIGGER_REF

Reference to a touch probe.

Name Type Meaning
TouchProbeId DINT There are two touch probes to use. ID can be 0 or 1.
Software BOOL

Decides whether to use software touch probe. When it is TRUE, use IsAxis, Index, and BitOffset for KINGSTAR to select the digital input; when it is FALSE, use IndexPulse to tell the drive which signal to use. By default, it is FALSE.

TRUE: Uses KINGSTAR touch probe.

FALSE: Uses the servo drive's touch probe.

Edge BOOL

Selects rising or falling edge. Not all servo drives support falling edge. By default, it is FALSE.

TRUE: Rising edge (records when zero becomes one).

FALSE: Falling edge (records when one becomes zero).

IndexPulse BOOL

Chooses what signal will trigger touch probe. This option is available only when Software is FALSE. By default, it is FALSE.

TRUE: Uses a Z signal to trigger.

FALSE: Uses a digital input (DI) from a servo drive to trigger. Check the servo drive manual to see which DI can be used.

IsAxis BOOL

The digital input is from axis or I/O module. By default, it is FALSE.

TRUE: Axis.

FALSE: I/O module.

Index DINT The index of an axis or I/O module.
BitOffset DINT The digital input's offset for an axis or I/O module.