Chapter 11 Motion Control Instructions
11-123
DMC_TouchProbe
FB/FC Explanation Applicable model
FB
DMC_TouchProbe is used for capturing the position of an axis.
DMC_TouchProbe
Axis Done
DMC_TouchProbe_instance
Execute
Trigg erInput
Busy
Active
Windowonly
Error
ErrorID
CommandAborted
Firstpos
Lastpos
Mode
Mask
RecordedPosition
Input Parameters
Function Data type
Axis
Specify the number of the axis which is
to be controlled.
USINT
Refer to Functions
of Section 2.2.
(The variable value
must be set)
Execute
changes
from
FALSE to
Execute
The instruction is executed when
Execute changes from FALSE to TRUE.
BOOL
-
TriggerInput
Specify one of the input points I0~I7,
I10~I17 of the motion controller as the bit
for triggering position capture. The
values of the parameter 0~15
correspond to input points I0~I7 and
I10~I17.
The parameter is valid when Mode is 0
and 1 and invalid when Mode is 2, 3 and
MC_Triggerinput
0:mcTriggerinputI0
...
7: mcTriggerinputI7
8:mcTriggerinputI10
...
15:
mcTriggerinputI17
(0)
Windowonly Reserved - - -
Firstops Reserved - - -
Lastops Reserved - - -
Mode
Mode 0: The trigger signal comes from
the rising edge of the input points:
I0~I7 and I10~I17 of the
motion
controller. The input point which
is used is specified by
TriggerInput
captured through
the rising edge
of the trigger bit. The captured
position is converted from the
number of pulses that the
external encoder port of the
controller receives through axis
parameters.
Mode 1: The trigger signal comes from
the falling edge of one of the input
points: I0~I7 and I10~I17 of
the
motion controller, which is
specified by TriggerInput. The
INT