Difference between revisions of "SimulatedAxes"
(AXY: new links) |
|||
(19 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
= Simulated Axes = | = Simulated Axes = | ||
− | An axis can be declared simulated by setting [[ | + | An axis can be declared simulated by setting [[MC-Basic:axis.SIMULATED|<''axis''>.simulated]] to '''1'''. |
− | Simulated axis returns the same number of counts in feedback ([[ | + | Simulated axis returns the same number of counts in feedback ([[MC-Basic:axis.COUNTFEEDBACK|CFB]]) as was given by command ([[MC-Basic:axis.COUNTCOMMAND|CCMD]]). |
− | {{Note| Position error ([[ | + | {{Note| Position error ([[MC-Basic:element.POSITIONERROR|PE]]) of a simulated axis is not always zero. The non-zero value can be due to: |
− | * Integer to float conversion (especially with very small [[ | + | * Integer to float conversion (especially with very small [[MC-Basic:axis.POSITIONFACTOR|PFAC]]) values. |
− | * Inadequate [[ | + | * Inadequate [[MC-Basic:element.POSITIONERRORDELAY|PositionErrorDelay ]] value. '''Default propagation delay in simulated axes is 2.'''}} |
− | {{Note | | + | {{Note | Since firmware Version 4.7.2, propagation delay of a simulated axes is accessible through these two user functions: |
<pre> | <pre> | ||
− | import_c sercSetSimulDelay(byval as long | + | import_c sercSetSimulDelay(byval as long , byval as long ) as long |
− | import_c sercGetSimulDelay(byval as long | + | import_c sercGetSimulDelay(byval as long , as long ) as long |
</pre> | </pre> | ||
}} | }} | ||
+ | |||
+ | |||
+ | See Also: <br> | ||
+ | * [[AXY:Position Error Delay Compensation Algorithm| Position Error Delay Compensation Algorithm]] | ||
+ | * [[MC-Basic:element.POSITIONCOMMANDHISTORY| POSITIONCOMMANDHISTORY]] |
Latest revision as of 11:41, 13 September 2017
Simulated Axes
An axis can be declared simulated by setting <axis>.simulated to 1.
Simulated axis returns the same number of counts in feedback (CFB) as was given by command (CCMD).
NOTE | |
Position error (PE) of a simulated axis is not always zero. The non-zero value can be due to:
|
NOTE | |
Since firmware Version 4.7.2, propagation delay of a simulated axes is accessible through these two user functions:
import_c sercSetSimulDelay(byval as long , byval as long ) as long import_c sercGetSimulDelay(byval as long , as long ) as long |
See Also: