Variable
name
Data type Default
value
Description
Done BOOL CAM prole has been
written to the le.
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.70 DD_SaveBasicCamToFile_ISD51x
6.5.8 SAB
6.5.8.1 SAB_REF
Represents the state of an ISD 510 Servo Access Box. It
handles the PDO communication and the internal state. To
use the SAB-related function blocks, instantiate 1 function
block for each SAB used. Also, connect the inputs and
outputs to the objects that are mapped in the
development environment for synchronous communication
(see chapter 6.3.1.2 Creating a TwinCAT
®
Project and
chapter 6.4.1.2 Creating an Automation Studio
™
Project).
SAB_REF
ModuleOkBOOL
NodeNumberUSINT
SlotNameSTRING[80]
TPDOUDINT[0..8]
UDINT[0..8]RPDO
130BE953.10
Illustration 6.83 SAB_REF in Automation Studio™
SAB_REF
WcStateBOOL
StateUINT
NodeNumberT_AmsPort
AmsNetldT_AmsNetldArr
TPDOARRAY[0..8] OF-
UDINT
ARRAY[0..8] OF UDINTRPDO
Illustration 6.84 SAB_REF in TwinCAT
®
6.5.8.2 DD_Power_SAB
Controls the power for the output lines (On or O). The
Enable input enables the DC-link voltage on the output
lines and not the function block itself.
DD_Power_SAB
Sab
EnableBOOL
SAB_REF
BOOLStatus
BOOLValid
BOOL
DD_ERROR_ISD51x
ErrorInfo
Error
TimeLimitTIME
Illustration 6.85 DD_Power_SAB
Variable
name
Data
type
Default
value
Description
VAR_IN_OUT
Sab SAB_REF Reference to the SAB.
See chapter 6.5.8.1 SAB_REF.
VAR_INPUT
Enable BOOL FALSE If this input is true, DC-link
voltage for the lines is enabled.
TimeLimit TIME t#0ms Timeout after which an error is
signaled if the Status has not
changed to TRUE while Enable
is TRUE. Set the value to 0 to
disable the time limit.
VAR_OUTPUT
Status BOOL Eective state of the DC-link
voltage on the output lines.
Valid BOOL If TRUE, the function block has
a valid set of outputs.
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.71 DD_Power_SAB
If the DD_Power_SAB function block is called when Enable
= TRUE while in Standby state, the SAB state changes to
Operation enabled.
The error variable is set to TRUE if the Enable input is TRUE
for the time specied in the input TimeLimit, while the
Status remains FALSE. It indicates a hardware problem with
the power stage. If power fails, also during operation, it
generates a transition to the Fault state.
Only issue 1 function block DD_Power_SAB per SAB.
The Enable input in this function block is not an Enable
input as described in chapter 6.5.2.2 Function Blocks with
Programming Programming Guide
MG36D102 Danfoss A/S © 01/2017 All rights reserved. 221
6
6