CamCharacteristics
Computed characteristics of a cam table describing its motion profile properties.
Syntax
Definition:
TYPE CamCharacteristics :
STRUCT
NominalMasterVelocity : LREAL;
StartPoint : CamProfilePoint;
EndPoint : CamProfilePoint;
PointAtMinSlavePosition : CamProfilePoint;
PointAtMinSlaveVelocity : CamProfilePoint;
PointAtMinSlaveAcceleration : CamProfilePoint;
PointAtMinSlaveJerk : CamProfilePoint;
PointAtMaxSlavePosition : CamProfilePoint;
PointAtMaxSlaveVelocity : CamProfilePoint;
PointAtMaxSlaveAcceleration : CamProfilePoint;
PointAtMaxSlaveJerk : CamProfilePoint;
SlaveMeanAbsoluteVelocity : LREAL;
SlaveEffectiveAcceleration : LREAL;
Oid : OTCID;
NumberOfPoints : UDINT;
NumberOfActivePoints : UDINT;
NumberOfActiveSegments : UDINT;
IsValid : BOOL;
IsPeriodic : BOOL;
MinContinuityRequirement : EContinuity;
END_STRUCT
END_TYPEParameters
Name | Type | Default | Description |
|---|---|---|---|
NominalMasterVelocity | LREAL | 0.0 | Nominal master velocity used to convert dimensionless slave values to time-based values. |
StartPoint |
| Cam profile point at the start of the table. | |
EndPoint |
| Cam profile point at the end of the table. | |
PointAtMinSlavePosition |
| Cam profile point where the slave position reaches its minimum. | |
PointAtMinSlaveVelocity |
| Cam profile point where the slave velocity reaches its minimum. | |
PointAtMinSlaveAcceleration |
| Cam profile point where the slave acceleration reaches its minimum. | |
PointAtMinSlaveJerk |
| Cam profile point where the slave jerk reaches its minimum. | |
PointAtMaxSlavePosition |
| Cam profile point where the slave position reaches its maximum. | |
PointAtMaxSlaveVelocity |
| Cam profile point where the slave velocity reaches its maximum. | |
PointAtMaxSlaveAcceleration |
| Cam profile point where the slave acceleration reaches its maximum. | |
PointAtMaxSlaveJerk |
| Cam profile point where the slave jerk reaches its maximum. | |
SlaveMeanAbsoluteVelocity | LREAL | 0.0 | Mean absolute velocity of the slave over the entire cam table range. |
SlaveEffectiveAcceleration | LREAL | 0.0 | RMS (effective) acceleration of the slave over the entire cam table range. |
Oid | OTCID | 0 | Object ID of the cam table these characteristics belong to. |
NumberOfPoints | UDINT | 0 | Total number of profile points in the cam table. |
NumberOfActivePoints | UDINT | 0 | Number of non-ignored profile points in the cam table. |
NumberOfActiveSegments | UDINT | 0 | Number of active interpolation segments between the profile points. |
IsValid | BOOL | false | TRUE if the characteristics have been computed successfully. |
IsPeriodic | BOOL | false | TRUE if the cam table is periodic (start and end boundary conditions match). |
MinContinuityRequirement | PositionVelocityAcceleration | Minimum continuity level required for smooth operation of the cam table. |