Programming
AXIS_REF_-
ISD51x
BOOL
STRING(80)
E_OpenPath
Illustration 6.55 DD_PrepareDigCamSwitch_ISD51x for
®
TwinCAT
(See Table 6.33 for other available development
environments).
6
6
Variable
name
VAR_IN_OUT
Output
VAR_INPUT
Execute
FileName
pDevice
Path
VAR_OUTPUT
Done
Busy
Error
ErrorInfo
196
DD_PrepareDigCamSwitch_ISD51x
Output
Execute
Done
FileName
Busy
Path
Error
ErrorInfo
ParseError
ParseErrorDebug
Data
Default
Description
type
value
AXIS_REF_ISD51x
Reference to the axis/
signal output.
See
chapter 6.5.4.1 AXIS_REF_IS
D51x.
BOOL
FALSE
Start transfer of digital
CAM switches data at
rising edge.
STRING[8
"
Filename of the digital
0]
CAM switches file on the
PLC.
UDINT
0
Automation Studio™ only:
Pointer to the device
name on which the digital
CAM switches file is
located.
E_OpenP
PATH_GEN
®
TwinCAT
ath
ERIC
variable of this type
selects generic or 1 of the
®
TwinCAT
the target device.
BOOL
CAM profile and configu-
ration have been
downloaded; Parsing was
successful.
BOOL
The function block is not
finished and new output
values are to be expected.
BOOL
An error has occurred
within the function block.
DD_ERROR_ISD51x
Error identification and
instance identifier.
See chapter 6.5.2.3 Error
Indication.
Danfoss A/S © 01/2017 All rights reserved.
®
VLT
Integrated Servo Drive ISD
Variable
name
ParseError
BOOL
BOOL
ParseE-
BOOL
rrorDebug
DD_ERROR_ISD51x
WORD
DWORD
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 configured accordingly (see
chapter 7.21.5 Parameter 52-05: Digital Output Configuration
(0x2FFF)).
The activation of the digital CAM switches functionality
takes effect immediately.
AXIS_REF_ISD51x
only: The
Illustration 6.56 DD_DigitalCamSwitch_ISD51x
system paths on
®
510 System
Data
Default
Description
type
value
WORD
Detailed information on
the type of error if there is
a CAM parsing failure.
DWORD
Depending on the cause
given in the output
ParseError, additional
debug information is
given here. Available in
the list of constants:
CamParsingErrors.
DD_DigitalCamSwitch_ISD51x
Output
BOOL
Enable
InOperation
BOOL
EnableSwitches
ErrorInfo
BOOL
Busy
BOOL
Error
BOOL
DD_ERROR_-
ISD51x
MG36D102
Need help?
Do you have a question about the VLT Series and is the answer not in the manual?
Questions and answers