Motion control instructions Chapter 17
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 515
Arguments
Parameter
Parameter
type
Data type Description
EN Input BOOL Function block enable.
When EN = TRUE, execute current MC_TouchProbe computation.
When EN = FALSE, there is no computation.
Applies only to LD programs.
AxisIn Input AXIS_REF
FB_AXIS_REF
See also AXIS_REF data type on page 433.
See also FB_AXIS_REF data type on page 434.
TriggerInp Input USINT Only embedded motion supported.
Execute Inpu
BOOL When TRUE, starts touch probe recording at the rising edge.
WindowOnly Input BOOL When TRUE, only use the window (defined here) to accept trigger events.
Motion resolution is limited to the Motion Engine interval configured by the user.
For WindowOnly TouchProbe functionality, there is a maximum response time delay that
is equal to the Motion Engine interval for both FirstPosition and LastPosition activation.
The maximum possible lag in the triggering position (both FirstPosition and LastPosition)
can be calculated by (Motion Engine interval * moving velocity).
FirstPosition Input REAL Start position of the window from where trigger events are accepted (in technical units
[u]). Value included in window.
LastPosition Input REAL Stop position of the window from where trigger events are not accepted (in technical
units [u]). Value included in window.
ENO Output BOOL Enable out.
Applies only to LD programs.
Axis Output AXIS_REF Axis output is read-only in LD programs.
See also AXIS_REF data type on page 442.
TriggerInput Output USINT Only embedded motion supported.
Done Output BOOL When TRUE, trigger event was recorded.
Busy Output BOOL When TRUE, the function block is not finished.
CommandAborted Output BOOL When TRUE, the command was aborted by the MC_Power(OFF), or Error Stop function
block.
Error Output BOOL When TRUE, an error was detected.
ErrorID Output UINT Error identification.
See also Motion control function block error IDs on page 440.
RecordedPosition Output REAL Position where trigger event occurred (in technical units [u])
Motion is an open-loop motion.
The axis position at the time the trigger event occurs. If the axis motion is an open-loop
motion, the commanded position (not an actual position) at the time the trigger event
occurs, assuming there is no motion delay between the drive and the motor.