13.7.3.19 FB 823 - MC_TouchProbe - record axis position
An overview of the drive systems, which can be controlled with this block
can be found here:
Ä
Chap. 13.7.1 ‘Overview’ page 542
This function block is used to record an axis position at a trigger event. The trigger signal
can be configured via the variable specified at the input TriggerInput. As trigger signal can
serve e.g. a digital input or a encoder zero track.
Parameter
Parameter Declaration Data type Description
Axis IN_OUT MC_AXIS_REF Reference to the axis.
TriggerInput IN_OUT MC_TRIGGER_REF Reference to the trigger input.
Structure
n .Probe
– 01: TouchProbe register 1
– 02: TouchProbe register 2
n .TriggerSource
– 00: Input
– 00: Encoder zero pulse
n .Triggermode
– 00: SingleTrigger (fix)
n .Reserved (0 fix)
Execute IN BOOL The recording of the axis position is activated with edge
0-1 at Execute.
Done OUT BOOL
n Status
– TRUE: Job successfully done. The axis position
was recorded.
Busy OUT BOOL
n Status
– TRUE: Job is running.
CommandA-
borted
OUT BOOL
n Status
– TRUE: The job was aborted during processing by
another job.
Error OUT BOOL
n Status
– TRUE: An error has occurred. Additional error
information can be found in the parameter ErrorID.
ErrorID OUT WORD Additional error information
Ä
Chap. 13.10 ‘ErrorID - Additional error information’
page 637
RecordedPosi-
tion
OUT REAL Recorded axis position where trigger event occurred [user
units].
Description
VIPA SPEED7
Motion control - Simple Motion Control Library
Blocks for axis control > Complex motion tasks - PLCopen blocks
HB00 | OPL_SP7 | Operation list | en | 18-30 581