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_ISD
51x.
VAR_INPUT
Execute BOOL FALSE Start the motion at rising
edge.
Deceleration UDINT 0 Value of the deceleration
[user-dened acceleration
unit]. Only values >0 are
allowed.
VAR_OUTPUT
Done BOOL When target velocity 0 is
reached.
Busy BOOL The function block is not
nished and new output
values are to be expected.
CommandA-
borted
BOOL Command is aborted by
switching o power (only
possibility to abort).
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.39 MC_Stop_ISD51x
6.5.5.3 MC_Halt_ISD51x
This function block commands a controlled motion stop.
The axis moves to state DiscreteMotion, until the velocity is
0 (see chapter 7.20.2 Parameter 50-42: Target Reached Option
Code (0x2054)). With the Done output set, the state
transfers to Standstill. This function block is used to stop
the axis under normal operation conditions. Another
motion command can be set during deceleration of the
axis, which is executed immediately and aborts
MC_Halt_ISD51x.
MC_Halt_ISD51x
Axis
ExecuteBOOL
AXIS_REF_-
ISD51x
BOOLDone
BOOLBusyDecelerationUDINT
BOOL
BOOLCommand
Aborted
DD_ERROR_-
ISD51x
ErrorInfo
Error
130BE282.10
Illustration 6.60 MC_Halt_ISD51x
The value 0 is not allowed for the Deceleration input.
The command is transferred and executed immediately.
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_ISD
51x.
VAR_INPUT
Execute BOOL FALSE Start the motion at rising
edge.
Deceleration UDINT 0 Value of the deceleration
[user-dened acceleration
unit]. Only values >0 are
allowed.
VAR_OUTPUT
Done BOOL When target velocity 0 is
reached.
Busy BOOL The function block is not
nished and new output
values are to be expected.
Command
Aborted
BOOL Command is aborted by
another command.
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.40 MC_Halt_ISD51x
Programming Programming Guide
MG36D102 Danfoss A/S © 01/2017 All rights reserved. 201
6
6