Difference between revisions of "SimulatedAxes"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "<axis>" to "<''axis''>")
m (Simulated Axes)
Line 5: Line 5:
 
Simulated axis returns the same number of counts in feedback ([[Axystems:MC-Basic:axis.COUNTFEEDBACK|CFB]]) as was given by command ([[Axystems:MC-Basic:axis.COUNTCOMMAND|CCMD]]).
 
Simulated axis returns the same number of counts in feedback ([[Axystems:MC-Basic:axis.COUNTFEEDBACK|CFB]]) as was given by command ([[Axystems:MC-Basic:axis.COUNTCOMMAND|CCMD]]).
  
{{Note| Position error ([[Axystems:MC-Basic:axis.POSITIONERROR|PE]]) of a simulated axis is not always zero. The non zero value can be due to:
+
{{Note| Position error ([[Axystems:MC-Basic:axis.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 [[Axystems:MC-Basic:axis.POSITIONFACTOR|PFAC]]) values.
 
* Integer to float conversion (especially with very small [[Axystems:MC-Basic:axis.POSITIONFACTOR|PFAC]]) values.
Line 15: Line 15:
  
 
<pre>
 
<pre>
import_c sercSetSimulDelay(byval as long , byval as long  ) as long
+
import_c sercSetSimulDelay(byval as long , byval as long  ) as long
import_c sercGetSimulDelay(byval as long , as long ) as long
+
import_c sercGetSimulDelay(byval as long , as long ) as long
 
</pre>
 
</pre>
 
}}
 
}}

Revision as of 10:51, 27 March 2014

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-Info.svgNOTE
Position error (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 PFAC) values.


NOTE-Info.svgNOTE
Starting from firmware version 4.7.2 propagation delay of a simulated axes will be 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: