Chapter 12 Troubleshooting
1
11.3.21 DMC_TouchProbe
FB/FC Explanation Applicable model
FB
DMC_TouchProbe is used for capturing the position of an axis. DVP15MC11T
DMC_TouchProbe
Axis Done
DMC_TouchProbe_instance
Execute
TriggerInput
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
1~32
(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 DVP15MC11T 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
4.
MC_Triggerinput
...
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
DVP15MC11T. The input point
which is used is
TriggerInput. The position
captured
of the trigger bit. The
position is converted from
number of pulses that
the
external encoder port of the
controller receives through
INT
11-119