SMC_PerfTimers (STRUCT) ¶ TYPE SMC_PerfTimers : STRUCT Performance timers of an axis; only filled if compiler define SoftMotionPerformance is set. InOut: Name Type Comment udiBI_ns UDINT Time of callback BeforeReadInputs in [ns] udiAI_ns UDINT Time of callback AfterReadInputs in [ns] udiBO_ns UDINT Time of callback BeforeWriteOutputs in [ns] udiAO_ns UDINT Time of callback AfterWriteOutputs in [ns]
SMC_SeriesSample (STRUCT) ¶ TYPE SMC_SeriesSample : STRUCT InOut: Name Type udiNumber UDINT fValue LREAL
SMC_SeriesStats (STRUCT) ¶ TYPE SMC_SeriesStats : STRUCT Basic statistics of a series of values. InOut: Name Type Comment udiN UDINT Number of values in the series fMin LREAL Minimum value fMax LREAL Maximum value fAvg LREAL Average value fSDev LREAL Standard deviation aLargest ARRAY [0..(SMC_ConstPerf.NUM_SAMPLES - 1)] OF SMC_SeriesSample The largest samples, sorted by value in descending order. The number of elements stored is MIN(udiN, ConstPerf.NUM_SAMPLES) . aSmallest ARRAY [0..(SMC_ConstPerf.NUM_SAMPLES - 1)] OF SMC_SeriesSample The smallest samples sorted by value in ascending order. The number of elements stored is MIN(udiN, ConstPerf.NUM_SAMPLES) .
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)
MC_DIRECTION (ENUM) ¶ TYPE MC_DIRECTION : Specifies the direction of a movement. Please note that not all modes can be applied to all function blocks and axis types (modulo/finite). InOut: Name Initial Comment fastest 3 Selects the direction automatically in order to reach the target position as fast as possible (only modulo axes). current 2 Keeps the current direction to reach the target (only modulo axes). positive 1 Moves in positive direction. shortest 0 Selects the direction according to the shortest distance (only modulo axes). negative -1 Moves in negative direction.
SMC3_CaptureDescription (STRUCT) ¶ TYPE SMC3_CaptureDescription : STRUCT InOut: Name Type Initial Comment fCaptPosition LREAL 0 14x0 bCaptureOccured BOOL FALSE 14x1 bStartCapturing BOOL FALSE 14x2 bAbortTrigger BOOL FALSE 14x3 fFirstCapturePosition LREAL 0 14x4 fLastCapturePosition LREAL 0 14x5 bCaptureWindowActive BOOL FALSE 14x7 bLatchInController BOOL FALSE The mode bLatchInController got deprecated and is not supported anymore.
SMC3_CheckPositionLagMode (ENUM) ¶ TYPE SMC3_CheckPositionLagMode : InOut: Name Comment SMC3_PCL_OFF No check SMC3_PCL_DISABLE Disables ( bRegulatorOn ⇒ FALSE ) after position lag error has occured. SMC3_PCL_HALT Halts ( bDriveStart ⇒ FALSE ) after position lag error has occured. SMC3_PCL_ENABLE Generates error but stay enabled/started.
SMC3_DriveAcyclicTel (STRUCT) ¶ TYPE SMC3_DriveAcyclicTel : STRUCT InOut: Name Type Initial dwParam DWORD 0 dwValue DWORD 0 dwAddParam DWORD 0 pCommandingFB POINTER TO SMC3_CommunicateDriveParameter 0 usiState USINT 0 usiForgotten USINT 0 usiDataLength USINT 0 bReadCommand BOOL TRUE
SMC_FBERROR (STRUCT) ¶ TYPE SMC_FBERROR : STRUCT InOut: Name Type wID SMC_ERROR pbyErrorInstance POINTER TO BYTE strErrorInstance STRING tTimeStamp TIME
SMC_MOVEMENTTYPE (ENUM) ¶ TYPE SMC_MOVEMENTTYPE : Deprecated. Use SMC_AXIS_TYPE instead. InOut: Name Initial rotary 0 linear 1