Re: [Emc-users] ISO Torrent?

2011-06-28 Thread Kent A Reed
Peter Loron writes: > > Hello, group! > > Question for all: Is there any interest in making the ISO available via > torrent? > > When I first went to get EMC2 a few weeks ago, I looked for a torrent. > Finding none available, I went ahead and downloaded the ISO directly. > > Recently I (and

Re: [Emc-users] INI file data for a user-defined command in, gcode?

2011-06-28 Thread Karl Cunningham
On 06/28/2011 09:44 AM, Schooner wrote: > >>If I have a program that gets executed via a user-defined M100 > >>command, can that program get the INI file data somehow? > > Hi > > The info you need is in the main axis executable. > > Axis starts with a commandline argument specifying the path of

Re: [Emc-users] INI file data for a user-defined command in gcode?

2011-06-28 Thread Karl Cunningham
On 06/28/2011 12:58 AM, Erik Christiansen wrote: > While I've never bothered with python, it should be able to do what any > other text processing language can. Before beginning to process the > gcode on stdin, open the INI file for reading, find the required lines > (preferably using regexes), and

Re: [Emc-users] LPT "in" pinout

2011-06-28 Thread Viesturs Lācis
Andrew, Fox, Sam, I thank all of You! That is exactly, what I needed! Viesturs 2011/6/28 sam sokolik : > I think this should give you what you need > > http://linuxcnc.org/docs/2.4/html/hal_parallel_port.html > > sam > > On 6/28/2011 2:05 PM, Viesturs Lācis wrote: >> Hello, folks! >> >> I am shor

Re: [Emc-users] LPT "in" pinout

2011-06-28 Thread sam sokolik
I think this should give you what you need http://linuxcnc.org/docs/2.4/html/hal_parallel_port.html sam On 6/28/2011 2:05 PM, Viesturs Lācis wrote: > Hello, folks! > > I am short on input pins for EMC, so I would like to set the second > LPT port as "in", which gives more input pins. > The 10K $

Re: [Emc-users] LPT "in" pinout

2011-06-28 Thread Fox Mulder
Am 28.06.2011 21:05, schrieb Viesturs Lācis: > Hello, folks! > > I am short on input pins for EMC, so I would like to set the second > LPT port as "in", which gives more input pins. > The 10K $ question is: > where can I find the pinout for "in" mode? > > The first LPT port by default is "out", w

Re: [Emc-users] LPT "in" pinout

2011-06-28 Thread Andrew
2011/6/28 Viesturs Lācis : > Hello, folks! > > I am short on input pins for EMC, so I would like to set the second > LPT port as "in", which gives more input pins. > The 10K $ question is: > where can I find the pinout for "in" mode? > > The first LPT port by default is "out", which has 5 input pin

[Emc-users] LPT "in" pinout

2011-06-28 Thread Viesturs Lācis
Hello, folks! I am short on input pins for EMC, so I would like to set the second LPT port as "in", which gives more input pins. The 10K $ question is: where can I find the pinout for "in" mode? The first LPT port by default is "out", which has 5 input pins - 10, 11, 12, 13 and 15. The remaining

[Emc-users] INI file data for a user-defined command in, gcode?

2011-06-28 Thread Schooner
>>If I have a program that gets executed via a user-defined M100 >>command, can that program get the INI file data somehow? Hi The info you need is in the main axis executable. Axis starts with a commandline argument specifying the path of the .ini file by default. Looks like you are conver

Re: [Emc-users] INI file data for a user-defined command in gcode?

2011-06-28 Thread Erik Christiansen
On 27.06.11 09:46, Karl Cunningham wrote: > On 06/27/2011 07:57 AM, andy pugh wrote: > > loadrt constant names=ratio1,ratio2,ratio3 > > setp ratio1.value [GEAR_RATIOS]ratio1 > > > > > > Then in the shell script > > halcmd getp ratio1.out > > > > should return the value (but I have not tested this)