Re: [Emc-users] Modbus Progress and Userspace

2008-02-23 Thread Kirk Wallace
On Sat, 2008-02-23 at 08:50 -0600, Jeff Epler wrote: > On Thu, Feb 21, 2008 at 01:43:13PM -0800, Kirk Wallace wrote: > > I just noticed the --userspace flag for comp. Can I just massage my C > > file into comp form and have comp do all the real work? Then just use > > "loadusr" instead of the "load

Re: [Emc-users] Modbus Progress and Userspace

2008-02-23 Thread Jeff Epler
On Thu, Feb 21, 2008 at 01:43:13PM -0800, Kirk Wallace wrote: > I just noticed the --userspace flag for comp. Can I just massage my C > file into comp form and have comp do all the real work? Then just use > "loadusr" instead of the "loadrt" I am used to with comp files? What do > I do with "main"?

Re: [Emc-users] Modbus Progress and Userspace

2008-02-22 Thread jcombs
Kirk, I typically go to the web and "Google" for "C Language". Lots of really good sites with examples. Couple that I have been using: http://www.imada.sdu.dk/~svalle/courses/dm14-2005/mirror/c/ http://en.wikipedia.org/wiki/C_(programming_language) I have found that I no longer need to have a

Re: [Emc-users] Modbus Progress and Userspace

2008-02-21 Thread Kirk Wallace
On Wed, 2008-02-20 at 19:49 -0500, John Kasunich wrote: > Kirk Wallace wrote: > > I have a command/response test program working with a ModIO controller. > > You can see the C file read_Din-1b.c here: > > > > http://www.wallacecompany.com/machine_shop/EMC2/modbus/ > > > > Next, I would like to ge

Re: [Emc-users] Modbus Progress and Userspace

2008-02-20 Thread John Kasunich
Kirk Wallace wrote: > I have a command/response test program working with a ModIO controller. > You can see the C file read_Din-1b.c here: > > http://www.wallacecompany.com/machine_shop/EMC2/modbus/ > > Next, I would like to get it working with EMC2. I believe, I can just > call my C program from

[Emc-users] Modbus Progress and Userspace

2008-02-20 Thread Kirk Wallace
I have a command/response test program working with a ModIO controller. You can see the C file read_Din-1b.c here: http://www.wallacecompany.com/machine_shop/EMC2/modbus/ Next, I would like to get it working with EMC2. I believe, I can just call my C program from a .hal file using "loadusr read_D