SMC_SeriesStat (FB) ¶ FUNCTION_BLOCK SMC_SeriesStat Computes basic statistics of a series of values in an incremental way (value by value) InOut: Scope Name Type Input bEnable BOOL fCurValue LREAL Inout stats SMC_SeriesStats
SMC_AxisDiagnosticLog.WriteToFile (ACT) ¶ moved the open to the beginning. Otherwise only cycle loss until data is written and the first buffer is mixed
SMC_FollowPosition (FB) ¶ FUNCTION_BLOCK SMC_FollowPosition This function block writes the position set points to the axis without doing any checks. Note This function block does not support forecasts that are set up by SMC_SetForecast . InOut: Scope Name Type Comment Inout Axis AXIS_REF_SM3 Input bExecute BOOL Rising edge: Starts the execution of the function block. fSetPosition LREAL Set position in technical units Output bBusy BOOL TRUE : Execution of the function block has not been finished. bCommandAborted BOOL TRUE : Command has been aborted by another command. bError BOOL TRUE : Error has occurred within the function block. iErrorID SMC_ERROR Error identification
SMC_ReadCAM.CloseFile (ACT) ¶
SMC_WriteCAM.CloseFile (ACT) ¶
SMC_ClearFBError (FUN) ¶ FUNCTION SMC_ClearFBError : BOOL This function serves to delete the oldest function block error information. InOut: Scope Name Type Return SMC_ClearFBError BOOL Input pDrive POINTER TO AXIS_REF_SM3
SMC_ReadFBError (FB) ¶ FUNCTION_BLOCK SMC_ReadFBError This function block serves to read the oldest information on function block errors. InOut: Scope Name Type Initial Comment Inout Axis AXIS_REF_SM3 Input bEnable BOOL FALSE TRUE : Starts the execution of the function block. Output bValid BOOL FALSE TRUE : Parameter is available. bBusy BOOL TRUE : Execution of function block is not finished. bFBError BOOL FALSE TRUE : Error has occurred within the function block. nFBErrorID SMC_ERROR 0 Error identification pbyErrorInstance POINTER TO BYTE Points to the function block instance that reported this error. strErrorInstance STRING tTimeStamp TIME Time stamp of the error
SMC_PerfStat (FB) ¶ FUNCTION_BLOCK SMC_PerfStat Computes basic statistics of the performance timers InOut: Scope Name Type Input bEnable BOOL Inout Const timers SMC_PerfTimers Output statBI SMC_SeriesStats statAI SMC_SeriesStats statBO SMC_SeriesStats statAO SMC_SeriesStats statAll SMC_SeriesStats
AXIS_REF_SM3.IsRootNode (PROP) ¶ PROPERTY IsRootNode : BOOL
AXIS_REF_SM3.NextSiblingNode (PROP) ¶ PROPERTY NextSiblingNode : DED.INode