GetTextProperty (FUN) ¶ FUNCTION GetTextProperty : WSTRING This function has been automatically generated from the project information. InOut: Scope Name Type Return GetTextProperty WSTRING Input stKey WSTRING
SM3_Basic Library Documentation ¶ Company : CODESYS Title : SM3_Basic Version : 4.17.0.0 Categories : Intern|SoftMotion Author : CODESYS Development GmbH Placeholder : SM3_Basic Description [ 1 ] ¶ Contents: ¶ GlobalTextList (GlobalTextList) Images Library Information GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function) Project Information GetBooleanProperty (Function) GetCompany (Function) GetNumberProperty (Function) GetTextProperty (Function) GetTextProperty2 (Function) GetTitle (Function) GetVersion (Function) GetVersionProperty (Function) SM3_Basic DataTypes DriveInterface Globals POUs Visualization SM3_Basic_GetVersion (Function) Indices and tables ¶ [ 1 ] Based on SM3_Basic.library, last modified 26.07.2024, 11:51:33. LibDoc 4.5.0.0 The content file SM3_Basic.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 26.07.2024, 11:51:57.
GlobalTextList (Text List) ¶
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersion VERSION
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD
SMC_FollowPositionVelocity (FB) ¶ FUNCTION_BLOCK SMC_FollowPositionVelocity This function block employment is equivalent to SMC_FollowPosition , except for the velocity that may be defined in addition. 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 [u]. fSetVelocity LREAL Set velocity in technical units/sec [u/s]. Output bBusy BOOL TRUE : Execution of function block has not been finished yet. bCommandAborted BOOL TRUE : The command has been aborted by another command. bError BOOL TRUE : Error has occurred within the function block. iErrorID SMC_ERROR Error identification
SMC_FollowSetValues (FB) ¶ FUNCTION_BLOCK SMC_FollowSetValues Writes set values 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 Reference to the axis Input bExecute BOOL Rising edge: Starts the execution of the function block. bAbort BOOL Abort the execution of the function block (e.g. in order to avoid an error when restarting with a different axis) dwValueMask DWORD Values, which are written to the axis ( TRUE ) and which are ignored ( FALSE ): Bit0: fSetPosition Bit1: fSetVelocity Bit2: fSetAcceleration Bit3: fSetJerk Bit4: fSetTorque Bit5: fSetCurrent fSetPosition LREAL Set position in [u] fSetVelocity LREAL Set velocity in [u/s] fSetAcceleration LREAL Set acceleration in [u/s²] fSetJerk LREAL Set jerk in [u/s³] fSetTorque LREAL Set torque/force in [Nm]/[N] fSetCurrent LREAL Set current in [A] Output bBusy BOOL TRUE : Execution of 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_FollowVelocity (FB) ¶ FUNCTION_BLOCK SMC_FollowVelocity This function block writes set velocities 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. fSetVelocity LREAL Set velocity in technical units per second. Output bBusy BOOL TRUE : Execution of 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