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
Execute BOOL FALSE Starts the rmware
update at a rising edge.
FileName STRING[80] ‘’ File name of the
rmware le on the PLC.
pDevice UDINT 0
Automation Studio™
only: Pointer to the
device name on which
the rmware le is
located.
Path E_OpenPath PATH_GENERIC
TwinCAT
®
only: The
variable of this type
selects generic or 1 of
the TwinCAT
®
system
paths on the target
device.
VAR_OUTPUT
Done BOOL The rmware le has
successfully been
transferred. Carry out a
power cycle on the SAB
to enable the new
rmware.
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.77 DD_UpdateFirmware_SAB
6.5.8.9 DD_ReadDcLinkPower_SAB
This function block provides the value of the actual DC-link
power (see chapter 8.4 Object 0x2001: DC-link Related
Values) if Enable is set. Valid is TRUE when the data-output
Power is valid. If Enable is reset, the data loses its validity
and all outputs are reset, regardless of whether new data is
available.
The output data is available immediately.
DD_ReadDcLinkPower_SAB
Sab
EnableBOOL
SAB_REF
BOOLValid
BOOLBusy
BOOL
DD_ERROR_ISD51x
ErrorInfo
REAL
Power
Error
130BE972.10
Illustration 6.92 DD_ReadDcLinkPower_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 Get the value of the parameter
continuously while enabled
VAR_OUTPUT
Valid BOOL The function block has a valid
output.
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.
Power REAL Value of the actual DC-link
current [Ampere].
Table 6.78 DD_ReadDcLinkPower_SAB
6.5.8.10 DD_ReadDcLinkVoltage_SAB
This function block provides the value of the actual DC-link
voltage (see chapter 8.4 Object 0x2001: DC-link Related
Values) if Enable is set. Valid is TRUE when the data-output
Voltage is valid. If Enable is reset, the data loses its validity
and all outputs are reset, regardless of whether new data is
available.
The output data is available immediately.
Programming Programming Guide
MG36D102 Danfoss A/S © 01/2017 All rights reserved. 225
6
6