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 SAB information contin-
uously while enabled.
VAR_OUTPUT
Valid BOOL The function block has a valid
set of outputs.
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.
SabWar-
ningID
WORD The value of the SAB warning.
Available in the list of constants:
SabErrorCodes.
Table 6.75 DD_ReadSabWarning_SAB
6.5.8.7 DD_ReadVersion_SAB
This function block reads the rmware version and the
serial number of the SAB. Done is TRUE when the data-
outputs are valid. The version number consists of a major,
a minor, and beta version number (see chapter 8.29 Object
0x400A: Communication Settings).
The output data needs to be read from the device and is
therefore not immediately available.
DD_ReadVersion_SAB
Sab
ExecuteBOOL
SAB_REF
BOOLDone
BOOLBusy
BOOL
DD_ERROR_ISD51x
ErrorInfo
STRING(18)
SerialNumber
UINT
MajorVersionNo
UINT
MinorVersionNo
UINT
BetaVersionNo
UINT
SoftwareType
Error
130BE970.10
Illustration 6.90 DD_ReadVersion_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
Execute BOOL FALSE Read the information at
rising edge.
VAR_OUTPUT
Done BOOL The values have successfully
been read from the device.
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.
SerialNumber STRING[18] Serial number of the SAB.
MajorVer-
sionNo
UINT Major rmware version
number.
MinorVer-
sionNo
UINT Minor rmware version
number.
BetaVer-
sionNo
UINT Beta rmware version
number.
SoftwareType UINT Loaded software type.
Table 6.76 DD_ReadVersion_SAB
6.5.8.8 DD_UpdateFirmware_SAB
This function block updates the rmware of the SAB, which
can only be carried out in Standby state. Carry out a power
cycle to use the SAB after updating. For more details on
the rmware update, see chapter 3.8 Firmware Update.
DD_UpdateFirmware_SAB
Sab
ExecuteBOOL
SAB_REF
BOOLDone
BOOLBusy
BOOL
DD_ERROR_ISD51x
ErrorInfo
Error
FileNameSTRING(80)
Path
E_OpenPath
Illustration 6.91 DD_UpdateFirmware_SAB in TwinCAT
®
Programming
VLT
®
Integrated Servo Drive ISD
®
510 System
224 Danfoss A/S © 01/2017 All rights reserved. MG36D102
6
6