Variable
name
Data type Default
value
Description
VAR_OUTPUT
Done BOOL The command has been
sent.
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.62 DD_GoToSetpoint_ISD51x
6.5.6.9 DD_ReadCamInfo_ISD51x
This function block is used for basic and advanced CAMs. It
provides the information that the axis sends out during
the processing of the CAM. The meaning of the status
code and the parameters can be found in
chapter 2.4.5.5 Advanced CAM.
DD_ReadCamInfo_ISD51x
Axis
EnableBOOL
AXIS_REF_ISD51x
BOOLValid
BOOLBusy
BOOL
DD_ERROR_ISD51x
ErrorInfo
UINT
StatusCode
UINT
Parameter1
UINT
Parameter2
UINT
Parameter3
Error
130BE962.10
Illustration 6.80 DD_ReadCamInfo_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 Read the information
continuously while
enabled.
VAR_OUTPUT
Valid BOOL The function block has a
valid set of outputs.
Variable
name
Data type Default
value
Description
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.
StatusCode UINT The status code dieren-
tiates what kind of
information it is.
Parameter1 UINT Parameter 1: Meaning
depends on the
StatusCode.
Parameter2 UINT Parameter 2: Meaning
depends on the
StatusCode.
Parameter3 UINT Parameter 3: Meaning
depends on the
StatusCode.
Table 6.63 DD_ReadCamInfo_ISD51x
6.5.7 Drive – CAM Creation
6.5.7.1 Basic CAM
Use these function blocks and the corresponding structure
to generate and modify a basic CAM inside the PLC. The
information inside the structure can also be stored in a le
(see Table 6.70), which can be sent to the servo drive (as
described in chapter 6.5.6.1 MC_CamTableSelect_ISD51x).
Use DD_LoadBasicCamFromFile_ISD51X (see Table 6.69) to
restore the information from the le to the structure.
The structure of the basic CAM is built up as shown in
Table 6.64.
Programming
VLT
®
Integrated Servo Drive ISD
®
510 System
218 Danfoss A/S © 01/2017 All rights reserved. MG36D102
6
6