ah  ok.

well the machine has 3 paralel ports.  one on the motherboard (that I don't want to use, in case I mess it up)  so I got two pcie cards

and connect them to those.


so:

on parport0; LPT1;  I have nothing connected

on parport1; LPT2:  I have the lathe

on partport2; LPT3:  I have the mill


I will try that tomorrow ..



thanks!!,

Ron

On 12/20/19 12:26 AM, Phillip Carter wrote:
For that to work you would need something like this in your hal file:

loadrt hal_parport cfg="0 out 1 out 2 out"

 From what I gather you have two ports, one for a mill and one for a lathe.

So you would have two separate configs and one would have:

loadrt hal_parport cfg="0 out"

And the other would have:

loadrt hal_parport cfg="1 out"

And BOTH would have

parport.0.pin-nn-out etc. etc.

Because BOTH have only one parport therefore it is the first parport in the 
config.



On 20 Dec 2019, at 6:15 pm, R C <cjv...@gmail.com> wrote:

I tried changing that in that .hal config file by changing all occurrences:


parport.0.pin-02-out  to  parport.1.pin-02-out  and parport.2.pin-02-out   (for 
 LP1, LPT2 and LPT3 respectively)


linuxcnc doesn't seem to like that, throws errors


(A long time ago I used turbocnc for trying to get some things to work)



On 12/19/19 11:50 PM, Phillip Carter wrote:
It "should" work using 0,1 or 2 if not then you may need to enter the actual 
address

parport.0 refers to the first port configured in the hal file, if you had two 
ports they would be parport.0 and parport.1

On 20 Dec 2019, at 5:43 pm, R C <cjv...@gmail.com> wrote:

Ok,  so I don't use the "standard/typical" address?

0: 0x3bc   1: 0x378   2: 0x278  ?


So I would want to use  lp1 for my lath   and lp2 for my mill.   From what I 
understand I need to  create two profiles, which is fine


I see stuff in Paxton-Patterson_Lathe.hal like

net xdir            => parport.0.pin-02-out
net xstep           => parport.0.pin-03-out
net ydir            => parport.0.pin-04-out
net ystep           => parport.0.pin-05-out
net zdir            => parport.0.pin-06-out
net zstep           => parport.0.pin-07-out
net adir            => parport.0.pin-08-out
net astep           => parport.0.pin-09-out


I kinda have the impression,  it should be partport.1 for the next parallel 
port and  port.2 for the  last one?



thanks,


Ron

On 12/19/19 10:57 PM, Phillip Carter wrote:
In the Base Information page you can select the number of parallel ports

Then in the Parallel Port 1 page you can select the parallel port using the 
numbers 0,1 or 2 in the Parport BaseAddress entry

Then in the Parallel Port 2 page you can select the parallel port using the 
numbers 0,1 or 2 in the entry that has no label in the bottom centre


On 20 Dec 2019, at 4:45 pm, R C <cjv...@gmail.com> wrote:

Hello,


when I run stepconf, it creates a *.hal file.


It seems that the parallel port  used in there by default is "parport0"  (I 
have 3 parallel ports, 0, 1 and 2).


can I create a config for a specific port?  or di I manually need to edit them?

(I would like to have one machine on lp1/partport1 and the other on 
lp2/partport2 and not use parport0)


thanks,


Ron



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to