OK, I think I may have found part of my problem
Here is the line from the file

# Classicladder for machine logic (load the realtime portion).
# Just uncomment the following line if you want a Software PLC
#loadrt classicladder_rt numRungs=4 numBits=16 numWords=4 numTimers=2
numMonostables=2 
numPhysInputs=16 numPhysOutputs=8 numArithmExpr=4 numSections=1

When viewing this on my Linux machine, I took these to be different lines,
but when viewing them on my windows machine, I see that it is all one line.
I had commented out the like this: 
 
#numPhysInputs=16 numPhysOutputs=8 numArithmExpr=4 numSections=1
numPhysInputs=16 numPhysOutputs=8 numArithmExpr=4 numSections=1

and then changed the line to read :
numPhysInputs=32 numPhysOutputs=16 numArithmExpr=4 numSections=1

And I understand now why that would give me an error.

Do I only have to add pin definitions for 17-32? Will EMC automatically
detect all pins?
Thanks
Glenn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glenn Stewart
Sent: Tuesday, May 13, 2008 1:49 PM
To: 'Enhanced Machine Controller (EMC)'
Subject: Re: [Emc-users] Motenc-Lite I/O question


Unfortunately I am 100 miles away from the machine with no Linux box in
sight. Is there somewhere that I can find the motenc_io.hal file to give you
the exact line that I am speaking of? I have googled it with no luck. I
apologize for not having more detailed information for you, but I had hoped
this was a simple error on my part. 
Thanks
Glenn

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Kasunich
Sent: Tuesday, May 13, 2008 12:49 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Motenc-Lite I/O question

Glenn Stewart wrote:
> Gentlemen,
> 
> I have the Motenc-lite board with the Enc-Dac board and two I/O boards. So
> as I understand it, I should have 32 digital inputs and 16 outputs. But
when
> I try to change the "number of physical inputs" parameter to anything
above
> 16 or the outputs above 8, I get an error and EMC no longer loads. Have I
> done something wrong? Do I have to define them first? If I change it back
to
> 16/8 everything loads fine.
> 
> Thanks
> 
> Glenn Stewart

I'm not sure what you mean by the "number of physical inputs" parameter. 
  I don't have a motenc board and it's been a long time since I worked 
on the one at the CNC Workshop.  But the relevant documentation is here:
http://www.linuxcnc.org/docview/html//hal_drivers.html#r1_6 and it 
doesn't show any parameters at driver load time.

You say "I get an error and EMC no longer loads".  Please post the exact 
error message(s).

(rant) Whenever you are looking for help with some error, please post 
the exact text of the error message.  If you are running EMC from an 
icon, don't.  Open a terminal window and start it from the terminal - 
you are much more likely to see important troubleshooting messages that 
way.  Icons are fine _after_ you have everything working the way you 
like it. (end rant)

Once we know exactly what you are doing and what EMC is doing in 
response, we can probably help.

Regards,

John Kasunich



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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
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