TP (FB) ¶ FUNCTION_BLOCK TP Implements a pulse timer (* Example declaration *) TPInst : TP ; (* Example in ST *) TPInst ( IN := VarBOOL1 , PT := T#5s ); VarBOOL2 := TPInst.Q ; InOut: Scope Name Type Comment Input IN BOOL Rising edge starts the pulse timer and sets Q to TRUE PT TIME Length of the pulse (high-signal) Output Q BOOL Pulse signal, set to TRUE for PT milliseconds if EN has a rising edge ET TIME Elapsed time since pulse timer started. It will then remain constant after PT is reached.
Trigger ¶ F_TRIG (FunctionBlock) R_TRIG (FunctionBlock)
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
GetTextProperty2 (FUN) ¶ FUNCTION GetTextProperty2 : POINTER TO WSTRING This function has been automatically generated from the project information. InOut: Scope Name Type Return GetTextProperty2 POINTER TO WSTRING Input stKey WSTRING
GetTitle (FUN) ¶ FUNCTION GetTitle : WSTRING This function has been automatically generated from the project information. InOut: Scope Name Type Return GetTitle WSTRING
GetVersion (FUN) ¶ FUNCTION GetVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetVersion VERSION
GetVersionProperty (FUN) ¶ FUNCTION GetVersionProperty : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetVersionProperty VERSION Input stKey WSTRING
SM3_Basic ¶ DataTypes Additional MC_CAMSWITCH_REF (Struct) MC_CAMSWITCH_TR (Struct) MC_OUTPUT_REF (Alias) MC_TAPPETMODE (Enum) MC_TRACK_REF (Alias) MC_TRACK_TR (Struct) TRIGGER_REF (Struct) Administrative/Configuration SMC3_BrakeSetState (Enum) SMC3_PersistPositionDiag (Enum) SMC3_PersistPositionLogical_Data (Struct) SMC3_PersistPositionSingleturn_Data (Struct) SMC3_PersistPosition_Data (Struct) CAM CamSegment SMC_CAM_SEGMENT (Struct) MC_CAM_ID (Struct) MC_CAM_REF (FunctionBlock) MC_STARTMODE (Enum) SMC_CAMTAPPETACTION (Enum) SMC_CAMTAPPETTYPE (Enum) SMC_CAMTable_LREAL_128_1 (Struct) SMC_CAMTable_LREAL_128_2 (Struct) SMC_CAMTable_LREAL_256_1 (Struct) SMC_CAMTable_LREAL_256_2 (Struct) SMC_CAMTable_REAL_128_1 (Struct) SMC_CAMTable_REAL_128_2 (Struct) SMC_CAMTable_REAL_256_1 (Struct) SMC_CAMTable_REAL_256_2 (Struct) SMC_CAMTable_UDINT_128_1 (Struct) SMC_CAMTable_UDINT_128_2 (Struct) SMC_CAMTable_UDINT_256_1 (Struct) SMC_CAMTable_UDINT_256_2 (Struct) SMC_CAMTable_UINT_128_1 (Struct) SMC_CAMTable_UINT_128_2 (Struct) SMC_CAMTable_UINT_256_1 (Struct) SMC_CAMTable_UINT_256_2 (Struct) SMC_CAMTappet (Struct) SMC_CAMXYVA (Struct) SMC_CAM_TYPE (Enum) Diagnostics SMC_CommunicationState (Enum) SMC_LOGGERMODE (Enum) SMC_PerfTimers (Struct) SMC_SeriesSample (Struct) SMC_SeriesStats (Struct) DriveInterface MC_DIRECTION (Enum) SMC3_CaptureDescription (Struct) SMC3_CheckPositionLagMode (Enum) SMC3_DriveAcyclicTel (Struct) SMC3_MappingEntry (Alias) SMC3_ParamCommunicationMethod_Enum (Enum) SMC_AXIS_STATE (Enum) SMC_AXIS_TYPE (Enum) SMC_CONTROLLER_MODE (Enum) SMC_ENCODER_REF (Struct) SMC_FBERROR (Struct) SMC_MOVEMENTTYPE (Enum) SMC_RAMPTYPE (Enum) SMC_SWITCHING_STATE (Enum) SMC_ValueSelect (Enum) Movement MC_TA_REF (Struct) MC_TP_REF (Struct) MC_TV_REF (Struct) SMC_BACKLASH_MODE (Enum) SMC_BACKLASH_STARTSTATE (Enum) SMC_HOMING_MODE (Enum) SMC_TA (Struct) SMC_TP (Struct) SMC_TV (Struct) DriveInterface AXIS_REF AXIS_REF_SM3 (FunctionBlock) CAA-Device-Diagnosis CheckCurrentSupportedCommunicationState (Method) CheckSupportedCommunicationState (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) INode ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property) IsDeviceDiagInitialized (Property) SetCommunicationState (Method) GetActValuesForCycle (Method) GetSetValuesForCycle (Method) Help-functions SMC3_DetectDriveError (Action) SkipNextInputUpdate (Method) SkipNextOutputUpdate (Method) WriteSetValues (Method) IAxisRef (Interface) GetAxisRefPointer (Method) SMC3_ReinitDrive (FunctionBlock) SMC_AxisChangeSettings (FunctionBlock) SMC_AxisReadSettings (FunctionBlock) SMC_CycleCounter SMC_CycleCounter (Alias) SMC_CycleCounter_Dec (Function) SMC_CycleCounter_Dist (Function) SMC_CycleCounter_Inc (Function) SMC_CycleCounter_Less (Function) AXIS_REF_LOGICAL AXIS_REF_LOGICAL_SM3 (FunctionBlock) AXIS_REF_MAPPING AXIS_REF_MAPPING_SM3 (FunctionBlock) AXIS_REF_VIRTUAL AXIS_REF_VIRTUAL_SM3 (FunctionBlock) ENCODER_REF ENCODER_REF_SM3 (FunctionBlock) FREE_ENCODER_REF FREE_ENCODER_REF (FunctionBlock) Globals LibParams (ParamList) SMC_Basic_Ranges (GVL) SMC_DriveBasic_GlobalVariables (GVL) SM_PLCOpen_GlobalVariables (GVL) POUs Additional MC_AbortTrigger (FunctionBlock) MC_DigitalCamSwitch (FunctionBlock) CheckHysteresis (Action) InitSwitch (Action) MC_TouchProbe (FunctionBlock) SMC_Logical_Axis (FunctionBlock) SMC_StartupDrive (FunctionBlock) SMC_VIRTUAL_AXIS (FunctionBlock) Administrative/Configuration MC_Power (FunctionBlock) MC_Reset (FunctionBlock) MC_SetPosition (FunctionBlock) SMC3_BrakeControl (FunctionBlock) SMC3_PersistPosition (FunctionBlock) SMC3_PersistPositionLogical (FunctionBlock) SMC3_PersistPositionSingleturn (FunctionBlock) SMC_ChangeDynamicLimits (FunctionBlock) SMC_ChangeGearingRatio (FunctionBlock) SMC_GetForecast (FunctionBlock) SMC_GetTravelTime (FunctionBlock) SMC_SetAdditionalConversionFactors (FunctionBlock) SMC_SetControllerMode (FunctionBlock) SMC_SetCustomRampType (FunctionBlock) SMC_SetForecast (FunctionBlock) SMC_SetMovementType (FunctionBlock) SMC_SetRampType (FunctionBlock) SMC_SetSoftwareLimits (FunctionBlock) CAM MC_CamTableSelect (FunctionBlock) SMC_CAMBounds (FunctionBlock) SMC_CAMBounds_Pos (FunctionBlock) SMC_CamEditor (FunctionBlock) DoBeforeLeave (Action) SMC_CamRegister (FunctionBlock) SMC_GetCamSlaveSetPosition (FunctionBlock) SMC_GetTappetValue (FunctionBlock) SMC_ReadCAM (FunctionBlock) CloseFile (Action) SMC_WriteCAM (FunctionBlock) CloseFile (Action) Diagnostics FBError SMC_ClearFBError (Function) SMC_ReadFBError (FunctionBlock) MC_ReadActualPosition (FunctionBlock) MC_ReadActualTorque (FunctionBlock) MC_ReadActualVelocity (FunctionBlock) MC_ReadAxisError (FunctionBlock) MC_ReadStatus (FunctionBlock) Performance SMC_PerfStat (FunctionBlock) SMC_PerfTimerSum (Function) SMC_SeriesStat (FunctionBlock) SMC3_BrakeStatus (FunctionBlock) SMC_AxisDiagnosticLog (FunctionBlock) WriteToFile (Action) SMC_CheckAxisCommunication (FunctionBlock) SMC_CheckLimits (FunctionBlock) SMC_GetMaxSetAccDec (FunctionBlock) SMC_GetMaxSetVelocity (FunctionBlock) SMC_GetTrackingError (FunctionBlock) SMC_InPosition (FunctionBlock) SMC_MeasureDistance (FunctionBlock) SMC_ReadSetPosition (FunctionBlock) SMC_ReadSetValues (FunctionBlock) Movement Direct SMC_FollowPosition (FunctionBlock) SMC_FollowPositionVelocity (FunctionBlock) SMC_FollowSetValues (FunctionBlock) SMC_FollowVelocity (FunctionBlock) SMC_SetTorque (FunctionBlock) SMC_TrackAxis (FunctionBlock) SMC_TrackSetValues (FunctionBlock) MC_AccelerationProfile (FunctionBlock) MC_Halt (FunctionBlock) MC_HaltSuperImposed (FunctionBlock) MC_Home (FunctionBlock) MC_Jog (FunctionBlock) MC_MoveAbsolute (FunctionBlock) MC_MoveAdditive (FunctionBlock) MC_MoveRelative (FunctionBlock) MC_MoveSuperImposed (FunctionBlock) MC_MoveVelocity (FunctionBlock) MC_PositionProfile (FunctionBlock) MC_SetOverride (FunctionBlock) MC_Stop (FunctionBlock) MC_VelocityProfile (FunctionBlock) Master/Slave MC_CamIn (FunctionBlock) MC_CamOut (FunctionBlock) MC_GearIn (FunctionBlock) MC_GearInPos (FunctionBlock) MC_GearOut (FunctionBlock) MC_Phasing (FunctionBlock) SMC_BacklashCompensation (FunctionBlock) SMC_GetOverride (FunctionBlock) SMC_Homing (FunctionBlock) SMC_Inch (FunctionBlock) SMC_MoveContinuousAbsolute (FunctionBlock) SMC_MoveContinuousRelative (FunctionBlock) Parameter access MC_ReadBoolParameter (FunctionBlock) MC_ReadParameter (FunctionBlock) MC_WriteBoolParameter (FunctionBlock) MC_WriteParameter (FunctionBlock) SMC_ParameterNumber_CoE (Function) SMC_ParameterNumber_SoE (Function) internal Buffered movement SMC_CamIn_EvalCam_EvalContext (Struct) SMC_CamIn_EvalContext (Struct) SMC_CamIn_ModuloHandling_EvalContext (Struct) SMC_CamIn_RampIn_DistanceBased_EvalContext (Struct) SMC_CamIn_RampIn_EvalContext (Union) SMC_CamIn_RampIn_LimitBased_EvalContext (Struct) SMC_CamOutPerformerImpl (FunctionBlock) Activate (Method) CanBlend (Method) GetStartInfoForBlendingInto (Method) GetStartVelocity (Method) Init (Method) OnOverrideChanged (Method) OwnerNumber (Property) PrepareTransition (Method) StartBuffering (Method) SMC_CamOut_EvalContext (Struct) SMC_GearInPos_EvalContext (Struct) SMC_GearIn_EvalContext (Struct) SMC_GearIn_RampInQuad_EvalContext (Struct) SMC_GearIn_RampInTrap_EvalContext (Struct) SMC_GearIn_RampIn_EvalContext (Union) SMC_Gearing_EvalContext (Struct) SMC_MoveContinuousPerformerImpl (FunctionBlock) Activate (Method) CanBlend (Method) GetStartInfoForBlendingInto (Method) GetStartVelocity (Method) OnOverrideChanged (Method) OwnerNumber (Property) PrepareTransition (Method) StartBuffering (Method) SMC_RampIn_DistanceBased_EvalContext (Struct) Divers SMC_AxisHasJerkLimit (Function) Trajectories SMC_AxisOverrideInterruptActive (Function) SMC_BrakingDistance (Function) SMC_CalculateProfile_VA (Function) SMC_DynLimits_Set (Function) Trajectory buffer SMC_AxisTrajectoryBuffer_ResetCounter (Struct) SMC_AxisTrajectoryBuffer_ResetCounter_Eq (Function) SMC_TrajectorySample_State (Union) Visualization 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) Original ImagePool_sm3 (ImagePool)
DataTypes ¶ Additional MC_CAMSWITCH_REF (Struct) MC_CAMSWITCH_TR (Struct) MC_OUTPUT_REF (Alias) MC_TAPPETMODE (Enum) MC_TRACK_REF (Alias) MC_TRACK_TR (Struct) TRIGGER_REF (Struct) Administrative/Configuration SMC3_BrakeSetState (Enum) SMC3_PersistPositionDiag (Enum) SMC3_PersistPositionLogical_Data (Struct) SMC3_PersistPositionSingleturn_Data (Struct) SMC3_PersistPosition_Data (Struct) CAM CamSegment SMC_CAM_SEGMENT (Struct) MC_CAM_ID (Struct) MC_CAM_REF (FunctionBlock) MC_STARTMODE (Enum) SMC_CAMTAPPETACTION (Enum) SMC_CAMTAPPETTYPE (Enum) SMC_CAMTable_LREAL_128_1 (Struct) SMC_CAMTable_LREAL_128_2 (Struct) SMC_CAMTable_LREAL_256_1 (Struct) SMC_CAMTable_LREAL_256_2 (Struct) SMC_CAMTable_REAL_128_1 (Struct) SMC_CAMTable_REAL_128_2 (Struct) SMC_CAMTable_REAL_256_1 (Struct) SMC_CAMTable_REAL_256_2 (Struct) SMC_CAMTable_UDINT_128_1 (Struct) SMC_CAMTable_UDINT_128_2 (Struct) SMC_CAMTable_UDINT_256_1 (Struct) SMC_CAMTable_UDINT_256_2 (Struct) SMC_CAMTable_UINT_128_1 (Struct) SMC_CAMTable_UINT_128_2 (Struct) SMC_CAMTable_UINT_256_1 (Struct) SMC_CAMTable_UINT_256_2 (Struct) SMC_CAMTappet (Struct) SMC_CAMXYVA (Struct) SMC_CAM_TYPE (Enum) Diagnostics SMC_CommunicationState (Enum) SMC_LOGGERMODE (Enum) SMC_PerfTimers (Struct) SMC_SeriesSample (Struct) SMC_SeriesStats (Struct) DriveInterface MC_DIRECTION (Enum) SMC3_CaptureDescription (Struct) SMC3_CheckPositionLagMode (Enum) SMC3_DriveAcyclicTel (Struct) SMC3_MappingEntry (Alias) SMC3_ParamCommunicationMethod_Enum (Enum) SMC_AXIS_STATE (Enum) SMC_AXIS_TYPE (Enum) SMC_CONTROLLER_MODE (Enum) SMC_ENCODER_REF (Struct) SMC_FBERROR (Struct) SMC_MOVEMENTTYPE (Enum) SMC_RAMPTYPE (Enum) SMC_SWITCHING_STATE (Enum) SMC_ValueSelect (Enum) Movement MC_TA_REF (Struct) MC_TP_REF (Struct) MC_TV_REF (Struct) SMC_BACKLASH_MODE (Enum) SMC_BACKLASH_STARTSTATE (Enum) SMC_HOMING_MODE (Enum) SMC_TA (Struct) SMC_TP (Struct) SMC_TV (Struct)
Additional ¶ MC_CAMSWITCH_REF (Struct) MC_CAMSWITCH_TR (Struct) MC_OUTPUT_REF (Alias) MC_TAPPETMODE (Enum) MC_TRACK_REF (Alias) MC_TRACK_TR (Struct) TRIGGER_REF (Struct)