Variable
name
Data
type
Default
value
Description
Error BOOL An error has occurred
within the function block.
ErrorInfo DD_ERROR_ISD51x Error identication and
instance identier.
See chapter 6.5.2.3 Error
Indication.
RecordedPo-
sition
DINT Position where trigger
event occurred [user-
dened position unit].
Table 6.30 MC_TouchProbe_ISD51x
Enumeration DD_EDGE_MODE_ISD51x
denes the edge
types for the digital input.
Name Description
ddPositiveEdge_ISD51x Only positive edges on the digital
input are used as events.
ddNegativeEdge_ISD51x Only negative edges on the digital
input are used as events.
ddBothEdges_ISD51x Positive and negative edges on the
digital input are used as events.
Table 6.31 Enumeration DD_EDGE_MODE_ISD51x
6.5.4.28 MC_AbortTrigger_ISD51x
This function block is used to abort function blocks that
are connected to trigger events, for example,
MC_TouchProbe_ISD51x.
The deactivation of the functionality can take some time.
MC_AbortTrigger_ISD51x
Axis
ExecuteBOOL
AXIS_REF_-
ISD51x
TriggerInput
UINT(VAR_IN_OUT)
BOOLDone
BOOLBusy
DD_ERROR_ISD51xErrorInfo
BOOLError
130BE278.10
Illustration 6.54 MC_AbortTrigger_ISD51x
Variable
name
Data
type
Default
value
Description
VAR_IN_OUT
Axis AXIS_REF_ISD51x Reference to the axis.
See
chapter 6.5.4.1 AXIS_REF_IS
D51x.
TriggerInput UINT Reference to the trigger
signal source.
VAR_INPUT
Execute BOOL FALSE Starts touch probe
recording at rising edge.
VAR_OUTPUT
Done BOOL Trigger event has been
recorded.
Busy BOOL The function block is not
nished and new output
values are to be expected.
Error BOOL An error has occurred
within the function block.
ErrorInfo DD_ERROR_ISD51x Error identication and
instance identier.
See chapter 6.5.2.3 Error
Indication.
Table 6.32 MC_AbortTrigger_ISD51x
6.5.4.29 DD_PrepareDigCamSwitch_ISD51x
This function block prepares the axis with the digital CAM
switches by sending the digital CAM switches information.
It writes the digital CAM switches information to the servo
drive but does not activate the digital CAM switches.
If the Done output is TRUE, the digital CAM switches
information is valid and ready for processing. Use function
block DD_DigitalCamSwitch_ISD51x to activate the digital
CAM.
The sending and parsing of the CAM switches information
can take some time.
If >1 axis needs to process the same digital CAM switches,
execute this function block for every axis.
To generate a digital CAM switches le, see the description
in chapter 2.5.1 Digital CAM Switch, or use the ISD Toolbox
chapter 5.7.6 Digital CAM Switch (Servo Drive only).
Programming Programming Guide
MG36D102 Danfoss A/S © 01/2017 All rights reserved. 195
6
6