I think its useful to have a simulated spindle encoder in the sim configs so 
G33.1 (and eventually G84) work in sim, too - currently executing a G33.1 in 
sim/axis.ini just blocks execution which is counter-intuitive

It turns out all is needed for axis.ini to have a simulated spindle encoder is:

- define  a [EMCMOT]BASE_PERIOD = 50000
- add [HAL]HALFILE = ../lathe.hal

and G33.1 (and likely other spindle-synced moves) work in sim

It turns out that configs/sim/lathe.hal is a misnomer since all it does is add 
a simulated spindle encoder

Barring diverging opinions, I will change lathe.hal to sim_encoder.hal and fix 
the affected files, as well as adding sim_encoder.hal to the configs/sim/axis/* 
files.

- Michael




------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to