INOS
|
Provides axis functionality. More...
#include <cinosbaseaxis.h>
Public Types | |
enum | { eFlgParamSetNone = 0x00000000, eFlgParamSetSearchGlobal = 0x00000001, eFlgParamSetIgnoreOverwrite = 0x00000002 } |
enum | EActualType { eActInput, eActActual, eActOutput } |
Public Member Functions | |
CINOSBaseAxis (SINOSBaseAxis *apDesc) | |
Create an axis based on a descriptor (usually not used because this is done by the configuration system). More... | |
CINOSBaseAxis (SINOSBaseAxis *apDesc, CINOSBaseRamp *apRamp) | |
Create an axis based on a descriptor (usually not used because this is done by the configuration system). More... | |
virtual | ~CINOSBaseAxis () |
Destroy the axis (usually not used) | |
virtual uint32 | WaitTicks (uint32 auTicks=1) |
Wait for the given axis control cycle ticks. This method can be useful if it is necessary to synchronize an application task somehow to the axis control cycle, e.g. auTicks = 1 means, the task returns after at least one axis control cycle occured. More... | |
virtual uint32 | Connect () |
Connect axis to hardware. More... | |
virtual uint32 | Enable (CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Enables a previously disabled axis. Only enabled axis can be activated. More... | |
virtual uint32 | Disable (CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Disables an enabled axis. Only inactivated axis can be disabled. Use 'Enable' to reenable the axis. More... | |
void | InitializeLimitChecker () |
Initializes the limit checker if requested. | |
virtual uint32 | Activate (bool abCheckPos=true, bool abSimulatePos=false, bool abSimulateOut=false, bool abSimulateAct=false, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Activate axis in a given mode, e.g Activate(true,true,true,true) enables the axis in a full simulated manner. More... | |
virtual uint32 | InActivate (CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Inactivate axis. More... | |
virtual uint32 | Relax (uint32 auTimeMs, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Relax a coupled slave axis for a given time. More... | |
virtual uint32 | Sync (real64 arPosition, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Search reference mark till arPosition and set actual position to 0.0 at mark. More... | |
virtual uint32 | Sync (real64 arPosition, SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Search reference mark till arPosition and set actual position to 0.0 at mark. More... | |
virtual uint32 | Sync (real64 arPosition, const char *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Search reference mark till arPosition and set actual position to 0.0 at mark. More... | |
virtual uint32 | Sync (real64 arPosition, real64 arSyncPos, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Search reference mark till arPosition and set actual position to arSyncPos at mark. More... | |
virtual uint32 | Sync (real64 arPosition, real64 arSyncPos, SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Search reference mark till arPosition and set actual position to arSyncPos at mark. More... | |
virtual uint32 | Sync (real64 arPosition, real64 arSyncPos, const char *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Search reference mark till arPosition and set actual position to arSyncPos at mark. More... | |
virtual uint32 | Sync (real64 arSyncPos, const char *apParam, CINCOObject *apObject, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Search reference mark and set actual position to arSyncPos at mark. More... | |
virtual uint32 | Move (real64 arPosition, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition with actual commanded jerk, acc/deceleration and velocity. More... | |
virtual uint32 | Move (real64 arPosition, SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition with speed set apParam. More... | |
virtual uint32 | Move (real64 arPosition, const char *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition with speed set apParam. More... | |
virtual uint32 | MoveTime (real64 arPosition, real64 arTime, bool abUseP5=true, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition within the given time arTime. Actual commanded jerk, acc/deceleration and velocity are treated as max. values. If the required values would exceed the commanded ones an error is returned and the move is not started. More... | |
virtual uint32 | MoveTime (real64 arPosition, real64 arTime, bool abUseP5, SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition within the given time arTime and the speedset apParam. The speed set values are treated as max. values. If the required values would exceed the speedset ones an error is returned and the move is not started. More... | |
virtual uint32 | MoveTime (real64 arPosition, real64 arTime, bool abUseP5, const char *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition within the given time arTime and the speedset apParam. The speed set values are treated as max. values. If the required values would exceed the speedset ones an error is returned and the move is not started. More... | |
virtual uint32 | Move (real64 arPosition, real64 arSafe1, real64 arSafe2, SINOSRampParam *apParam1, SINOSRampParam *apParam2, real64 arPartner, SINOSRampParam *apPartner, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition with speed set apParam. The move is done in a so called safe way (backward -> partner -> forward). The partner axis has to be defined with the method SetPartner. More... | |
virtual uint32 | Move (real64 arPosition, real64 arSave1, real64 arSave2, const char *apParam1, const char *apParam2, real64 arPartner, const char *apPartner, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition with speed set apParam. The move is done in a so called safe way (backward -> partner -> forward). The partner axis has to be defined with the method SetPartner. More... | |
virtual uint32 | MoveApp (real64 arPosition, real64 arPositionVel, real64 arVelocity, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition with actual commanded jerk, acc/deceleration and velocity. Ensure after arPositionVel a velocity that is smaller than or equal to arVelocity. More... | |
virtual uint32 | MoveApp (real64 arPosition, real64 arPositionVel, real64 arVelocity, SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition with speed set apParam. Ensure after arPositionVel a velocity that is smaller than or equal to arVelocity. More... | |
virtual uint32 | MoveApp (real64 arPosition, real64 arPositionVel, real64 arVelocity, const char *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition with speed set apParam. Ensure after arPositionVel a velocity that is smaller than or equal to arVelocity. More... | |
virtual uint32 | MoveDep (real64 arPosition, real64 arPositionVel, real64 arVelocity, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition with actual commanded jerk, acc/deceleration and velocity. Ensure befor arPositionVel a velocity that is smaller than or equal to arVelocity. More... | |
virtual uint32 | MoveDep (real64 arPosition, real64 arPositionVel, real64 arVelocity, SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition with speed set apParam. Ensure befor arPositionVel a velocity that is smaller than or equal to arVelocity. More... | |
virtual uint32 | MoveDep (real64 arPosition, real64 arPositionVel, real64 arVelocity, const char *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Move to arPosition with speed set apParam. Ensure before arPositionVel a velocity that is smaller than or equal to arVelocity. More... | |
virtual uint32 | Toggle (real64 arPosition1, real64 arPosition2) |
Start an endless toggle between arPosition1 and arPosition2 with actual commanded a jerk, acc/deceleration and velocity. More... | |
virtual uint32 | ToggleSection (real64 arPos1Min, real64 arPos1Max, real64 arPos2Min, real64 arPos2Max, uint32 auDelayMin, uint32 auDelayMax) |
Start an endless section toggle between arPosition1 and arPosition2 with actual commanded a jerk, acc/deceleration and velocity. More... | |
virtual uint32 | Track (const char *apVarName, real64 arFactor, uint32 auFilterLength, uint32 auDirection=0) |
Track the variable with name apVarName. More... | |
virtual uint32 | Track (const char *apVarName, real64 arFactor, uint32 auFilterLength, uint32 auDirection, const char *apParam) |
Track the variable with name apVarName. More... | |
virtual uint32 | Track (const char *apVarName, real64 arCmdValue, real64 arFactor, uint32 auFilterLength) |
Track the variable with name apVarName to the commanded value arCmdValue. More... | |
virtual uint32 | SetTrackFactor (real64 arFactor) |
Allows to live change the tracking factor of an active 'Track'. More... | |
virtual uint32 | Endless (bool abPositive=true) |
Start and endless move in the requested direction with actual commanded acc/dec and velocity. More... | |
virtual uint32 | Endless (bool abPositive, SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_ASYNCHRONOUS) |
Start and endless move in the requested direction with speed set apParam. More... | |
virtual uint32 | Endless (bool abPositive, const char *apParam, CINOSSync *apSync=DF_INOS_ASYNCHRONOUS) |
Start and endless move in the requested direction with speed set apParam. More... | |
virtual uint32 | Cursor (bool abPositive=true) |
Moves one 'inc' in the requested direction, waits 500ms and starts an endless move to the defined software limit. This move is usually stopped with the Stop command. More... | |
virtual uint32 | Cursor (real64 arPosition) |
Moves one 'inc' in 'arPosition' direction, waits 500ms and then moves to arPosition. This move is usually stopped with the Stop command. More... | |
virtual uint32 | Cursor (bool abPositive, uint32 auWaitTime) |
Moves one 'inc' in the requested direction, waits auWaitTime ms and starts an endless move to the defined software limit. This move is usually stopped with the Stop command. More... | |
virtual uint32 | Cursor (real64 arPosition, uint32 auWaitTime) |
Moves one 'inc' in 'arPosition' direction, waits auWaitTime ms and then moves to arPosition. This move is usually stopped with the Stop command. More... | |
virtual uint32 | Cursor (bool abPositive, uint32 auWaitTime, real64 arStep) |
Moves one arStep in the requested direction, waits auWaitTime ms and starts an endless move to the defined software limit. This move is usually stopped with the Stop command. More... | |
virtual uint32 | Cursor (real64 arPosition, uint32 auWaitTime, real64 arStep) |
Moves one step in 'arPosition' direction, waits auWaitTime ms and then moves to arPosition. This move is usually stopped with the Stop command. More... | |
virtual uint32 | Cursor (bool abPositive, uint32 auWaitTime, real64 arStep, SINOSRampParam *apParam) |
Moves one arStep in the requested direction, waits auWaitTime ms and starts an endless move to the defined software limit. This move is usually stopped with the Stop command. More... | |
virtual uint32 | Cursor (real64 arPosition, uint32 auWaitTime, real64 arStep, SINOSRampParam *apParam) |
Moves one step in 'arPosition' direction, waits auWaitTime ms and then moves to arPosition. This move is usually stopped with the Stop command. More... | |
virtual uint32 | Cursor (bool abPositive, uint32 auWaitTime, real64 arStep, const char *apParam) |
Moves one arStep in the requested direction, waits auWaitTime ms and starts an endless move to the defined software limit. This move is usually stopped with the Stop command. More... | |
virtual uint32 | Cursor (real64 arbPosition, uint32 auWaitTime, real64 arStep, const char *apParam) |
Moves one step in 'arPosition' direction, waits auWaitTime ms and then moves to arPosition. This move is usually stopped with the Stop command. More... | |
virtual uint32 | Update (CINOSSync *apSync=DF_INOS_ASYNCHRONOUS) |
Update a running Move to actual commanded values (acc,dec,vel,jerk) Signal apSync if constant velocity reached (acc = 0). More... | |
virtual uint32 | Update (SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_ASYNCHRONOUS) |
Update a running Move to speed set apParam. Signal apSync if constant velocity reached (acc = 0). More... | |
virtual uint32 | Update (const char *apParam, CINOSSync *apSync=DF_INOS_ASYNCHRONOUS) |
Update a running Move to speed set apParam. Signal apSync if constant velocity reached (acc = 0). More... | |
virtual SINOSTimeCharacteristics | GetTimeCharacteristics (real64 arPosition) |
Calculate time characteristics of a move. More... | |
virtual SINOSTimeCharacteristics | GetTimeCharacteristics (real64 arPosition, SINOSRampParam *apParam) |
Calculate time characteristics of a move. More... | |
virtual SINOSTimeCharacteristics | GetTimeCharacteristics (real64 arPosition, const char *apParam) |
Calculate time characteristics of a move. More... | |
virtual SINOSTimeCharacteristics | GetTimeCharacteristics (real64 arPosition, real64 arDelta) |
Calculate time characteristics of a move. More... | |
virtual SINOSTimeCharacteristics | GetTimeCharacteristics (real64 arPosition, real64 arDelta, SINOSRampParam *apParam) |
Calculate time characteristics of a move. More... | |
virtual SINOSTimeCharacteristics | GetTimeCharacteristics (real64 arPosition, real64 arDelta, const char *apParam) |
Calculate time characteristics of a move. More... | |
virtual SINOSTimeCharacteristics | GetTimeCharacteristics (real64 arStartPosition, real64 arEndPosition, real64 arDelta) |
Calculate time characteristics of a move. More... | |
virtual SINOSTimeCharacteristics | GetTimeCharacteristics (real64 arStartPosition, real64 arEndPosition, real64 arDelta, SINOSRampParam *apParam) |
Calculate time characteristics of a move. More... | |
virtual SINOSTimeCharacteristics | GetTimeCharacteristics (real64 arStartPosition, real64 arEndPosition, real64 arDelta, const char *apParam) |
Calculate time characteristics of a move. More... | |
virtual real64 | GetMoveTime (real64 arPosition) |
Calc time [sec] a Move(adPosition) needs until arPosition. More... | |
virtual real64 | GetAccelerationTime (real64 arPosition) |
Calc time [sec] a Move(adPosition) needs for the acceleration part. More... | |
virtual real64 | GetConstTime (real64 arPosition) |
Calc time [sec] a Move(adPosition) needs for the constant part. More... | |
virtual real64 | GetDecelerationTime (real64 arPosition) |
Calc time [sec] a Move(adPosition) needs for the deceleration part. More... | |
virtual real64 | GetMoveTime (real64 arPosition, SINOSRampParam *apParam) |
Calc time [sec] a Move(adPosition) needs until arPosition. More... | |
virtual real64 | GetAccelerationTime (real64 arPosition, SINOSRampParam *apParam) |
Calc time [sec] a Move(adPosition) needs for the acceleration part. More... | |
virtual real64 | GetConstTime (real64 arPosition, SINOSRampParam *apParam) |
Calc time [sec] a Move(adPosition) needs for the constant part. More... | |
virtual real64 | GetDecelerationTime (real64 arPosition, SINOSRampParam *apParam) |
Calc time [sec] a Move(adPosition) needs for the deceleration part. More... | |
virtual real64 | GetMoveTime (real64 arPosition, const char *apParam) |
Calc time [sec] a Move(adPosition) needs until arPosition. More... | |
virtual real64 | GetAccelerationTime (real64 arPosition, const char *apParam) |
Calc time [sec] a Move(adPosition) needs for the acceleration part. More... | |
virtual real64 | GetConstTime (real64 arPosition, const char *apParam) |
Calc time [sec] a Move(adPosition) needs for the constant part. More... | |
virtual real64 | GetDecelerationTime (real64 arPosition, const char *apParam) |
Calc time [sec] a Move(adPosition) needs for the deceleration part. More... | |
virtual real64 | GetMoveTime (real64 arPosition, real64 arDelta) |
Calc time [sec] a Move(adPosition) needs until arPosition-arDelta. More... | |
virtual real64 | GetAccelerationTime (real64 arPosition, real64 arDelta) |
Calc time [sec] a Move(adPosition) needs for the acceleration part. More... | |
virtual real64 | GetConstTime (real64 arPosition, real64 arDelta) |
Calc time [sec] a Move(adPosition) needs for the constant part. More... | |
virtual real64 | GetDecelerationTime (real64 arPosition, real64 arDelta) |
Calc time [sec] a Move(adPosition) needs for the deceleration part. More... | |
virtual real64 | GetMoveTime (real64 arPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] a Move(adPosition) needs until arPosition-arDelta. More... | |
virtual real64 | GetAccelerationTime (real64 arPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] a Move(adPosition) needs for the acceleration part. More... | |
virtual real64 | GetConstTime (real64 arPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] a Move(adPosition) needs for the constant part. More... | |
virtual real64 | GetDecelerationTime (real64 arPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] a Move(adPosition) needs for the deceleration part. More... | |
virtual real64 | GetMoveTime (real64 arPosition, real64 arDelta, const char *apParam) |
Calc time [sec] a Move(adPosition) needs until arPosition-arDelta. More... | |
virtual real64 | GetAccelerationTime (real64 arPosition, real64 arDelta, const char *apParam) |
Calc time [sec] a Move(adPosition) needs for the acceleration part. More... | |
virtual real64 | GetConstTime (real64 arPosition, real64 arDelta, const char *apParam) |
Calc time [sec] a Move(adPosition) needs for the constant part. More... | |
virtual real64 | GetDecelerationTime (real64 arPosition, real64 arDelta, const char *apParam) |
Calc time [sec] a Move(adPosition) needs for the deceleration part. More... | |
virtual real64 | GetMoveTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta) |
Calc time [sec] a Move needs from arStartPosition until arEndPosition-arDelta. More... | |
virtual real64 | GetAccelerationTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta) |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the acceleration part. More... | |
virtual real64 | GetConstTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta) |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the const part. More... | |
virtual real64 | GetDecelerationTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta) |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the deceleration part. More... | |
virtual real64 | GetMoveTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] a Move needs from arStartPosition until arEndPosition-arDelta. More... | |
virtual real64 | GetAccelerationTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the acceleration part. More... | |
virtual real64 | GetConstTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the const part. More... | |
virtual real64 | GetDecelerationTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the deceleration part. More... | |
virtual real64 | GetMoveTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta, const char *apParam) |
Calc time [sec] a Move needs from arStartPosition until arEndPosition-arDelta. More... | |
virtual real64 | GetAccelerationTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta, const char *apParam) |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the acceleration part. More... | |
virtual real64 | GetConstTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta, const char *apParam) |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the const part. More... | |
virtual real64 | GetDecelerationTime (real64 arStartPosition, real64 arEndPosition, real64 arDelta, const char *apParam) |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the deceleration part. More... | |
virtual real64 | GetMoveAppTime (real64 arPosition, real64 arPositionVel, real64 arVelocity) |
Calc time [sec] an according MoveApp needs. More... | |
virtual real64 | GetMoveAppTime (real64 arPosition, real64 arPositionVel, real64 arVelocity, SINOSRampParam *apParam) |
Calc time [sec] an according MoveApp needs. More... | |
virtual real64 | GetMoveAppTime (real64 arPosition, real64 arPositionVel, real64 arVelocity, const char *apParam) |
Calc time [sec] an according MoveApp needs. More... | |
virtual real64 | GetMoveAppTime (real64 arPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta) |
Calc time [sec] an according MoveApp needs until arPosition-arDelta. More... | |
virtual real64 | GetMoveAppTime (real64 arPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] an according MoveApp needs until arPosition-arDelta. More... | |
virtual real64 | GetMoveAppTime (real64 arPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta, const char *apParam) |
Calc time [sec] an according MoveApp needs until arPosition-arDelta. More... | |
virtual real64 | GetMoveAppTime (real64 arStartPosition, real64 arEndPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta) |
Calc time [sec] an according MoveApp needs until arEndPosition-arDelta. More... | |
virtual real64 | GetMoveAppTime (real64 arStartPosition, real64 arEndPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] an according MoveApp needs until arEndPosition-arDelta. More... | |
virtual real64 | GetMoveAppTime (real64 arStartPosition, real64 arEndPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta, const char *apParam) |
Calc time [sec] an according MoveApp needs until arEndPosition-arDelta. More... | |
virtual real64 | GetMoveDepTime (real64 arPosition, real64 arPositionVel, real64 arVelocity) |
Calc time [sec] an according MoveDep needs. More... | |
virtual real64 | GetMoveDepTime (real64 arPosition, real64 arPositionVel, real64 arVelocity, SINOSRampParam *apParam) |
Calc time [sec] an according MoveDep needs. More... | |
virtual real64 | GetMoveDepTime (real64 arPosition, real64 arPositionVel, real64 arVelocity, const char *apParam) |
Calc time [sec] an according MoveDep needs. More... | |
virtual real64 | GetMoveDepTime (real64 arPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta) |
Calc time [sec] an according MoveDep needs until arPosition-arDelta. More... | |
virtual real64 | GetMoveDepTime (real64 arPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] an according MoveDep needs until arPosition-arDelta. More... | |
virtual real64 | GetMoveDepTime (real64 arPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta, const char *apParam) |
Calc time [sec] an according MoveDep needs until arPosition-arDelta. More... | |
virtual real64 | GetMoveDepTime (real64 arStartPosition, real64 arEndPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta) |
Calc time [sec] an according MoveDep needs until arEndPosition-arDelta. More... | |
virtual real64 | GetMoveDepTime (real64 arStartPosition, real64 arEndPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta, SINOSRampParam *apParam) |
Calc time [sec] an according MoveDep needs until arEndPosition-arDelta. More... | |
virtual real64 | GetMoveDepTime (real64 arStartPosition, real64 arEndPosition, real64 arPositionVel, real64 arVelocity, real64 arDelta, const char *apParam) |
Calc time [sec] an according MoveDep needs until arEndPosition-arDelta. More... | |
virtual int32 | GetMoveTicks (real64 arPosition) |
Calc bus ticks a Move(adPosition) needs until arPosition. More... | |
virtual int32 | GetAccelerationTicks (real64 arPosition) |
Calc bus ticks a Move(adPosition) needs for the acceleration part. More... | |
virtual int32 | GetConstTicks (real64 arPosition) |
Calc bus ticks a Move(adPosition) needs for the constant part. More... | |
virtual int32 | GetDecelerationTicks (real64 arPosition) |
Calc bus ticks a Move(adPosition) needs for the deceleration part. More... | |
virtual int32 | GetMoveTicks (real64 arPosition, SINOSRampParam *apParam) |
Calc bus ticks a Move(adPosition) needs until arPosition. More... | |
virtual int32 | GetAccelerationTicks (real64 arPosition, SINOSRampParam *apParam) |
Calc bus ticks a Move(adPosition) needs for the acceleration part. More... | |
virtual int32 | GetConstTicks (real64 arPosition, SINOSRampParam *apParam) |
Calc bus ticks a Move(adPosition) needs for the constant part. More... | |
virtual int32 | GetDecelerationTicks (real64 arPosition, SINOSRampParam *apParam) |
Calc bus ticks a Move(adPosition) needs for the deceleration part. More... | |
virtual int32 | GetMoveTicks (real64 arPosition, const char *apParam) |
Calc bus ticks a Move(adPosition) needs until arPosition. More... | |
virtual int32 | GetAccelerationTicks (real64 arPosition, const char *apParam) |
Calc bus ticks a Move(adPosition) needs for the acceleration part. More... | |
virtual int32 | GetConstTicks (real64 arPosition, const char *apParam) |
Calc bus ticks a Move(adPosition) needs for the constant part. More... | |
virtual int32 | GetDecelerationTicks (real64 arPosition, const char *apParam) |
Calc bus ticks a Move(adPosition) needs for the deceleration part. More... | |
virtual int32 | GetMoveTicks (real64 arPosition, real64 arDelta) |
Calc bus ticks a Move(adPosition) needs until arPosition-arDelta. More... | |
virtual int32 | GetAccelerationTicks (real64 arPosition, real64 arDelta) |
Calc bus ticks a Move(adPosition) needs for the acceleration part. More... | |
virtual int32 | GetConstTicks (real64 arPosition, real64 arDelta) |
Calc bus ticks a Move(adPosition) needs for the constant part. More... | |
virtual int32 | GetDecelerationTicks (real64 arPosition, real64 arDelta) |
Calc bus ticks a Move(adPosition) needs for the deceleration part. More... | |
virtual int32 | GetMoveTicks (real64 arPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc bus ticks a Move(adPosition) needs until arPosition-arDelta. More... | |
virtual int32 | GetAccelerationTicks (real64 arPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc bus ticks a Move(adPosition) needs for the acceleration part. More... | |
virtual int32 | GetConstTicks (real64 arPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc bus ticks a Move(adPosition) needs for the constant part. More... | |
virtual int32 | GetDecelerationTicks (real64 arPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc bus ticks a Move(adPosition) needs for the deceleration part. More... | |
virtual int32 | GetMoveTicks (real64 arPosition, real64 arDelta, const char *apParam) |
Calc bus ticks a Move(adPosition) needs until arPosition-arDelta. More... | |
virtual int32 | GetAccelerationTicks (real64 arPosition, real64 arDelta, const char *apParam) |
Calc bus ticks a Move(adPosition) needs for the acceleration part. More... | |
virtual int32 | GetConstTicks (real64 arPosition, real64 arDelta, const char *apParam) |
Calc bus ticks a Move(adPosition) needs for the constant part. More... | |
virtual int32 | GetDecelerationTicks (real64 arPosition, real64 arDelta, const char *apParam) |
Calc bus ticks a Move(adPosition) needs for the deceleration part. More... | |
virtual int32 | GetMoveTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta) |
Calc bus ticks a Move needs from arStartPosition until arEndPosition-arDelta. More... | |
virtual int32 | GetAccelerationTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta) |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the acceleration part. More... | |
virtual int32 | GetConstTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta) |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the const part. More... | |
virtual int32 | GetDecelerationTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta) |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the deceleration part. More... | |
virtual int32 | GetMoveTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc bus ticks a Move needs from arStartPosition until arEndPosition-arDelta. More... | |
virtual int32 | GetAccelerationTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the acceleration part. More... | |
virtual int32 | GetConstTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the const part. More... | |
virtual int32 | GetDecelerationTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta, SINOSRampParam *apParam) |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the deceleration part. More... | |
virtual int32 | GetMoveTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta, const char *apParam) |
Calc bus ticks a Move needs from arStartPosition until arEndPosition-arDelta. More... | |
virtual int32 | GetAccelerationTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta, const char *apParam) |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the acceleration part. More... | |
virtual int32 | GetConstTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta, const char *apParam) |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the const part. More... | |
virtual int32 | GetDecelerationTicks (real64 arStartPosition, real64 arEndPosition, real64 arDelta, const char *apParam) |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the deceleration part. More... | |
virtual int32 | GetExitTicks () |
Calc bus ticks needed till exit in a safe move. More... | |
virtual real64 | GetMoveDist (real64 arTime) |
Calc distance [unit] a Move progresses in arTime [sec]. More... | |
virtual real64 | GetMoveDist (real64 arPosition, real64 arTime) |
Calc distance [unit] a Move(arPosition) progresses in arTime [sec]. More... | |
virtual real64 | GetMoveDist (real64 arTime, SINOSRampParam *apParam) |
Calc distance [unit] a Move progresses in arTime [sec]. More... | |
virtual real64 | GetMoveDist (real64 arPosition, real64 arTime, SINOSRampParam *apParam) |
Calc distance [unit] a Move(arPosition) progresses in arTime [sec]. More... | |
virtual real64 | GetMoveDist (real64 arTime, const char *apParam) |
Calc distance [unit] a Move progresses in arTime [sec]. More... | |
virtual real64 | GetMoveDist (real64 arPosition, real64 arTime, const char *apParam) |
Calc distance [unit] a Move(arPosition) progresses in arTime [sec]. More... | |
virtual real64 | GetMoveDist (real64 arPosition, uint32 auTicks) |
Calc distance [unit] a Move(arPosition) progresses in auTicks [bus ticks]. More... | |
virtual real64 | GetMoveDist (real64 arPosition, uint32 auTicks, SINOSRampParam *apParam) |
Calc distance [unit] a Move(arPosition) progresses in auTicks [bus ticks]. More... | |
virtual real64 | GetMoveDist (real64 arPosition, uint32 auTicks, const char *apParam) |
Calc distance [unit] a Move(arPosition) progresses in auTicks [bus ticks]. More... | |
virtual real64 | GetMoveDist (real64 arStartPosition, real64 arEndPosition, real64 arTime) |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in arTime [sec]. More... | |
virtual real64 | GetMoveDist (real64 arStartPosition, real64 arEndPosition, real64 arTime, SINOSRampParam *apParam) |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in arTime [sec]. More... | |
virtual real64 | GetMoveDist (real64 arStartPosition, real64 arEndPosition, real64 arTime, const char *apParam) |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in arTime [sec]. More... | |
virtual real64 | GetMoveDist (real64 arStartPosition, real64 arEndPosition, uint32 auTicks) |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in auTicks [bus ticks]. More... | |
virtual real64 | GetMoveDist (real64 arStartPosition, real64 arEndPosition, uint32 auTicks, SINOSRampParam *apParam) |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in auTicks [bus ticks]. More... | |
virtual real64 | GetMoveDist (real64 arStartPosition, real64 arEndPosition, uint32 auTicks, const char *apParam) |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in auTicks [bus ticks]. More... | |
virtual uint64 | GetStartTicks (real64 arDelta) |
Get absolut bus ticks the actual move reaches the start position + arDelta. More... | |
virtual uint64 | GetTargetTicks () |
Get absolut bus ticks the actual move reaches the target position. More... | |
virtual uint64 | GetTargetTicks (real64 arDelta) |
Get absolut bus ticks the actual move reaches the target position - arDelta. More... | |
virtual uint32 | SegBegin (real64 arSlowMotion=REAL64(1.0), real64 arStartVelocity=REAL64(0.0)) |
Create a new segmentation move. More... | |
virtual uint32 | SegBegin (real64 arSlowMotion, real64 arStartPosition, real64 arStartVelocity) |
Create a new segmentation move at given position. More... | |
virtual uint32 | SegMove (real64 arPosition) |
Add a move to arPosition. Velocity and acceleration in arPosition have to be 0.0. More... | |
virtual uint32 | SegMove (real64 arPosition, SINOSRampParam *apParam) |
Add a move to arPosition. Velocity and acceleration in arPosition have to be 0.0. More... | |
virtual uint32 | SegMove (real64 arPosition, const char *apParam) |
Add a move to arPosition. Velocity and acceleration in arPosition have to be 0.0. More... | |
virtual uint32 | SegMove (real64 arPosition, real64 arVelocity) |
Add a move to arPosition. Requested velocity in arPosition is arVelocity, the acceleration is 0.0.. More... | |
virtual uint32 | SegMove (real64 arPosition, real64 arVelocity, SINOSRampParam *apParam) |
Add a move to arPosition. Requested velocity in arPosition is arVelocity, the acceleration is 0.0.. More... | |
virtual uint32 | SegMove (real64 arPosition, real64 arVelocity, const char *apParam) |
Add a move to arPosition. Requested velocity in arPosition is arVelocity, the acceleration is 0.0.. More... | |
virtual uint32 | SegConst (real64 arPosition) |
Add a move to arPosition with actual velocity. More... | |
virtual uint32 | SegPos (real64 arTime) |
stay at actual position for arTime [sec]. More... | |
virtual uint32 | SegPosSetTime (real64 arTime) |
Sets the time of the last added segpos segment [sec]. Can be used to adjust a previous added pos segment More... | |
virtual uint32 | SegVelocity (real64 arVelocity, SINOSRampParam *apParam) |
Directly change velocity to the new value. More... | |
virtual uint32 | SegVelocity (real64 arVelocity, const char *apParam) |
Directly change velocity to the new value. More... | |
virtual real64 | SegTime () |
Returns time the actual segment move takes. More... | |
virtual uint32 | SegRun (CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Run actual segments. More... | |
virtual uint32 | WaitInPosition () |
Wait for any move to finish. More... | |
virtual uint32 | GetBusTicksPerAxisTick () |
Get number of bus ticks an axis tick takes. More... | |
virtual uint32 | Pull (real64 arS, real64 arV, real64 arA, real64 arJ) |
Add a path point to the actual pull list and start pull mode if not et done. If one is running an axis in pull mode, one has to provide a new path point for every axis sample, e.g. if the axis is sampled over the fieldbus with 4kHz, dT between two points is 0.000250 s. More... | |
virtual uint32 | Pull (SINOSRampData &aData) |
Add a path point to the actual pull list and start pull mode if not et done. If one is running an axis in pull mode, one has to provide a new path point for every axis sample, e.g. if the axis is sampled over the fieldbus with 4kHz, dT between two points is 0.000250 s. More... | |
virtual uint32 | Pull (SINOSRampDataEx *apData) |
Add a path point to the actual pull list and start pull mode if not et done. If one is running an axis in pull mode, one has to provide a new path point for every axis sample, e.g. if the axis is sampled over the fieldbus with 4kHz, dT between two points is 0.000250 s. More... | |
void | EnableRamp () |
Enable a recently disabled trajectory generator. More... | |
void | DisableRamp () |
Disable the axis trajectory generator. Can be used to fill up a pull list without staring immediately. More... | |
virtual uint32 | Stop (CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Stop a running move with the currently selected speed set. More... | |
virtual uint32 | Stop (SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Stop a running move with the given speed set. More... | |
virtual uint32 | Stop (const char *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Stop a running move with the given speed set. More... | |
virtual uint32 | Stop (real64 arPosition, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Stop a running move with the currently selected speed set at requested position. More... | |
virtual uint32 | Stop (real64 arPosition, SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Stop a running move with the given speed set at requested position. More... | |
virtual uint32 | Stop (real64 arPosition, const char *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Stop a running move with the given speed set at requested position. More... | |
virtual uint32 | StopLive () |
Stop a running move with the currently selected speed set. The stop is calculated live and therefore the most efficient way to stop an axis. This command should be used if one needs to stop an axis from within a high prio task (e.g. a fieldbus hook). More... | |
virtual uint32 | StopLive (real64 arSlowMotion, SINOSRampParam *apParam) |
Stop a running move with the given speed set and required slowmotion factor. The stop is calculated live and therefore the most efficient way to stop an axis. This command should be used if one needs to stop an axis from within a high prio task (e.g. a fieldbus hook). More... | |
virtual uint32 | StopLiveDelta (real64 arDelta, real64 arSlowMotion, SINOSRampParam *apParam=nullptr) |
Stop a running move with the given speed set and required slowmotion factor. The stop is calculated live and therefore the most efficient way to stop an axis. This command should be used if one needs to stop an axis from within a high prio task (e.g. a fieldbus hook). More... | |
virtual uint32 | Break (CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Pause a running move with the currently selected speed set. The move is still pending and can be continued with Continue. More... | |
virtual uint32 | Break (SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Pause a running move with the given speed set. The move is still pending and can be continued with Continue. More... | |
virtual uint32 | Break (const char *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Pause a running move with the given speed set. The move is still pending and can be continued with Continue. More... | |
virtual uint32 | Break (real64 arPosition, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Pause a running move with the currently selected speed set at requested position. The move is still pending and can be continued with Continue. More... | |
virtual uint32 | Break (real64 arPosition, SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Pause a running move with the given speed set at requested position. The move is still pending and can be continued with Continue. More... | |
virtual uint32 | Break (real64 arPosition, const char *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Pause a running move with the given speed set at requested position. The move is still pending and can be continued with Continue. More... | |
virtual uint32 | Continue (CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Continue a pause move. More... | |
virtual uint32 | Continue (SINOSRampParam *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Continue a pause move with the given speed set. More... | |
virtual uint32 | Continue (const char *apParam, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Continue a pause move with the given speed set. More... | |
virtual uint32 | EmergencyStop (CINOSSync *apSync) |
Stop a running move with the defined emergency deceleration/jerk. More... | |
virtual uint32 | EmergencyStop (uint16 auType=0xffff, uint16 auDelay=0xffff, CINOSSync *apSync=DF_INOS_SYNCHRONOUS) |
Stop a running move with the defined emergency deceleration/jerk. More... | |
virtual uint32 | EmergencyStopLive () |
Stop a running move with the defined emergency deceleration/jerk. The stop is calculated live and therefore the most efficient way to stop an axis. This command should be used if one needs to emergency stop an axis from within a high priority task (e.g. a fieldbus hook). More... | |
virtual uint32 | EmergencyStopLive (uint16 auType, uint16 auDelay=0xffff) |
Stop a running move with the defined emergency deceleration/jerk. The stop is calculated live and therefore the most efficient way to stop an axis. This command should be used if one needs to emergency stop an axis from within a high priority task (e.g. a fieldbus hook). More... | |
virtual const char * | GetName () |
virtual const char * | GetType () |
virtual const char * | GetUnit () |
virtual uint32 | GetCharacteristics () |
virtual uint8 | GetNumber () |
virtual uint32 | GetOptions () |
virtual char | GetShort () |
virtual void | SetShort (char acShort) |
virtual void | SetPartner (const char *apPartner) |
virtual void | SetPartner (CINOSBaseAxis *apPartner) |
virtual void | SetCmdPosition (real64 arPosition) |
virtual void | SetPathPosition (real64 arPosition) |
virtual void | GetCmdPosition (real64 &arPosition) |
virtual void | SetCmdVelocity (real64 arVelocity) |
virtual void | GetCmdVelocity (real64 &arVelocity, CINOSBaseRamp::ECmdFlags aeFlags=CINOSBaseRamp::eFlgCmdNone) |
virtual void | SetCmdAcceleration (real64 arAcceleration) |
virtual void | GetCmdAcceleration (real64 &arAcceleration, CINOSBaseRamp::ECmdFlags aeFlags=CINOSBaseRamp::eFlgCmdNone) |
virtual void | SetCmdDeceleration (real64 arDeceleration) |
virtual void | GetCmdDeceleration (real64 &arDeceleration, CINOSBaseRamp::ECmdFlags aeFlags=CINOSBaseRamp::eFlgCmdNone) |
virtual void | SetCmdCruiseleration (real64 arCruiseleration) |
virtual void | GetCmdCruiseleration (real64 &arCruiseleration) |
virtual void | SetCmdJerk (real64 arJerk, uint32 auNumber=DF_INOS_RAMP_JERK_ALL) |
virtual void | GetCmdJerk (real64 &arJerk, uint32 auNumber=0) |
virtual void | SetCmdCruiseJerk (real64 arCruiseJerk) |
virtual void | GetCmdCruiseJerk (real64 &arCruiseJerk) |
virtual void | GetCmdRealJerk (real64 &arJerk, uint32 auNumber=0) |
virtual void | SetCmdSlowMotion (real64 arSlowMotion, bool abUpdate=false) |
virtual void | GetCmdSlowMotion (real64 &arSlowMotion, const char *apParam=0) |
virtual void | GetActSlowMotion (real64 &arSlowMotion, const char *apParam=0) |
virtual void | SetCmdRelaxTime (real64 arRelaxTime) |
virtual void | GetCmdRelaxTime (real64 &arRelaxTime) |
virtual void | SetEmgDeceleration (real64 arDeceleration) |
virtual void | GetEmgDeceleration (real64 &arDeceleration) |
virtual void | SetEmgPosition (real64 arPosition) |
virtual void | GetEmgPosition (real64 &arPosition) |
virtual uint32 | SetActPosition (real64 arPosition) |
Sets the actual axis position. This method doesn't change a current following error and it is therefore allowed to change the axis position during a running move. More... | |
virtual void | GetActPosition (real64 &arPosition, bool abRamp=true) |
Gets the actual axis position. More... | |
double | NormPosition (real64 arPosition) const |
Returned the 'normed' value of arPosition. More... | |
virtual void | GetActPosition (real64 &arPosition, uint64 auTicks) |
virtual uint32 | NrmActPosition (real64 arRange=REAL64(0.0), bool abRound=false) |
virtual void | GetActVelocity (real64 &arVelocity, bool abMapped=true) |
virtual void | GetActAcceleration (real64 &arAcceleration, bool abRamp=true) |
virtual void | GetActJerk (real64 &arJerk, bool abRamp=true) |
virtual uint32 | AdjActTime (real64 arDelta) |
virtual uint32 | SetRealPosition (real64 arPosition) |
Sets the real axis position. This method ignores a current following error and should therefore NOT be used during a running move, as this leads to following error jumps. It is also important to mention, that one looses precision if this method is called (e.g. multiple times) on an axis that has a following error that is not equal to zero! More... | |
virtual void | GetRealPosition (real64 &arPosition, bool abMapped=true) |
Gets the real axis position. More... | |
virtual void | GetRealVelocity (real64 &arVelocity) |
virtual void | GetRealAcceleration (real64 &arAcceleration) |
virtual void | GetRealJerk (real64 &arJerk) |
virtual void | GetActPosError (real64 &arPosError) |
virtual void | GetActVelocityError (real64 &arVelocityError, bool abFiltered=false) |
virtual void | GetUnitsPerInc (double &adUnits) |
virtual void | GetIncsPerUnit (double &adIncs) |
virtual void | SetMinPosition (real64 arPosition) |
virtual void | GetMinPosition (real64 &apPosition) const |
virtual void | SetMaxPosition (real64 arPosition) |
virtual void | GetMaxPosition (real64 &arPosition) const |
virtual bool | CheckPosition (real64 &arPosition, bool abIgnoreMapping=false, SINOSRampParam *apParam=nullptr) |
virtual void | SetMinVelocity (real64 arVelocity) |
virtual void | SetMaxVelocity (real64 arVelocity) |
virtual void | SetMaxSetupVelocity (real64 arVelocity) |
virtual void | SetMaxInitVelocity (real64 arVelocity) |
virtual void | GetMinVelocity (real64 &arVelocity) |
virtual void | GetMaxVelocity (real64 &arVelocity, uint32 auFlags=eMaxVelocityNone) |
virtual void | GetTrqVelocity (real64 &arVelocity) |
virtual void | GetMaxSetupVelocity (real64 &arVelocity) |
virtual void | GetMaxInitVelocity (real64 &arVelocity) |
virtual void | SetMinAcceleration (real64 arAcceleration) |
virtual void | SetMaxAcceleration (real64 arAcceleration) |
virtual void | SetMaxAccelerationPull (real64 arAcceleration) |
virtual void | GetMinAcceleration (real64 &arAcceleration) |
virtual void | GetMaxAcceleration (real64 &arAcceleration) |
virtual void | GetMaxAccelerationPull (real64 &arAcceleration) |
virtual void | GetTrqAcceleration (real64 &arAcceleration) |
virtual void | SetMinDeceleration (real64 arDeceleration) |
virtual void | SetMaxDeceleration (real64 arDeceleration) |
virtual void | GetMinDeceleration (real64 &arDeceleration) |
virtual void | GetMaxDeceleration (real64 &arDeceleration) |
virtual void | GetTrqDeceleration (real64 &arDeceleration) |
virtual void | SetMinCruiseleration (real64 arCruiseleration) |
virtual void | SetMaxCruiseleration (real64 arCruiseleration) |
virtual void | GetMinCruiseleration (real64 &arCruiseleration) |
virtual void | GetMaxCruiseleration (real64 &arCruiseleration) |
virtual void | SetMinJerk (real64 arJerk) |
virtual void | SetMaxJerk (real64 arJerk) |
virtual void | GetMinJerk (real64 &arJerk) |
virtual void | GetMaxJerk (real64 &arJerk) |
virtual void | GetEpsilon (real64 &arEpsilon) |
virtual void | GetCycleTime (real64 &arCycleTime, bool abOversampled=false) |
virtual void | GetCycleTimeUs (uint32 &auCycleTime) |
virtual void | GetCycleTimeNs (uint32 &auCycleTime) |
virtual uint8 | GetOversampling () |
virtual uint16 | GetCycleNumber () |
virtual uint16 | GetCycleId () |
virtual void | UpdateCycleId (uint16 auCycleId) |
virtual uint8 | GetBusId () |
virtual uint32 | SetParam (const char *apName, real64 arValue) |
virtual uint32 | SetParam (const char *apName, uint64 auValue) |
virtual uint32 | GetParam (const char *apName, real64 &arResult) |
virtual uint32 | GetParam (const char *apName, uint64 &auResult) |
virtual volatile real64 * | GetParamAdr (const char *apName) |
void | SetFlag (uint32 auFlag) |
void | ClrFlag (uint32 auFlag) |
uint32 | GetFlag () |
void | Absolute () |
void | Incremental () |
virtual uint32 | SetState (uint32 auState) |
virtual int32 | GetState () |
virtual int32 | GetState (uint32 &auRampState) |
const char * | GetStateText () const |
virtual bool | IsBusy () const |
virtual uint32 | GetError (bool abResolveExternal=false) |
virtual uint64 | GetErrorEx (bool abResolveExternal=false) |
virtual uint32 | GetError (uint32 &auRampError, bool abResolveExternal=false) |
virtual uint64 | GetErrorEx (uint64 &auRampError, bool abResolveExternal=false) |
virtual uint32 | GetErrorHook () |
virtual bool | IsErrorFatal () |
virtual uint32 | GetWarning (bool abResolveExternal=false) |
virtual uint64 | GetWarningEx (bool abResolveExternal=false) |
virtual uint32 | GetWarning (uint32 &auRampWarning, bool abResolveExternal=false) |
virtual uint64 | GetWarningEx (uint64 &auRampWarning, bool abResolveExternal=false) |
virtual uint32 | GetLimitViolation () |
virtual void | SetErrorMask (uint32 auMask) |
virtual void | SetWarningMask (uint32 auMask) |
virtual void | SetLimitViolation (uint32 auLimitViolation) |
virtual uint32 | GetErrorMask () |
virtual uint32 | GetWarningMask () |
virtual uint32 | AcceptError () |
virtual uint32 | AcceptError (uint32 auError) |
virtual uint32 | AcceptError (uint32 auError, uint32 auRampError) |
virtual uint32 | AcceptWarning () |
virtual uint32 | AcceptWarning (uint32 auWarning) |
virtual uint32 | AcceptWarning (uint32 auWarning, uint32 auRampWarning) |
virtual uint32 | AcceptLimitViolation () |
virtual void | eCreateParamSet (const char *apSetName) |
virtual CINOSBaseAxisParamSet * | CreateParamSet (const char *apSetName) |
virtual void | DestroyParamSet (const char *apSetName) |
virtual bool | SelectParamSet (const char *apSetName) |
virtual CINOSBaseAxisParamSet * | GetParamSet (const char *apSetName, uint32 auFlags=eFlgParamSetSearchGlobal) |
virtual SINOSRampParam * | GetRampParam (const char *apSetName, uint32 auFlags=eFlgParamSetSearchGlobal) |
virtual bool | GetRampParam (const char *apSetName, char *apResult, uint32 auSize, SINOSRampParam &aResult, uint32 auFlags=eFlgParamSetSearchGlobal) |
virtual void | PreDestroyRampParam (SINOSRampParam *apParam) |
virtual void | SetPosType (uint32 auPosType) |
virtual void | SetPosTime (uint32 auPosTime) |
virtual void | SetPosTimeout (uint32 auPosTimeout) |
virtual void | SetPosTolerance (real64 arPosTolerance) |
void | EnableCache (uint32 auSize=32) |
CINOSRampCache * | EnableCache (CINOSRampCache *apCache) |
CINOSRampCache * | DisableCache () |
void | ReEnableCache () |
void | FlushCache () |
void | SetCacheEpsilon (real64 arEpsilon) |
virtual CINCOObject * | GetRegister () |
virtual void | SetRamp (CINOSBaseRamp *apRamp) |
CINOSBaseRamp * | GetRamp () |
virtual CINOSMapping * | GetMapping () |
uint32 | GetMappingIndex () |
virtual uint32 | RegisterHook (uintid &auHookId, void *apHandler, void *apObject, int32 aiOrder, bool abEnabled=true) |
virtual uint32 | UnRegisterHook (uintid auHookId) |
virtual uint32 | EnableHook (uintid auHookId) |
virtual uint32 | DisableHook (uintid auHookId) |
virtual uint32 | RegisterPostHook (uintid &auHookId, void *apHandler, void *apObject, int32 aiOrder, bool abEnabled=true) |
virtual uint32 | UnRegisterPostHook (uintid auHookId) |
virtual uintid | RegisterErrorHook (void *apHandler, void *apObject=0) |
virtual void | UnRegisterErrorHook (uintid auHookId) |
virtual uintid | RegisterWarningHook (void *apHandler, void *apObject=0) |
virtual void | UnRegisterWarningHook (uintid auHookId) |
virtual void | EnableSync (real64 arPosition=REAL64(0.0), uint8 auMode=0x00) |
virtual void | DisableSync () |
virtual void | GetSyncCount (uint32 &auSyncCount) |
virtual void | SetSyncCount (uint32 auSyncCount) |
virtual void | EnableNorm (uint8 auMode=0x00, uint8 auMoveDir=0x00, real64 arNormPos=REAL64(0.0)) |
virtual void | DisableNorm () |
virtual uint8 | GetNormMoveDir () |
virtual void | SetNormMoveDir (uint8 auNormMoveDir) |
virtual uint8 | GetNormMode () |
virtual void | SetNormMode (uint8 auNormMode) |
virtual void | EnableCurLimit () |
virtual void | DisableCurLimit () |
virtual bool | GetCurLimit () |
SINOSRampData * | GetActual (EActualType aeType=eActOutput, bool abCopy=true) |
get pointer to actual control values | |
SINOSRampData * | GetRealVrt () |
get pointer to real values | |
SINOSRampData * | GetActVrt () |
deprecated | |
SINOSRampData * | GetActPhy () |
deprecated | |
virtual void | SetMoveSafeMin (real64 arMin, real64 arFact1=REAL64(0.0), real64 arFact2=REAL64(0.0)) |
virtual void | ResetMoveSafeMin () |
void | EnableSetupMode () |
void | DisableSetupMode () |
virtual bool | CheckSetupMode () |
virtual uint32 | GetToggleCnt () |
get current toggle counter | |
virtual void | SetToggleCnt (uint32 auSetVal) |
set toggle counter to given value | |
SINOSBaseRampTrqLimit * | GetTrqLimitAcceleration () |
get torque limit acceleration | |
SINOSBaseRampTrqLimit * | GetTrqLimitDeceleration () |
get torque limit deceleration | |
uint8 | GetCoreId () |
get core id the axis is running on | |
Static Public Member Functions | |
static CINOSBaseAxis * | GetAxis (const char *apAxisName) |
Get pointer to axis with name apAxisName. More... | |
static CINOSBaseAxis * | GetAxis (uint32 auNumber) |
Get pointer to axis with a given number. More... | |
static uint8 | GetNumber (const char *apAxisName) |
Get number of axis apAxisName. More... | |
static void | eCreateGlobalParamSet (const char *apSetName) |
static CINOSBaseAxisParamSet * | CreateGlobalParamSet (const char *apSetName) |
static void | DestroyGlobalParamSet (const char *apSetName) |
static CINOSBaseAxisParamSet * | GetGlobalParamSet (const char *apSetName) |
static SINOSRampParam * | GetGlobalRampParam (const char *apSetName) |
Protected Member Functions | |
void | Create () |
real64 | iNormPosition (real64 arPosition, real64 arRange=REAL64(0.0), bool abRound=false) const |
void | Signal (CINOSSync *&apSync) |
virtual void | SignalSync (CINOSSync &apSync) |
virtual void | SetError (uint32 auErrors) |
virtual void | SetWarning (uint32 auWarnings) |
bool | Enter (uint32 auCommand, CINOSSync *apSync=0) |
void | Exit () |
void | Exit (CINOSSync *&apCmdSync, CINOSSync *apSync) |
bool | IsCritical () |
virtual void | iInActivate () |
virtual void | iStop (SINOSRampParam *apParam) |
virtual void | iEmergencyStop (bool abLive=false) |
virtual uint32 | iCursor (bool abPositive, uint32 auWaitTime, real64 arStep, SINOSRampParam *apParam) |
virtual uint32 | iCursor (real64 arPosition, uint32 auWaitTime, real64 arStep, SINOSRampParam *apParam) |
real64 | iGetAbsPosition (real64 arRelPosition) |
real64 | iGetNrmAbsPosition (real64 arRelPosition, SINOSRampParam *apParam=nullptr, bool abConsiderStop=false) |
virtual void | iSetCycleTime (real64 arCycleTime) |
virtual void | iRegisterAxis () |
virtual ICACHE void | iPreMap () |
virtual ICACHE void | iPostMap () |
ICACHE void | iCheckRampLimits () |
virtual ICACHE void | iPostWrite () |
void | SetMapping (CINOSMapping *apMapping, uint32 auIndex) |
void | ResetMapping () |
virtual bool | iInPosition (bool abEarlyDone) |
virtual bool | iInPosition () |
virtual void | iAdjPreviousPositions (real64 arDifference) |
virtual void | iSetActRampPosition (real64 arPosition) |
virtual bool | IsCheckPositionRequired () |
void | SetDefaultParamIfRequired () |
void | iSetupPositionType (SINOSRampParam *apParam=0) |
virtual void | iResetTrajectory () |
void | iCoreMismatchError () |
INOS_INLINE void | AtomicEnter (uint32 &auToken) |
INOS_INLINE bool | AtomicExit (uint32 auToken) |
Protected Attributes | |
int32 | m_uState |
uint32 | m_uSubState |
uint32 | m_uNxtState |
uint32 | m_uPrvState |
uint32 | m_uBrkState |
uint32 | m_uRmpState |
uint32 | m_uError |
uint32 | m_uErrorMask |
uint32 | m_uErrorHook |
uint32 | m_uWarning |
uint32 | m_uWarningMask |
uint32 | m_uLimitViolation |
uint32 | m_uFlag |
uint32 | m_uFlagEnb |
const char * | m_pName |
const char * | m_pType |
char | m_cShort [2] |
CINOSBaseAxis * | m_pPartner |
CINCOObject * | m_pRegister |
CINCOObject * | m_pCommand |
CINCOObject * | m_pTest |
CINCOObject * | m_pError |
CINCOObject * | m_pWarning |
CINCOObject * | m_pLimitViolation |
CINCOObject * | m_pFlag |
CINCOObject * | m_pState |
CINOSBaseRamp * | m_pRamp |
CINOSLimitChecker * | m_pLimitChecker |
CINOSMapping * | m_pMapping |
uint32 | m_uMappingIndex |
SINOSBaseAxis * | m_pDesc |
CINOSMutex | m_CmdLock |
CINOSSync * | m_pActivate |
CINOSSync * | m_pInActivate |
CINOSSync * | m_pMove |
CINOSSync * | m_pEndless |
CINOSSync * | m_pStop |
CINOSSync * | m_pEmStop |
CINOSSync * | m_pBreak |
CINOSSync * | m_pVelocity |
CINOSSync * | m_pContinue |
CINOSSync * | m_pWaitInPosition |
CINOSSync * | m_pWaitInPositionDyn |
CINOSSync * | m_pWaitTicks |
uint32 | m_uWaitTicks |
uintid | m_uPreMapHookId |
uintid | m_uPostMapHookId |
uintid | m_uPostWriteHookId |
uintid | m_uPreHookId |
uintid | m_uPostHookId |
SINOSBaseAxisHook * | m_pErrorHooks |
SINOSBaseAxisHook * | m_pWarningHooks |
TINOSNameBalancedBinaryTree< CINOSBaseAxisParamSet > * | m_pParamSets |
SINOSRampDataEx * | m_pActual |
actual commanded values (handed over to control) | |
SINOSRampDataEx * | m_pActRamp |
actual commanded values from ramp geni | |
SINOSRampDataEx * | m_pActControl |
actual commanded values (valid if mapping active or after a SetActual) | |
SINOSRampDataEx * | m_pRealVrt |
actual real virtual values | |
SINOSRampData | m_sPreviousVrt [3] |
real64 | m_rPos1 |
real64 | m_rPos1Max |
real64 | m_rPos2 |
real64 | m_rPos2Max |
uint32 | m_uDelay |
uint32 | m_uDelayMax |
uint32 | m_uDelayAct |
int32 | m_iTicks |
uint32 | m_uToggleCnt |
real64 | m_rFeedPerTurn |
real64 | m_rFeedPerTurn_1 |
real64 | m_rInertia |
inosName32 | m_cSelectedParamName |
uint32 | m_uEmergencyType |
uint32 | m_uEmergencyDelay |
real64 | m_rEmergencyPosition |
uint16 | m_uIntEmergencyType |
uint16 | m_uIntEmergencyDelay |
SINOSRampParam * | m_pEmergency |
uint32 | m_uCurWaitTime |
real64 | m_rCurPosition |
SINOSRampParam * | m_pCurParam |
uint8 | m_uSyncMode |
bool | m_bSyncAvailable = true |
uint8 | m_uNormMode |
uint8 | m_uNormMoveDir |
real64 | m_rNormPos |
uint8 | m_uCoreId = DF_INOS_CORE_DEFAULT |
id of core the axis is handled in | |
uint16 | m_uTrackValType |
uint16 | m_uTrackDir |
void * | m_pTrackVal |
real64 | m_rTrackCyc |
real64 | m_rTrackFct |
real64 | m_rTrackPos |
real64 | m_rTrackVel |
real64 | m_rTrackCmd |
real64 | m_rTrackSum |
uint16 | m_uTrackLen |
uint16 | m_uTrackInd |
int32 | m_iTrackLst |
int32 | m_iTrackOld |
real64 * | m_pTrackBuf |
tpGetter | m_pTrackGet |
real64 | m_rTrackVmax |
real64 | m_rTrackAmax |
real64 | m_rTrackBmax |
uint32 | m_uPosType |
uint32 | m_uPosTime |
uint32 | m_uPosTimeout |
int32 | m_iPosTicks |
int32 | m_iPosTimeout |
real64 | m_rPosTolerance |
real64 | m_rExitTime |
bool | m_bPartnerMoving |
uint32 | m_uBusTicksPerAxisTick |
number of bus ticks an axis tick takes | |
uint16 | m_uCycleId |
cycle id | |
uint32 | m_ueActivateCheckPos |
uint32 | m_ueActivateSimulatePos |
uint32 | m_ueActivateSimulateOut |
uint32 | m_ueActivateSimulateAct |
real64 | m_rePosition |
real64 | m_rePositionVel {} |
real64 | m_reVelocity {} |
real64 | m_reSyncPosition |
inosName32 | m_ceParam |
char | m_ceVariable [64] |
real64 | m_reFactor |
real64 | m_reValue |
uint32 | m_ueFilter |
uint32 | m_ueTrackDir |
uint32 | m_ueDirection |
uint32 | m_ueWait |
real64 | m_reStep |
real64 | m_reReturn |
real64 | m_reDelta |
real64 | m_reStart |
real64 | m_reEnd |
uint32 | m_ueReturn |
uint32 | m_ueTicks |
real64 | m_reTime |
real64 | m_reSlowMotion |
Static Protected Attributes | |
static CINOSMutex | m_GlobalParamSetsMutex |
static TINOSNameBalancedBinaryTree< CINOSBaseAxisParamSet > * | m_pGlobalParamSets |
Provides axis functionality.
project : INOS language : GNU C++ system : Indel Targets
Provides axis functionality.
|
explicit |
Create an axis based on a descriptor (usually not used because this is done by the configuration system).
apDesc | A pointer to a descriptor describing the axis |
CINOSBaseAxis::CINOSBaseAxis | ( | SINOSBaseAxis * | apDesc, |
CINOSBaseRamp * | apRamp | ||
) |
Create an axis based on a descriptor (usually not used because this is done by the configuration system).
apDesc | A pointer to a descriptor describing the axis |
apRamp | A pointer to a descriptor describing the trajectory generator. |
|
virtual |
Activate axis in a given mode, e.g Activate(true,true,true,true) enables the axis in a full simulated manner.
abCheckPos | Enable following position check |
abSimulatePos | Actual position is simulated |
abSimulateOut | No speed to external controller |
abSimulateAct | No power to real axis |
apSync | A pointer to a sync object if used asynchronous |
Reimplemented in CINOSPhysicalAxis.
|
virtual |
Pause a running move with the currently selected speed set. The move is still pending and can be continued with Continue.
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Pause a running move with the given speed set. The move is still pending and can be continued with Continue.
apParam | Name of requested speed set. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Pause a running move with the currently selected speed set at requested position. The move is still pending and can be continued with Continue.
arPosition | Requested position [unit] to pause at. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Pause a running move with the given speed set at requested position. The move is still pending and can be continued with Continue.
arPosition | Requested position [unit] to pause at. |
apParam | Name of requested speed set. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Pause a running move with the given speed set at requested position. The move is still pending and can be continued with Continue.
arPosition | Requested position [unit] to pause at. |
apParam | Pointer to structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Pause a running move with the given speed set. The move is still pending and can be continued with Continue.
apParam | Pointer to structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous. |
|
inlinevirtual |
Connect axis to hardware.
Reimplemented in CINOSPhysicalAxis.
|
virtual |
Continue a pause move.
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Continue a pause move with the given speed set.
apParam | Name of requested speed set. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Continue a pause move with the given speed set.
apParam | Pointer to structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Moves one 'inc' in the requested direction, waits auWaitTime ms and starts an endless move to the defined software limit. This move is usually stopped with the Stop command.
abPositive | Requested direction (true-positive, false-negative). |
auWaitTime | Requested waiting time [ms]. |
|
virtual |
Moves one arStep in the requested direction, waits auWaitTime ms and starts an endless move to the defined software limit. This move is usually stopped with the Stop command.
abPositive | Requested direction (true-positive, false-negative). |
auWaitTime | Requested waiting time [ms]. |
arStep | Requested first step [unit]. |
|
virtual |
Moves one arStep in the requested direction, waits auWaitTime ms and starts an endless move to the defined software limit. This move is usually stopped with the Stop command.
abPositive | Requested direction (true-positive, false-negative). |
auWaitTime | Requested waiting time [ms]. |
arStep | Requested first step [unit]. |
apParam | Name of requested speed set. |
|
virtual |
Moves one arStep in the requested direction, waits auWaitTime ms and starts an endless move to the defined software limit. This move is usually stopped with the Stop command.
abPositive | Requested direction (true-positive, false-negative). |
auWaitTime | Requested waiting time [ms]. |
arStep | Requested first step [unit]. |
apParam | Pointer to structure containing the requested spped set. |
|
virtual |
Moves one 'inc' in the requested direction, waits 500ms and starts an endless move to the defined software limit. This move is usually stopped with the Stop command.
abPositive | Requested direction (true-positive, false-negative). |
|
virtual |
Moves one step in 'arPosition' direction, waits auWaitTime ms and then moves to arPosition. This move is usually stopped with the Stop command.
arPosition | Requested end position. |
auWaitTime | Requested waiting time [ms]. |
arStep | Requested first step [unit]. |
apParam | Name of requested speed set. |
|
virtual |
Moves one 'inc' in 'arPosition' direction, waits 500ms and then moves to arPosition. This move is usually stopped with the Stop command.
arPosition | Requested end position. |
|
virtual |
Moves one 'inc' in 'arPosition' direction, waits auWaitTime ms and then moves to arPosition. This move is usually stopped with the Stop command.
arPosition | Requested end position. |
|
virtual |
Moves one step in 'arPosition' direction, waits auWaitTime ms and then moves to arPosition. This move is usually stopped with the Stop command.
arPosition | Requested end position. |
auWaitTime | Requested waiting time [ms]. |
arStep | Requested first step [unit]. |
|
virtual |
Moves one step in 'arPosition' direction, waits auWaitTime ms and then moves to arPosition. This move is usually stopped with the Stop command.
arPosition | Requested end position. |
auWaitTime | Requested waiting time [ms]. |
arStep | Requested first step [unit]. |
apParam | Pointer to structure containing the requested spped set. |
|
virtual |
Disables an enabled axis. Only inactivated axis can be disabled. Use 'Enable' to reenable the axis.
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
disable auto norm
Reimplemented in CINOSPhysicalAxis.
|
inline |
Disable the axis trajectory generator. Can be used to fill up a pull list without staring immediately.
|
virtual |
Stop a running move with the defined emergency deceleration/jerk.
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Stop a running move with the defined emergency deceleration/jerk.
auType | Defines the requested emergency stop type. |
auDelay | Defines the requested emergency stop delay. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Stop a running move with the defined emergency deceleration/jerk. The stop is calculated live and therefore the most efficient way to stop an axis. This command should be used if one needs to emergency stop an axis from within a high priority task (e.g. a fieldbus hook).
|
virtual |
Stop a running move with the defined emergency deceleration/jerk. The stop is calculated live and therefore the most efficient way to stop an axis. This command should be used if one needs to emergency stop an axis from within a high priority task (e.g. a fieldbus hook).
auType | Defines the requested emergency stop type. |
auDelay | Defines the requested emergency stop delay. |
|
virtual |
Enables a previously disabled axis. Only enabled axis can be activated.
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Enable auto norm of position. This is often used on rotative axis which may be endlessly moved: Whenever the axis reaches 360.0 degree, you may want to "reset" the position to 0.0 degree. That's what "norming" does.
auMode | The norming mode. Possible values are DF_INOS_AXIS_NORM_AFTER, DF_INOS_AXIS_NORM_LIVE, DF_INOS_AXIS_NORM_POSITIVE and DF_INOS_AXIS_NORM_ROUND |
auMoveDir | Possible values are DF_INOS_AXIS_NORM_MOVE_DIR_NO, DF_INOS_AXIS_NORM_MOVE_DIR_POS DF_INOS_AXIS_NORM_MOVE_DIR_NEG, DF_INOS_AXIS_NORM_MOVE_DIR_SHORT and DF_INOS_AXIS_NORM_MOVE_DIR_SHORT_EX |
arNormPos | By default, this param is set to 0.0, which means the function takes the "feed per turn" as norm position. Often, for rotative axes, the position shall be normed after "each turn" (which is often 360.0 degree) and therefore this is often what the caller expects. arNormPos can take any value and may therefore even be used for linear axes. E.g. to reset the position of a feeder after every 10mm. |
|
inline |
Enable a recently disabled trajectory generator.
|
virtual |
Start and endless move in the requested direction with speed set apParam.
abPositive | Requested direction (true-positive, false-negative). |
apParam | Name of requested speed set. |
|
virtual |
Start and endless move in the requested direction with speed set apParam.
abPositive | Requested direction (true-positive, false-negative). |
apParam | Pointer to a structure containing the requested speed set. |
|
virtual |
Start and endless move in the requested direction with actual commanded acc/dec and velocity.
abPositive | Requested direction (true-positive, false-negative). |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the acceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
|
virtual |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the acceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the acceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the acceleration part.
arPosition | Requested position |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the acceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
|
virtual |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the acceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the acceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Gets the actual axis position.
An axis has three different positions :
commanded the requested target position of a current or the last move
actual represents the calculated (ramp) and commanded (control loop) position at a certain point in time (e.g. now) during the move
real represents the actual (physical) position fed back from (or calculated by) the position channel
arPosition | Actual axis position |
abRamp | True if the position has to be get from the trajectory generator |
|
static |
Get pointer to axis with name apAxisName.
apAxisName | Name of requested axis |
|
inlinestatic |
Get pointer to axis with a given number.
auNumber | Number of requested axis |
|
virtual |
Get number of bus ticks an axis tick takes.
|
virtual |
Calc bus ticks a Move(adPosition) needs for the constant part.
arPosition | Requested position |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the constant part.
arPosition | Requested position |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the constant part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the constant part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the constant part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the constant part.
arPosition | Requested position |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the const part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
|
virtual |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the const part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the const part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the constant part.
arPosition | Requested position |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the constant part.
arPosition | Requested position |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the constant part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the constant part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the constant part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the constant part.
arPosition | Requested position |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the const part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
|
virtual |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the const part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the const part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the deceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
|
virtual |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the deceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move from arStartPosition until arEndPosition needs for the deceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs for the deceleration part.
arPosition | Requested position |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the deceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
|
virtual |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the deceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move from arStartPosition until arEndPosition needs for the deceleration part.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc bus ticks needed till exit in a safe move.
|
virtual |
Calc time [sec] an according MoveApp needs.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel |
|
virtual |
Calc time [sec] an according MoveApp needs.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] an according MoveApp needs until arPosition-arDelta.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel |
arDelta | Requested delta |
|
virtual |
Calc time [sec] an according MoveApp needs until arPosition-arDelta.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel |
arDelta | Requested delta |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] an according MoveApp needs until arPosition-arDelta.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel |
arDelta | Requested delta |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] an according MoveApp needs.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] an according MoveApp needs until arEndPosition-arDelta.
arStartPosition | The start position. |
arEndPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel |
arDelta | Requested delta |
|
virtual |
Calc time [sec] an according MoveApp needs until arEndPosition-arDelta.
arStartPosition | The start position. |
arEndPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel |
arDelta | Requested delta |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] an according MoveApp needs until arEndPosition-arDelta.
arStartPosition | The start position. |
arEndPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel |
arDelta | Requested delta |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] an according MoveDep needs.
arPosition | The position where to move to. |
arPositionVel | Before this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity before arPositionVel |
|
virtual |
Calc time [sec] an according MoveDep needs.
arPosition | The position where to move to. |
arPositionVel | Before this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity before arPositionVel |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] an according MoveDep needs until arPosition-arDelta.
arPosition | The position where to move to. |
arPositionVel | Before this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity before arPositionVel |
arDelta | Requested delta |
|
virtual |
Calc time [sec] an according MoveDep needs until arPosition-arDelta.
arPosition | The position where to move to. |
arPositionVel | Before this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity before arPositionVel |
arDelta | Requested delta |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] an according MoveDep needs until arPosition-arDelta.
arPosition | The position where to move to. |
arPositionVel | Before this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity before arPositionVel |
arDelta | Requested delta |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] an according MoveDep needs.
arPosition | The position where to move to. |
arPositionVel | Before this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity before arPositionVel |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] an according MoveDep needs until arEndPosition-arDelta.
arStartPosition | The start position. |
arEndPosition | The position where to move to. |
arPositionVel | Before this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity before arPositionVel |
arDelta | Requested delta |
|
virtual |
Calc time [sec] an according MoveDep needs until arEndPosition-arDelta.
arStartPosition | The start position. |
arEndPosition | The position where to move to. |
arPositionVel | Before this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity before arPositionVel |
arDelta | Requested delta |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] an according MoveDep needs until arEndPosition-arDelta.
arStartPosition | The start position. |
arEndPosition | The position where to move to. |
arPositionVel | Before this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity before arPositionVel |
arDelta | Requested delta |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc distance [unit] a Move(arPosition) progresses in arTime [sec].
arPosition | Requested position |
arTime | Given time |
|
virtual |
Calc distance [unit] a Move(arPosition) progresses in arTime [sec].
arPosition | Requested position |
arTime | Given time |
apParam | Name of requested speed set. |
|
virtual |
Calc distance [unit] a Move(arPosition) progresses in arTime [sec].
arPosition | Requested position |
arTime | Given time |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc distance [unit] a Move(arPosition) progresses in auTicks [bus ticks].
arPosition | Requested position |
auTicks | Given number of fieldbus ticks |
|
virtual |
Calc distance [unit] a Move(arPosition) progresses in auTicks [bus ticks].
arPosition | Requested position |
auTicks | Given number of fieldbus ticks |
apParam | Name of requested speed set. |
|
virtual |
Calc distance [unit] a Move(arPosition) progresses in auTicks [bus ticks].
arPosition | Requested position |
auTicks | Given number of fieldbus ticks |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in arTime [sec].
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arTime | Given time |
|
virtual |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in arTime [sec].
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arTime | Given time |
apParam | Name of requested speed set. |
|
virtual |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in arTime [sec].
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arTime | Given time |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in auTicks [bus ticks].
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arTime | Given time |
|
virtual |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in auTicks [bus ticks].
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arTime | Given time |
apParam | Name of requested speed set. |
|
virtual |
Calc distance [unit] a move from arStartPosition to arEndPosition progresses in auTicks [bus ticks].
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arTime | Given time |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc distance [unit] a Move progresses in arTime [sec].
arTime | Given time |
|
virtual |
Calc distance [unit] a Move progresses in arTime [sec].
arTime | Given time |
apParam | Name of requested speed set. |
|
virtual |
Calc distance [unit] a Move progresses in arTime [sec].
arTime | Given time |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs until arPosition.
arPosition | Requested position |
|
virtual |
Calc bus ticks a Move(adPosition) needs until arPosition.
arPosition | Requested position |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs until arPosition-arDelta.
arPosition | Requested position |
arDelta | Requested delta |
|
virtual |
Calc bus ticks a Move(adPosition) needs until arPosition-arDelta.
arPosition | Requested position |
arDelta | Requested delta |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs until arPosition-arDelta.
arPosition | Requested position |
arDelta | Requested delta |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc bus ticks a Move(adPosition) needs until arPosition.
arPosition | Requested position |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc bus ticks a Move needs from arStartPosition until arEndPosition-arDelta.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
|
virtual |
Calc bus ticks a Move needs from arStartPosition until arEndPosition-arDelta.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc bus ticks a Move needs from arStartPosition until arEndPosition-arDelta.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs until arPosition.
arPosition | Requested position |
|
virtual |
Calc time [sec] a Move(adPosition) needs until arPosition.
arPosition | Requested position |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs until arPosition-arDelta.
arPosition | Requested position |
arDelta | Requested delta |
|
virtual |
Calc time [sec] a Move(adPosition) needs until arPosition-arDelta.
arPosition | Requested position |
arDelta | Requested delta |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs until arPosition-arDelta.
arPosition | Requested position |
arDelta | Requested delta |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move(adPosition) needs until arPosition.
arPosition | Requested position |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Calc time [sec] a Move needs from arStartPosition until arEndPosition-arDelta.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
|
virtual |
Calc time [sec] a Move needs from arStartPosition until arEndPosition-arDelta.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Name of requested speed set. |
|
virtual |
Calc time [sec] a Move needs from arStartPosition until arEndPosition-arDelta.
arStartPosition | Requested startposition |
arEndPosition | Requested startposition |
arDelta | Requested delta (not used) |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Note on Cmd vs. Act vs. Real values
Cmd: Represents pos/v/a/j commanded by the application, so for example the final position of a move. Act: Represents the calculated (ramp) and commanded (control loop) pos/v/a/j at a certain point in time (e.g. now) during the move. Real: Represents the actual (physical) pos/v/a/j fed back from (or calculated by) the position channel.
|
inlinevirtual |
get currently selected norm mode
|
inlinevirtual |
get currently selected norm move direction
|
static |
Get number of axis apAxisName.
apAxisName | Name of axis |
|
virtual |
Gets the real axis position.
An axis has three different positions :
commanded the requested target position of a current or the last move
actual represents the calculated (ramp) and commanded (control loop) position at a certain point in time (e.g. now) during the move
real represents the actual (physical) position fed back from (or calculated by) the position channel
arPosition | Real axis position |
abMapped | True if a currently active mapping should be taken into account |
|
virtual |
Get absolut bus ticks the actual move reaches the start position + arDelta.
|
virtual |
Get absolut bus ticks the actual move reaches the target position.
|
virtual |
Get absolut bus ticks the actual move reaches the target position - arDelta.
|
virtual |
Calculate time characteristics of a move.
arPosition | Requested position |
|
virtual |
Calculate time characteristics of a move.
arPosition | Requested position |
|
virtual |
Calculate time characteristics of a move.
arPosition | Requested position |
|
virtual |
Calculate time characteristics of a move.
arPosition | Requested position |
|
virtual |
Calculate time characteristics of a move.
arPosition | Requested position |
|
virtual |
Calculate time characteristics of a move.
arPosition | Requested position |
|
virtual |
Calculate time characteristics of a move.
arPosition | Requested position |
|
virtual |
Calculate time characteristics of a move.
arPosition | Requested position |
|
virtual |
Calculate time characteristics of a move.
arPosition | Requested position |
|
virtual |
Inactivate axis.
apSync | A pointer to a sync object if used asynchronous |
Reimplemented in CINOSPhysicalAxis.
|
virtual |
Move to arPosition with actual commanded jerk, acc/deceleration and velocity.
arPosition | The position where to move to. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition with speed set apParam.
arPosition | The position where to move to. |
apParam | Name of the requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition with speed set apParam. The move is done in a so called safe way (backward -> partner -> forward). The partner axis has to be defined with the method SetPartner.
arPosition | The position where to move to. |
arSafe1 | The axis first moves this distance backward |
arSafe2 | At the end the axis moves this distance forward |
apParam1 | Pointer to a structure containing the requested speed set for safe1 move |
apParam2 | Pointer to a structure containing the requested speed set for safe2 move |
arPartner | Requested position of the partner axis |
apPatner | Pointer to a structure containing the requested partner speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition with speed set apParam. The move is done in a so called safe way (backward -> partner -> forward). The partner axis has to be defined with the method SetPartner.
arPosition | The position where to move to. |
arSafe1 | The axis first moves this distance backward |
arSafe2 | At the end the axis moves this distance forward |
apParam1 | Name of the requested speed set for safe1 move |
apParam2 | Name of the requested speed set for safe2 move |
arPartner | Requested position of the partner axis |
apPatner | Name of the requested partner speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition with speed set apParam.
arPosition | The position where to move to. |
apParam | Pointer to a structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition with actual commanded jerk, acc/deceleration and velocity. Ensure after arPositionVel a velocity that is smaller than or equal to arVelocity.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition with speed set apParam. Ensure after arPositionVel a velocity that is smaller than or equal to arVelocity.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel. Note that this speed will be adjusted by this move's slow motion factor. That is, if slow motion is unequal 1.0, arVelocity will be adjusted accordingly |
apParam | Name of the requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition with speed set apParam. Ensure after arPositionVel a velocity that is smaller than or equal to arVelocity.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel. Note that this speed will be adjusted by this move's slow motion factor. That is, if slow motion is unequal 1.0, arVelocity will be adjusted accordingly |
apParam | Pointer to a structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition with actual commanded jerk, acc/deceleration and velocity. Ensure befor arPositionVel a velocity that is smaller than or equal to arVelocity.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel. Note that this speed will be adjusted by this move's slow motion factor. That is, if slow motion is unequal 1.0, arVelocity will be adjusted accordingly |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition with speed set apParam. Ensure before arPositionVel a velocity that is smaller than or equal to arVelocity.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel. Note that this speed will be adjusted by this move's slow motion factor. That is, if slow motion is unequal 1.0, arVelocity will be adjusted accordingly |
apParam | Name of the requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition with speed set apParam. Ensure befor arPositionVel a velocity that is smaller than or equal to arVelocity.
arPosition | The position where to move to. |
arPositionVel | After this position the velocity is smaller than or equal to arVelocity |
arVelocity | The requested maximal velocity after arPositionVel. Note that this speed will be adjusted by this move's slow motion factor. That is, if slow motion is unequal 1.0, arVelocity will be adjusted accordingly |
apParam | Pointer to a structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition within the given time arTime and the speedset apParam. The speed set values are treated as max. values. If the required values would exceed the speedset ones an error is returned and the move is not started.
arPosition | The position where to move to. |
arTime | The time [sec] for the move. |
abUseP5 | if true the system uses a P5 law algorithm for the move. |
apParam | Name of the requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition within the given time arTime and the speedset apParam. The speed set values are treated as max. values. If the required values would exceed the speedset ones an error is returned and the move is not started.
arPosition | The position where to move to. |
arTime | The time [sec] for the move. |
abUseP5 | if true the system uses a P5 law algorithm for the move. |
apParam | Pointer to a structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Move to arPosition within the given time arTime. Actual commanded jerk, acc/deceleration and velocity are treated as max. values. If the required values would exceed the commanded ones an error is returned and the move is not started.
arPosition | The position where to move to. |
arTime | The time [sec] for the move. |
abUseP5 | if true the system uses a P5 law algorithm for the move. |
apSync | A pointer to a sync object if used asynchronous |
|
inline |
Returned the 'normed' value of arPosition.
Calculate the normed value of the given arPosition. To calc the normed value, the actual axis properties are taken. If norming is not active, the given value is returned.
arPosition | Position to be normed |
|
virtual |
Add a path point to the actual pull list and start pull mode if not et done. If one is running an axis in pull mode, one has to provide a new path point for every axis sample, e.g. if the axis is sampled over the fieldbus with 4kHz, dT between two points is 0.000250 s.
arS | Requested position [unit] at time [t] |
arV | Requested velocity [unit/s] at time [t] |
arA | Requested acceleration [unit/s^2] at time [t] |
arJ | Requested jerk [unit/s^3] at time [t] |
|
virtual |
Add a path point to the actual pull list and start pull mode if not et done. If one is running an axis in pull mode, one has to provide a new path point for every axis sample, e.g. if the axis is sampled over the fieldbus with 4kHz, dT between two points is 0.000250 s.
aData | Requested position [unit], velocity [unit/s], acceleration [unit/s^2] and jerk [unit/s^3] at time [t] |
|
virtual |
Add a path point to the actual pull list and start pull mode if not et done. If one is running an axis in pull mode, one has to provide a new path point for every axis sample, e.g. if the axis is sampled over the fieldbus with 4kHz, dT between two points is 0.000250 s.
apData | Requested position [unit], velocity [unit/s], acceleration [unit/s^2] and jerk [unit/s^3] at time [t]. IMPORTANT : apData is deleted after processed |
|
virtual |
Relax a coupled slave axis for a given time.
apTimeMs | Requested relax time [ms] |
apSync | A pointer to a sync object if used asynchronous |
Reimplemented in CINOSPhysicalAxis.
|
virtual |
Create a new segmentation move at given position.
arSlowMotion | Requested slowmotion factor |
arStartPosition | Requested startposition |
arStartVelocity | Requested startvelocity |
|
virtual |
Create a new segmentation move.
arSlowMotion | Requested slowmotion factor |
arVelocity | Requested start velocity |
|
virtual |
Add a move to arPosition with actual velocity.
arPosition | Requested endposition of segment |
|
virtual |
Add a move to arPosition. Velocity and acceleration in arPosition have to be 0.0.
arPosition | Requested endposition of segment |
|
virtual |
Add a move to arPosition. Velocity and acceleration in arPosition have to be 0.0.
arPosition | Requested endposition of segment |
apParam | Name of requested speed set. |
|
virtual |
Add a move to arPosition. Requested velocity in arPosition is arVelocity, the acceleration is 0.0..
arPosition | Requested endposition of segment |
arVelocity | Requested endvelocity of segment |
|
virtual |
Add a move to arPosition. Requested velocity in arPosition is arVelocity, the acceleration is 0.0..
arPosition | Requested endposition of segment |
arVelocity | Requested endvelocity of segment |
apParam | Name of requested speed set. |
|
virtual |
Add a move to arPosition. Requested velocity in arPosition is arVelocity, the acceleration is 0.0..
arPosition | Requested endposition of segment |
arVelocity | Requested endvelocity of segment |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Add a move to arPosition. Velocity and acceleration in arPosition have to be 0.0.
arPosition | Requested endposition of segment |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
stay at actual position for arTime [sec].
arPosition | Requested time [sec] |
|
virtual |
Sets the time of the last added segpos segment [sec]. Can be used to adjust a previous added pos segment
arPosition | Requested time [sec] |
|
virtual |
Run actual segments.
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Returns time the actual segment move takes.
|
virtual |
Directly change velocity to the new value.
arVelocity | Requested new velocity |
apParam | Name of requested speed set. |
|
virtual |
Directly change velocity to the new value.
arVelocity | Requested new velocity |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Sets the actual axis position. This method doesn't change a current following error and it is therefore allowed to change the axis position during a running move.
An axis has three different positions :
commanded the requested target position of a current or the last move
actual represents the calculated (ramp) and commanded (control loop) position at a certain point in time (e.g. now) during the move
real represents the actual (physical) position fed back from (or calculated by) the position channel
arPosition | Requested actual axis position |
|
inlinevirtual |
set norm mode
Reimplemented in CINOSPhysicalAxis.
|
inlinevirtual |
set norm move direction
|
virtual |
Sets the real axis position. This method ignores a current following error and should therefore NOT be used during a running move, as this leads to following error jumps. It is also important to mention, that one looses precision if this method is called (e.g. multiple times) on an axis that has a following error that is not equal to zero!
An axis has three different positions :
commanded the requested target position of a current or the last move
actual represents the calculated (ramp) and commanded (control loop) position at a certain point in time (e.g. now) during the move
real represents the actual (physical) position fed back from (or calculated by) the position channel
arPosition | Requested real axis position |
|
virtual |
Allows to live change the tracking factor of an active 'Track'.
arFactor | The new tracking factor. |
|
virtual |
Stop a running move with the currently selected speed set.
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Stop a running move with the given speed set.
apParam | Name of requested speed set. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Stop a running move with the currently selected speed set at requested position.
arPosition | Requested position [unit] to stop at. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Stop a running move with the given speed set at requested position.
arPosition | Requested position [unit] to stop at. |
apParam | Name of requested speed set. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Stop a running move with the given speed set at requested position.
arPosition | Requested position [unit] to stop at. |
apParam | Pointer to structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Stop a running move with the given speed set.
apParam | Pointer to structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous. |
|
virtual |
Stop a running move with the currently selected speed set. The stop is calculated live and therefore the most efficient way to stop an axis. This command should be used if one needs to stop an axis from within a high prio task (e.g. a fieldbus hook).
|
virtual |
Stop a running move with the given speed set and required slowmotion factor. The stop is calculated live and therefore the most efficient way to stop an axis. This command should be used if one needs to stop an axis from within a high prio task (e.g. a fieldbus hook).
arSlowMotion | Requested slowmotion factor to stop with. |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Stop a running move with the given speed set and required slowmotion factor. The stop is calculated live and therefore the most efficient way to stop an axis. This command should be used if one needs to stop an axis from within a high prio task (e.g. a fieldbus hook).
arDelta | Stop arDelta after current position. |
arSlowMotion | Requested slowmotion factor to stop with. |
apParam | Pointer to structure containing the requested speed set. |
|
virtual |
Search reference mark till arPosition and set actual position to 0.0 at mark.
arPosition | The position where to move to. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Search reference mark till arPosition and set actual position to 0.0 at mark.
arPosition | The position where to move to. |
apParam | Name of requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Search reference mark till arPosition and set actual position to arSyncPos at mark.
arPosition | The position where to move to. |
arSyncPos | Requested position at reference mark. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Search reference mark till arPosition and set actual position to arSyncPos at mark.
arPosition | The position where to move to. |
arSyncPos | Requested position at reference mark. |
apParam | Name of requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Search reference mark till arPosition and set actual position to arSyncPos at mark.
arPosition | The position where to move to. |
arSyncPos | Requested position at reference mark. |
apParam | Pointer to a structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Search reference mark till arPosition and set actual position to 0.0 at mark.
arPosition | The position where to move to. |
apParam | Pointer to a structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Search reference mark and set actual position to arSyncPos at mark.
arSyncPos | Requested position at reference mark. |
apParam | Name of requested speed set. |
apObject | Pointer to inco object with additional parameters. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Start an endless toggle between arPosition1 and arPosition2 with actual commanded a jerk, acc/deceleration and velocity.
arPosition1 | First toggle position. |
arPosition2 | Second toggle position. |
|
virtual |
Start an endless section toggle between arPosition1 and arPosition2 with actual commanded a jerk, acc/deceleration and velocity.
arPos1Min | Requested minimum of first toggle position. |
arPos1Max | Requested maximum of first toggle position. |
arPos2Min | Requested minimum of second toggle position. |
arPos2Max | Requested maximum of second toggle position. |
auDelayMin | Requested minimum delay [ms] between two moves |
auDelayMax | Requested maximum delay [ms] between two moves |
|
virtual |
Track the variable with name apVarName to the commanded value arCmdValue.
apVarName | Name of the variable in the inco tree. |
arCmdValue | Requested commanded value. |
arFactor | Value of variable * arFactor is taken as commanded axis position. |
auFilterLength | Provides the possibility to filter the input value. |
|
virtual |
Track the variable with name apVarName.
apVarName | Name of the variable in the inco tree. |
arFactor | Value of variable * arFactor is taken as commanded axis position. |
auFilterLength | Provides the possibility to filter the input value. |
auDirection | 0-pos and neg, 1-only pos, 2-only negative direction |
apParam | Name of limiting speed set (if any) |
|
virtual |
Track the variable with name apVarName.
apVarName | Name of the variable in the inco tree. |
arFactor | Value of variable * arFactor is taken as commanded axis position. |
auFilterLength | Provides the possibility to filter the input value. |
auDirection | 0-pos and neg, 1-only pos, 2-only negative direction |
|
virtual |
Update a running Move to actual commanded values (acc,dec,vel,jerk) Signal apSync if constant velocity reached (acc = 0).
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Update a running Move to speed set apParam. Signal apSync if constant velocity reached (acc = 0).
apParam | Name of requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Update a running Move to speed set apParam. Signal apSync if constant velocity reached (acc = 0).
apParam | Pointer to structure containing the requested speed set. |
apSync | A pointer to a sync object if used asynchronous |
|
virtual |
Wait for any move to finish.
|
virtual |
Wait for the given axis control cycle ticks. This method can be useful if it is necessary to synchronize an application task somehow to the axis control cycle, e.g. auTicks = 1 means, the task returns after at least one axis control cycle occured.
auTicks | Number of ticks to wait |