Andy Pugh wrote:
> On 7 April 2010 19:37, Gene Heskett <[email protected]> wrote:
>
>   
>> Some languages use the % sign as a mod function.  If its not there, then I
>> suppose it can be cobbled up in 4 or 5 lines of gcode
>>     
>
> The spindles are linked in HAL, not on G-Code. This means that they
> keep synch even when there is no program running.
> However, HAL doesn't have any operators at all. Not only is there no
> mod, there is not even a divide. There is a mult2 and an invert,
> though.
>   
Since these are floating-point variables, multiplying by the inverse 
will work.  So, if you want one axis to run at 1/12 of the other one, 
multiply by a scale factor of .0833333

Jon


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to