DD_WriteParameter4_ISD51xAxisExecuteBOOLAXIS_REF_-ISD51xBOOLDoneBOOLBusyDD_ERROR_ISD51xErrorInfoBOOLDWORDAbortCodeErrorIndexUINTLengthUSINTSubindexValueDWORDUSINT130BE277.10Illustration 6.47 DD_WriteParameter4_ISD51xVariablenameDatatypeDefaultvalueDescriptionVAR_IN_OUTAxis AXIS_REF_ISD51x Reference to the axis.Seechapter 6.5.4.1 AXIS_REF_ISD51x.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 tobe written.Length USINT 0 Length of the data to bewritten [Byte].Value DWORD 0 New value of the specifiedparameter.VAR_OUTPUTDone BOOL The value has successfullybeen written to thedevice.Busy BOOL The function block is notfinished and new outputvalues are to be expected.Error BOOL An error has occurredwithin the function block.ErrorInfo DD_ERROR_ISD51x Error identification andinstance identifier.See chapter 6.5.2.3 ErrorIndication.AbortCode DWORD SDO abort code if there isan error. Available in thelist of constants:SdoAbortCodes.Table 6.25 DD_WriteParameter4_ISD51x6.5.4.24 DD_Trace_ISD51xThis function block is used to carry out a real-time tracewithin the axis using the settings given in the inputvariables. When the settings are sent and the trace started,the function block automatically polls the axis until thedata has been recorded and then uploads the dataautomatically. Information about the status of the tracingcan be monitored using the Status output (while Busy isTRUE).Inside the axis, the data is sampled over time, meaningthat there is an adjustable time difference between thesamples (use inputs SamplingRate and SubSampling). Forgeneral tracing capabilities, refer to chapter 2.7.2 Trace.The Abort input is used to abort the current functionality.The output CommandAborted is used to signal a successfulaborting procedure (see Illustration 6.48). The abort of thefunctionality can take some time.The behavior of output CommandAborted is similar to theDone output, only for a successful aborting procedure.If there is an error during aborting, the Error output is setto TRUE and the error reason is indicated at outputErrorInfo. The output CommandAborted stays as FALSE inthis case (see Illustration 6.49).For function blocks with Execute as Abort input, the Abortinput (and any other inputs of the function block) is onlyevaluated at a rising edge of Execute.ExecuteAbortBusyDoneCommandAbortedStartfunctionalityAbortfunctionalityError130BE948.10Illustration 6.48 Behavior of Successful Abort of FunctionalityProgramming Programming GuideMG36D102 Danfoss A/S © 01/2017 All rights reserved. 1916 6