Inside the library, the following lists of constants are
dened:
•
AxisErrorCodes
- Constants for error codes of the axis.
- Error codes can be read using the
function block MC_ReadAxisError_ISD51x
and/or DD_ReadAxisWarning_ISD51x.
•
AxisTraceSignals
- Constants for the trace signals of the
axis.
- Intended to be used with the function
block DD_Trace_ISD51x.
•
BasCam_51x
- Constants for the creation of basic
CAMs.
•
CamParsingErrors
- Constants for parsing problems of a
CAM.
- Error reason is returned by function
block MC_CamTableSelect_ISD51x.
•
Danfoss_VLT_ISD510
- Contains the version information of the
library.
•
FB_ErrorConstants
- Constants for errors inside POUs.
- The reason is given in an output
ErrorInfo.ErrorID that is available in all
POUs.
•
Intern_51x
- Constants that are needed internally for
the library.
- They are not intended to be used in an
application.
•
LabCam_51x
- Constants for the creation of labeling
CAMs.
•
SabErrorCodes
- Constants for error codes of the SAB.
- Error codes can be read using the
function block DD_ReadSabError_SAB
and/or DD_ReadSabWarning_SAB.
•
SabTraceSignals
- Constants for the trace signals of the
SAB.
- Intended to be used with the function
block DD_Trace_SAB.
•
SdoAbortCodes
- Constants for errors concerning reading
and writing of parameters.
- The reason is given in an output
AbortCode that is available in several
POUs.
Instantiating AXIS_REF_ISD51x
Inside the folder ISD_51x in library Danfoss_VLT_ISD_510,
there is a function block called AXIS_REF_ISD51x. Create 1
instance of this function block for every servo drive that
has to be controlled or monitored. Each instance of
AXIS_REF_ISD51x is the logical representation of 1 physical
servo drive.
Instantiating SAB_REF
Inside the folder SAB_51x in library Danfoss_VLT_ISD_510,
there is a function block called SAB_REF. Create 1 instance
of this function block for every SAB that has to be
controlled or monitored.
Each instance of SAB_REF is the logical representation of 1
physical SAB.
NOTICE
When compiling the library, check that the option
Replace constants under [Project → Options... → Build] is
activated.
Afterwards, save and compile the project to update the
automatically generated variable information for the
TwinCAT
®
System Manager.
Illustration 6.2 Instantiation of AXIS_REF_ISD51x
Programming Programming Guide
MG36D102 Danfoss A/S © 01/2017 All rights reserved. 163
6
6