AXIS_REF_SM3.CheckSupportedCommunicationState (METH) ¶ METHOD CheckSupportedCommunicationState : BOOL The implementation of this method returns TRUE if the driver supports the requested communications state. The application could query a driver to check if it is supporting specific communications states generally. The method AXIS_REF_SM3.CheckCurrentSupportedCommunicationState is used to check for the current state. Therefore the result of CheckCurrentSupportedCommunicationState and CheckSupportedCommunicationState could differ if the driver is for example in the startup procedure and not supporting currently some communication states. InOut: Scope Name Type Comment Return CheckSupportedCommunicationState BOOL TRUE : State is supported. Input eRequestedState DED.DEVICE_TRANSITION_STATE Communication state that is checked.
AXIS_REF_SM3.GetDeviceErrorAsync (METH) ¶ METHOD GetDeviceErrorAsync : DED.PROC_STATE Returns the device error of the current node; you can also use the function block GetDeviceError . InOut: Scope Name Type Comment Return GetDeviceErrorAsync DED.PROC_STATE eState Input eCmd DED.PROC_CMD eCommand Inout eriDeviceError DED.ERROR_INFO Error struct Output eError DED.ERROR Error code if method fails
AXIS_REF_SM3.GetDeviceInfo (METH) ¶ METHOD GetDeviceInfo : DED.ERROR Returns the device information of the current node. InOut: Scope Name Type Comment Return GetDeviceInfo DED.ERROR eError Inout deiInfo DED.DEVICE_INFO Device information struct
SMC_PerfTimerSum (FUN) ¶ FUNCTION SMC_PerfTimerSum : SMC_PerfTimers Returns the sum of two performance timers InOut: Scope Name Type Inout Const t1 SMC_PerfTimers t2 SMC_PerfTimers Return SMC_PerfTimerSum SMC_PerfTimers
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_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
Generated ¶ Framed visu helpers TextListForCombobox_MC_BUFFER_MODE (TextList) TextListForCombobox_MC_DIRECTION (TextList) TextListForCombobox_MC_STARTMODE (TextList) TextListForCombobox_MC_TAPPETMODE (TextList) TextListForCombobox_SMC3_BrakeSetState (TextList) TextListForCombobox_SMC3_PersistPositionDiag (TextList) TextListForCombobox_SMC_BACKLASH_MODE (TextList) TextListForCombobox_SMC_BACKLASH_STARTSTATE (TextList) TextListForCombobox_SMC_CAMTAPPETTYPE (TextList) TextListForCombobox_SMC_CONTROLLER_MODE (TextList) TextListForCombobox_SMC_ERROR (TextList) TextListForCombobox_SMC_HOMING_MODE (TextList) TextListForCombobox_SMC_LOGGERMODE (TextList) TextListForCombobox_SMC_MOVEMENTTYPE (TextList) TextListForCombobox_SMC_RAMPTYPE (TextList)