DVP-15MC Series Motion Controller Operation Manual
11-132
DMC_TouchProbeCyclically
FB
DMC_TouchProbeCyclically is used for capturing the position of an
axis cyclically.
Input Parameters
Function Data type
Axis
Specify the number of the axis which is
to be operated.
USINT
Refer to Functions of
Section 2.2.
(The variable value
must be set)
Execute
changes
from
FALSE
Enable
The instruction is enabled when Enable
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
and 1 and invalid when Mode
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
. The position is
captured through the rising
edge of the trigger bit. The
capt
ured 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
INT
DMC_TouchProbeCyclically
Axis
DMC_TouchProbeCyclically instance_
En able
CommandAborted
Error
ErrorID
RecordedPosition
Touched
TriggerInput
Windowonly
Valid
Busy
Active
Firstpos
Lastpos
Mod e
Mask