DD_PrepareDigCamSwitch_ISD51x
Output
ExecuteBOOL
AXIS_REF_-
ISD51x
FileNameSTRING(80)
PathE_OpenPath
BOOLDone
BOOLBusy
DD_ERROR_ISD51xErrorInfo
BOOLError
WORDParseError
DWORDParseErrorDebug
130BE265.10
Illustration 6.55 DD_PrepareDigCamSwitch_ISD51x for
TwinCAT
®
(See Table 6.33 for other available development
environments).
Variable
name
Data
type
Default
value
Description
VAR_IN_OUT
Output AXIS_REF_ISD51x Reference to the axis/
signal output.
See
chapter 6.5.4.1 AXIS_REF_IS
D51x.
VAR_INPUT
Execute BOOL FALSE Start transfer of digital
CAM switches data at
rising edge.
FileName STRING[8
0]
“ Filename of the digital
CAM switches le on the
PLC.
pDevice UDINT 0
Automation Studio™ only:
Pointer to the device
name on which the digital
CAM switches le is
located.
Path E_OpenP
ath
PATH_GEN
ERIC
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 and congu-
ration have been
downloaded; Parsing was
successful.
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.
Variable
name
Data
type
Default
value
Description
ParseError WORD Detailed information on
the type of error if there is
a CAM parsing failure.
ParseE-
rrorDebug
DWORD Depending on the cause
given in the output
ParseError, additional
debug information is
given here. Available in
the list of constants:
CamParsingErrors.
Table 6.33 DD_PrepareDigCamSwitch_ISD51x
6.5.4.30 DD_DigitalCamSwitch_ISD51x
This function block activates the digital CAM switches
functionality on the axis. It commands the digital output of
the servo drive to switch in a similar way as a mechanical
CAM controlled switch connected to an axis. Forward and
backward movements are allowed.
This function block only works if the usage of the digital
output is congured accordingly (see
chapter 7.21.5 Parameter 52-05: Digital Output Conguration
(0x2FFF)).
The activation of the digital CAM switches functionality
takes eect immediately.
DD_DigitalCamSwitch_ISD51x
Output
EnableBOOL
AXIS_REF_ISD51x
EnableSwitchesBOOL
BOOLInOperation
BOOLBusy
BOOLError
DD_ERROR_-
ISD51x
ErrorInfo
130BE263.10
Illustration 6.56 DD_DigitalCamSwitch_ISD51x
Programming
VLT
®
Integrated Servo Drive ISD
®
510 System
196 Danfoss A/S © 01/2017 All rights reserved. MG36D102
6
6