PC to controller comunication protocols
Posted by
stan
on 2008-02-26 06:52:14 UTC
Hi all. For a while I have been working on a microcontroller program to take
in g-code sent over a serial line (COM) and translate it to machine
movements. It's going ok so far, it can take basic g-code such as would be
created by eagle for PCB milling (user contrib script, cant remember who but
thanks a lot) but it's causing a big hold-up to implement the more
complicated functions such as curves (bloody floating points :) ).
One plan is to put an interpreter on the PC to take in any g-code that
confirms to the spec and turn it into simplified code that the
microcontroller can handle as-is.
This will still used lines of g-code sent one by one directly over the serial
line (ascii). The idea is any PC can be plugged into it and work with no
special software, just hyperterm, gtkterm or... whatever it is macs use.
Can anyone suggest an alternative to ascii-over-serial? It needs to be a
common and free to use protocol that doesn't lock the system into one
specific OS or software component. I have had a look around but have only
seen either systems for direct control over the parallel port or
vendor-specific systems that keep their protocols close to their chest.
If something like that exist then I'm at the point where it would make sense
to use it, otherwise I'll stick to ascii-over-serial.
Thanks.
in g-code sent over a serial line (COM) and translate it to machine
movements. It's going ok so far, it can take basic g-code such as would be
created by eagle for PCB milling (user contrib script, cant remember who but
thanks a lot) but it's causing a big hold-up to implement the more
complicated functions such as curves (bloody floating points :) ).
One plan is to put an interpreter on the PC to take in any g-code that
confirms to the spec and turn it into simplified code that the
microcontroller can handle as-is.
This will still used lines of g-code sent one by one directly over the serial
line (ascii). The idea is any PC can be plugged into it and work with no
special software, just hyperterm, gtkterm or... whatever it is macs use.
Can anyone suggest an alternative to ascii-over-serial? It needs to be a
common and free to use protocol that doesn't lock the system into one
specific OS or software component. I have had a look around but have only
seen either systems for direct control over the parallel port or
vendor-specific systems that keep their protocols close to their chest.
If something like that exist then I'm at the point where it would make sense
to use it, otherwise I'll stick to ascii-over-serial.
Thanks.
Discussion Thread
dandumit
2008-02-26 04:43:43 UTC
Cutting helical gear - req for info
Michael Fagan
2008-02-26 06:44:58 UTC
Re: [CAD_CAM_EDM_DRO] Cutting helical gear - req for info
stan
2008-02-26 06:52:14 UTC
PC to controller comunication protocols
Philip Burman
2008-02-26 11:08:41 UTC
Re: Cutting helical gear - req for info
dgoadby
2008-02-27 05:54:43 UTC
Re: PC to controller comunication protocols
Yahoo
2008-02-27 07:51:43 UTC
Re: PC to controller comunication protocols
stan
2008-02-27 08:52:00 UTC
ref: PC to controller comunication protocols
Doug Chartier
2008-02-27 09:02:36 UTC
Re: Cutting helical gear - req for info
Alan KM6VV
2008-02-27 09:59:07 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC to controller comunication protocols
jcc3inc
2008-02-28 09:34:31 UTC
Re: PC to controller comunication protocols
stan
2008-02-28 10:00:06 UTC
Ref: PC to controller comunication protocols
Yahoo
2008-02-28 12:43:04 UTC
Re: PC to controller comunication protocols
Yahoo
2008-02-28 12:45:10 UTC
Re: PC to controller comunication protocols
Alan KM6VV
2008-02-28 15:22:28 UTC
Re: [CAD_CAM_EDM_DRO] Re: PC to controller comunication protocols
stan
2008-02-28 17:38:05 UTC
Ref: PC to controller comunication protocols
mrclicit
2008-03-01 08:51:43 UTC
Re: Ref: PC to controller comunication protocols
Alan KM6VV
2008-03-01 09:19:50 UTC
Re: [CAD_CAM_EDM_DRO] Re: Ref: PC to controller comunication protocols
stan
2008-03-01 09:31:51 UTC
Ref: PC to controller comunication protocols
Mike Pogue
2008-03-01 13:25:46 UTC
Re: [CAD_CAM_EDM_DRO] Re: Ref: PC to controller comunication protocols
stan
2008-03-01 14:10:47 UTC
Ref: PC to controller comunication protocols
stan
2008-03-01 15:46:36 UTC
Ref: PC to controller comunication protocols
Brian Foley
2008-03-01 18:47:49 UTC
Re: [CAD_CAM_EDM_DRO] Re: Ref: PC to controller comunication protocols