3 smc_gettrackingerror, 4 smc_measuredistance – Lenze PLC Designer PLC-Designer (R2-x) SoftMotion User Manual
Page 44
Advertising
L-force | PLC Designer - SoftMotion
The SoftMotion drive interface
SM_DriveBasic.lib and automatic code generation
44
L
DMS 5.2 EN 03/2011 TD17
3.2.8.3
SMC_GetTrackingError
This POU measures the current and maximum following error, depending on the dead time
which can be caused by communication via a fieldbus and which is specified in cycle
numbers (byDeadTimeCycles). As in the case of SMC_GetMaxSetVelocity, a time stamp
(dwTimeStamp) can be used to measure the time of the maximum.
3.2.8.4
SMC_MeasureDistance
If it is used for a rotary axis, this POU measures the path that has been covered and, in
doing this, takes the change into consideration.
Advertising