Difference between revisions of "MC-Basic:element.POSITIONERRORDELAY"

From SoftMC-Wiki
Jump to: navigation, search
(new page)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Languages}}
+
{{Languages|MC-Basic:element.POSITIONERRORDELAY}}  
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 60: Line 60:
 
* [[SimulatedAxes#Simulated_Axes | Simulated Axes ]]
 
* [[SimulatedAxes#Simulated_Axes | Simulated Axes ]]
 
* [[MC-Basic:element.POSITIONCOMMANDHISTORY| POSITIONCOMMANDHISTORY]]
 
* [[MC-Basic:element.POSITIONCOMMANDHISTORY| POSITIONCOMMANDHISTORY]]
* [[How_to_setup_Position_Error_Delay|How_to_setup_Position_Error_Delay]]
+
* [[How_to_setup_Position_Error_Delay|How to setup Position Error Delay]]
 +
* [[MC-Basic:element.POSITIONERROR|POSITIONERROR]]
 +
* [[MC-Basic:element.VELOCITYERROR|VELOCITYERROR]]
 +
* [[MC-Basic:element.ACCELERATIONERROR|ACCELERATIONERROR]]
 
}}
 
}}

Latest revision as of 10:34, 20 October 2020

Language: English  • 中文(简体)‎

This property returns the delay, as a number of AnyBus cycles, between a position command and the position feedback for the calculation of the position error.

Typically this delay includes:

  • At least one motion bus sample for sending the command position to the drive.
  • Time used for motion preparation (micro-interpolation), typically it is one sample but could be less depends on the drive manufacturer.
  • At least one sample for sending the feedback position from the drive.

If using micro interpolation on the drive, this delay may change from 2 cycles (no micro interpolation) to 3 (with micro interpolation).

This properly must be explicitly changed when switching the micro interpolation mode on the drives. Otherwise, an erroneous position error is calculated.

Depending on drive manufacturer and type of the motion bus the sending and receiving delays can vary.

NOTE-Info.svgNOTE
It is important to note that the timing of internal feedback sampling inside the drive is not taken into account In all of the calculation we assume that position feedback is taken at the start of the motion bus sample, although it might be not true.

Short form

<axis>.PEDel

Syntax

<axis>.PositionErrorDelay = <value>

?<axis>.PositionErrorDelay

Availability

All versions

Type

Double (was Long in previous fw versions)

Range

1 to 32

Units

Motion-Bus cycle times

Default

2 (Assuming no microinterpolation)

Scope

Task or Terminal

Limitations

To set the value within a task, the element must be attached to that task (using the ATTACH command) and disabled (element.ENABLE = 0)

Examples

Axis
A1.PEDel = 3

Group
G1.PEdel =3

See Also