6.5.8.14 DD_WriteParameter_SAB
This function block asynchronously writes general objects
to the object dictionary of the SAB. For the index and the
sub-index of the parameters, see chapter 8 SAB Parameter
Description. The data needs to be written to the device
asynchronously and is therefore not immediately available
in the SAB.
DD_WriteParameter_SAB
Sab
ExecuteBOOL
SAB_REF
BOOLDone
BOOLBusy
BOOL
DD_ERROR_ISD51x
ErrorInfo
DWORD
AbortCode
Length
USINT
pBuer
UDINT
Error
IndexUINT
Subindex
USINT
130BE977.10
Illustration 6.97 DD_WriteParameter_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 Write the value of the
parameter at rising edge.
Index UINT 0 Index of the object to be
written.
Subindex USINT 0 Sub-index of the object to be
written.
Length USINT 0 Length of the data to be
written [Byte].
pBuer UDINT 0 Pointer to the buer that
contains the data to be written
(use ADR() function).
VAR_OUTPUT
Done BOOL The value has successfully
been written to 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.
AbortCode DWORD SDO abort code if there is an
error. Available in the list of
constants: SdoAbortCodes.
Table 6.83 DD_WriteParameter_SAB
6.5.8.15 DD_Trace_SAB
This function block is used to start a trace in the SAB with
the settings given in the input variables. The behavior of
this function block is the same as described for the
function block DD_Trace_ISD51x (see
chapter 6.5.4.24 DD_Trace_ISD51x).
DD_Trace_SAB
Sab
ExecuteBOOL
SAB_REF
BOOLDone
BOOLBusy
BOOLError
BOOL
DD_ERROR_-
ISD51x
ErrorInfo
USINTStatus
UDINTTraceLength
CommandAborted
AbortBOOL
TraceBuerSizeUDINT
SamplingRateDD_SAMPLING_-
RATE_ISD51x
SampleCountUINT
SubSamplingUINT
SignalIDsARRAY[0..7]OF UDINT
TriggerIDUDINT
TriggerPointUSINT
TriggerLevelREAL
TriggerSlopeBOOL
pTraceBuerUDINT
130BE978.10
Illustration 6.98 DD_Trace_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 Starts the trace
functionality at
rising edge and
keeps on polling
until the data is
available.
Abort BOOL FALSE Abort the ongoing
trace. New values
are only evaluated
on rising edge of
Execute.
pTraceBuer UDINT 0 Reference to a
buer where the
read trace data will
be placed; Use
ADR() function.
TraceBuerSize UDINT 0 Size of the trace
buer; use SIZEOF()
function. Size of the
provided buer
[Byte].
Programming
VLT
®
Integrated Servo Drive ISD
®
510 System
228 Danfoss A/S © 01/2017 All rights reserved. MG36D102
6
6