6.5.8.14 DD_WriteParameter_SABThis function block asynchronously writes general objectsto the object dictionary of the SAB. For the index and thesub-index of the parameters, see chapter 8 SAB ParameterDescription. The data needs to be written to the deviceasynchronously and is therefore not immediately availablein the SAB.DD_WriteParameter_SABSabExecuteBOOLSAB_REFBOOLDoneBOOLBusyBOOLDD_ERROR_ISD51xErrorInfoDWORDAbortCodeLengthUSINTpBufferUDINTErrorIndexUINTSubindexUSINT130BE977.10Illustration 6.97 DD_WriteParameter_SABVariablenameDatatypeDefaultvalueDescriptionVAR_IN_OUTSab SAB_REF Reference to the SAB.See chapter 6.5.8.1 SAB_REF.VAR_INPUTExecute BOOL FALSE Write the value of theparameter at rising edge.Index UINT 0 Index of the object to bewritten.Subindex USINT 0 Sub-index of the object to bewritten.Length USINT 0 Length of the data to bewritten [Byte].pBuffer UDINT 0 Pointer to the buffer thatcontains the data to be written(use ADR() function).VAR_OUTPUTDone BOOL The value has successfullybeen written to the device.Busy BOOL The function block is notfinished and new outputvalues are to be expected.Error BOOL An error has occurred withinthe function block.ErrorInfo DD_ERROR_ISD51x Error identification andinstance identifier.See chapter 6.5.2.3 ErrorIndication.AbortCode DWORD SDO abort code if there is anerror. Available in the list ofconstants: SdoAbortCodes.Table 6.83 DD_WriteParameter_SAB6.5.8.15 DD_Trace_SABThis function block is used to start a trace in the SAB withthe settings given in the input variables. The behavior ofthis function block is the same as described for thefunction block DD_Trace_ISD51x (seechapter 6.5.4.24 DD_Trace_ISD51x).DD_Trace_SABSabExecuteBOOLSAB_REFBOOLDoneBOOLBusyBOOLErrorBOOLDD_ERROR_-ISD51xErrorInfoUSINTStatusUDINTTraceLengthCommandAbortedAbortBOOLTraceBufferSizeUDINTSamplingRateDD_SAMPLING_-RATE_ISD51xSampleCountUINTSubSamplingUINTSignalIDsARRAY[0..7]OF UDINTTriggerIDUDINTTriggerPointUSINTTriggerLevelREALTriggerSlopeBOOLpTraceBufferUDINT130BE978.10Illustration 6.98 DD_Trace_SABVariable name Data type DefaultvalueDescriptionVAR_IN_OUTSab SAB_REF Reference to theSAB.Seechapter 6.5.8.1 SAB_REF.VAR_INPUTExecute BOOL FALSE Starts the tracefunctionality atrising edge andkeeps on pollinguntil the data isavailable.Abort BOOL FALSE Abort the ongoingtrace. New valuesare only evaluatedon rising edge ofExecute.pTraceBuffer UDINT 0 Reference to abuffer where theread trace data willbe placed; UseADR() function.TraceBufferSize UDINT 0 Size of the tracebuffer; use SIZEOF()function. Size of theprovided buffer[Byte].Programming VLT® Integrated Servo Drive ISD® 510 System228 Danfoss A/S © 01/2017 All rights reserved. MG36D10266