On 1 Jan 2008 at 18:13, [EMAIL PROTECTED] wrote:

> > On 31 Dec 2007 at 19:39, [EMAIL PROTECTED]
> > wrote:
> > 
> > Kirk, 
> > 
> > On the other hand I could just use a $99 plc with an $115 4 channel
> > 12 bit analog card that takes 0-10v. 
> 
> I believe EMC doesn't talk to PLC's yet, but appears Steve has just
> written a Modbus driver so that may change soon. 

I was just planning on using the outputs from the PLC. I can program 
the PLC to convert the ADC value to BCD no problem. It does use a lot
of I/O though... 

> 
> > Could you do something like BCD into EMC from the plc?
> 
> If your PLC can output BCD on digital output pins, then yes. The
> turret on my lathe outputs the tool position in BCD on four pins. I
> used the weighted sum component, wsum, to convert it to an integer.
> See the Turret section of this file:
> 
> http://www.wallacecompany.com/cnc_lathe/HNC/emc2/configs/hnc_io-3a.hal
> 
> > Looking at Dallur's chart he is just sending Move Z up or down from
> > his THC.
> > 
> > I'd still like to display the analog voltage for my viewing
> > pleasure...
> > 
> > Just thinking out loud...

Thanks for the input
John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to