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.
VAR_INPUT
Enable BOOL FALSE Get the value of the
parameters continuously
while enabled.
VAR_OUTPUT
Valid BOOL The function block has a
valid set of outputs.
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.
ConstantVe-
locity
BOOL Velocity is constant.
Velocity may be 0. For the
actual value, a window is
applicable, see
chapter 7.22.3.1 Parameter
51-70: Constant Velocity
Window (0x2030) and
chapter 7.22.3.2 Parameter
51-71: Constant Velocity
Window Time (0x2031).
Standstill BOOL Velocity is constant and
value 0.
Accelerating BOOL Increasing the absolute
value of the velocity.
Decelerating BOOL Decreasing the absolute
value of the velocity.
Direction-
Positive
BOOL The position is increasing.
Direction-
Negative
BOOL The position is decreasing.
LimitActive BOOL An internal limit is active.
Table 6.11 MC_ReadMotionState_ISD51x
6.5.4.11 MC_ReadActualPosition_ISD51x
This function block provides the value of the actual
position if Enable is set (see chapter 7.7.5 Parameter 50-03:
Position Actual Value (0x6064)). Valid is TRUE when the data-
output Position is valid. If Enable is reset, the data loses its
validity and all outputs are reset, regardless of whether
new data is available.
The output Position is a signed value.
The output data is available immediately.
MC_ReadActualPosition_ISD51x
Axis
EnableBOOL
AXIS_REF_-
ISD51x
BOOLValid
BOOLBusy
BOOL
DD_ERROR_ISD51x
ErrorInfo
DINT
Position
Error
130BE289.10
Illustration 6.34 MC_ReadActualPosition_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.
VAR_INPUT
Enable BOOL FALSE Get the value of the
parameter continuously
while enabled.
VAR_OUTPUT
Valid BOOL The function block has a
valid output.
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.
Position DINT New absolute position
[user-dened position
unit].
Table 6.12 MC_ReadActualPosition_ISD51x
6.5.4.12 MC_ReadActualVelocity_ISD51x
This function block provides the value of the actual
velocity if Enable is set (see chapter 7.11.3 Parameter 50-04:
Velocity Actual Value (0x606C)). Valid is TRUE when the data-
output Velocity is valid. If Enable is reset, the data loses its
validity and all outputs are reset, regardless of whether
new data is available.
The output Velocity is a signed value.
The output data is available immediately.
Programming Programming Guide
MG36D102 Danfoss A/S © 01/2017 All rights reserved. 183
6
6