DD_FOLLOWING_ERROR _ISD51x
Variable
name
Data
type
Defau
lt
value
Description
WindowRev REAL 0 Following error window [rev].
TimeOut UINT 0 Following error timeout [ms].
Table 6.68 DD_FOLLOWING_ERROR _ISD51x
DD_LoadBasicCamFromFile_ISD51x
This function block is used to
ll the CAM structure out of
an existing basic CAM le. The validity of the XML-structure
is not checked by this function block.
DD_LoadBasicCamFromFile_ISD51x
BasicCam
ExecuteBOOL
DD_BASIC_-
BOOLDone
BOOLBusy
BOOL
DD_ERROR_ISD51x
ErrorInfo
Error
FileNameSTRING(80)
Path
E_OpenPath
Illustration 6.81 DD_LoadBasicCamFromFile_ISD51x in
TwinCAT
®
Variable
name
Data type Default
value
Description
VAR_IN_OUT
BasicCam DD_BASIC_CAM_ISD5
1x
Structure lled with the
information of the le.
This structure is cleared
after activation.
See chapter 6.5.7.1 Basic
CAM.
VAR_INPUT
Execute BOOL FALSE Fills the CAM structure
with the le information.
FileName STRING[80] ‘’ Filename of the CAM
prole le on the PLC.
pDevice UDINT 0
Automation Studio™ only:
Pointer to the device
name on which the le is
located.
Path E_OpenPat
h
PATH_GE
NERIC
TwinCAT
®
only: The
variable of this type
selects generic or 1 of the
TwinCAT
®
system paths on
the target device.
VAR_OUTPUT
Done BOOL CAM prole has been read
and structure can now be
used.
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.
Table 6.69 DD_LoadBasicCamFromFile_ISD51x
DD_SaveBasicCamToFile_ISD51x
This function block is used to save a CAM structure into a
CAM
le. If the le already exists, it is overwritten. The
optional elements in the CAM (for example, Master/slave
scaling, or the control parameter sets) are not saved in the
le if all subelements of the element are 0.
DD_SaveBasicCamToFile_ISD51x
BasicCam
ExecuteBOOL
DD_BASIC_-
CAM_ISD51x
BOOLDone
BOOLBusy
BOOL
DD_ERROR_ISD51x
ErrorInfo
Error
FileNameSTRING(80)
Path
E_OpenPath
130BE964.10
Illustration 6.82 DD_SaveBasicCamToFile_ISD51x in TwinCAT
®
Variable
name
Data type Default
value
Description
VAR_IN_OUT
BasicCam DD_BASIC_CAM_ISD5
1x
Content of this structure is
written to a le. Do not
change the content of the
structure while this
function block is Busy.
VAR_INPUT
Execute BOOL FALSE Write information from
structure to the le.
FileName STRING[80] ‘’ File name of the CAM
prole le on the PLC.
pDevice UDINT 0
Automation Studio™ only:
Pointer to the device
name on which the le is
located.
Path E_OpenPat
h
PATH_GE
NERIC
TwinCAT
®
only: The
variable of this type
selects generic or 1 of the
TwinCAT
®
system paths on
the target device.
VAR_OUTPUT
Programming
VLT
®
Integrated Servo Drive ISD
®
510 System
220 Danfoss A/S © 01/2017 All rights reserved. MG36D102
6
6