On Saturday 14 January 2017 08:39:44 EBo wrote:

[...]

> It seams a little heavy handed to repurpose M7-9.  My not just define
> your own M101-199?

I probably should have, but this way I have check-button controls for 
both with a mouse click. Lcnc axis needs to grow the ability to put more 
labeled check boxes on the left, control panel, just for such uses.  So 
I used what it brung to the pot luck dinner.

> That does pose the question that vacuum chip 
> removal that we should probably find and implement a code for it (or a
> code that toggles yet another power plug).  I can intuit repurposing a
> power switch for the vacuum, but if anyone reads your code they might
> not know that you repurposed the coolant to vacuum on that machine.

The actual control is by switching a charge pump, which results in about 
500 ms lag. Seemed better than having the vacuum come on when lcnc was 
stopped.  The charge pump detector in turn drives a ice cube to switch 
half of a duplex.

> Also, if there is any type of feedback line, you could try putting a
> pressure regulator in line, or maybe a delay circuit/relay in the
> path. I once had a machine with something like this
> <http://timerco.com/index.php?l=product_detail&p=41> wired in.  What I
> am thinking is that a change of state of the air valve triggers a 1.5
> second signal trigger.  You may be able to wire it inline with
> whatever you use to read tool-touchoffs and as soon as the line goes
> active again, you continue the program.  Just a thought, and without
> looking at the schematics of your machine I am not sure what could be
> wrangled.

The pressure switch, with a huge mechanical hysteresis I can get at TSC, 
and if the tire pump ever gets assembled, would be used as the pressure 
tally.

> Also, isn't there some way to access any GPIO pins external to the
> main controller?  Somewhere I thought I saw someone hooking up an
> arduino, triggering a program, and waiting for a response.  Maybe that
> was not with LCNC...

Someone probably has. :) But I am nearly out of gpio on that 5i25 as both 
ports are hooked up now, and if I ever put a rotary table on it, I'll 
have to move whats gpio on p3 since there doesn't seem to be a way to 
specify where (p2-p3) another stepgen would appear if enabled. The 
config has an A axis, commented put because I needed the gpio for 
something else, home switches maybe as I had not at that point added a 
bob on p2. I need to change my style, and put gpio useage starting at 
the top of p2. Thats what I am doing with the 7i90 on this lathe. gpio 
stuff, like the controls for the SpinX1 for the vfd, are all on the top 
end of P3, at gpio.071, 070, and 069. So I can add all sorts of stuff 
w/o haveing to rewire stuff later.

> Anyway, hope that helps.

It gets the discussion going, and shows a bit of learning on my part too.

>    EBo --

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>

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to