You should be able to simulate a probe in your sim HAL file.
A comparator looking at axis position and driving the probe
input true when the position is above (or below) a specific
value....



On Sat, Sep 26, 2015, at 08:46 AM, Gene Heskett wrote:
> Greetings all;
> 
> In playing with some code I'll be using later today to carve some wood, I 
> have a problem with running it on the simulator, no probe contacts 
> available.
> 
> How hard would it be to add a 4 (or more) axis lookup table reference to 
> the G38.2 probing routine, so I could set the locations where a 
> simulated probe contact could be made?
> 
> IIRC it can open a file (probeopen filename.ext) for writing to record 
> what its doing on a real machine, so how about a named file for reading 
> that contains the contact points it would trigger on when simulating?
> 
> The reason for the named file is so I can spec two different contact 
> locations as I contact 2 inside faces and the bottom of 1/2 a brass cube 
> for one tool, and just a piece of pcb to reset the tool length by 
> diddling z in the g55 mapping the rest of this nearly 400 LOC file uses 
> for the 2nd tool.
> 
> That would be best handled by named files, one for each contact assembly 
> on the jig.
> 
> This would be handier than bottled beer for the simulator version IMO.
> 
> Any chance?
> 
> Thanks all.
> 
> Cheers, Gene Heskett
> -- 
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page <http://geneslinuxbox.net:6309/gene>
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


-- 
  John Kasunich
  [email protected]

------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to