[Emc-users] Parallel Port

2018-08-27 Thread Todd Zuercher
I have a duel port PCIe parallel port card that I am trying to use in an 
application, but I'm having a little trouble.

My problem is that I can't seem to use the pins in the control groupe 
(1,14,16,17) as outputs in the normal "out" or "in" configurations.  When set 
up as out or in those pins seem to be dead.  If I configure the port in X mode 
they do work as inputs.  I am at a bit of a loss with what to do.  I am afraid 
that the breakout board I was trying to use might have messed up the parallel 
port card, so I'm a little afraid to plug it into a known good working machine.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel Port

2017-10-16 Thread Andy Pugh
I bought a parallel port pci card from eBay for a test system. It didn’t work. 
I looked more carefully. It’s a SCSI Card. I think that explains it. 
Can’t be bothered to send it back. 


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] parallel port definitions

2019-12-19 Thread R C

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


Re: [Emc-users] Parallel Port

2018-08-27 Thread Gene Heskett
On Monday 27 August 2018 13:38:08 Todd Zuercher wrote:

> I have a duel port PCIe parallel port card that I am trying to use in
> an application, but I'm having a little trouble.
>
> My problem is that I can't seem to use the pins in the control groupe
> (1,14,16,17) as outputs in the normal "out" or "in" configurations. 
> When set up as out or in those pins seem to be dead.  If I configure
> the port in X mode they do work as inputs.  I am at a bit of a loss
> with what to do.  I am afraid that the breakout board I was trying to
> use might have messed up the parallel port card, so I'm a little
> afraid to plug it into a known good working machine.

I don't recall ever seeing a breakout board that used those 5 input pins 
for output.  The logic path doesn't even exist. And most mesa cards like 
the 5i25 don't either that I know of. You can, IIRC, set them as outputs 
in the hal file, but the one time I tried it, nothing came out, so those 
5 pins are inputs. The huge majority of the cheap breakouts are even 
opto-isolated output, which is both a waste of time, and in the case of 
speed controlling a spindle screws things up with the opto's time lags. 
Saintmart are the only cheap breakouts that are good for that, no opto's 
in the outputs at all, but if you have a highcount encoder, you'll have 
to by pass the input opto's as the encoder can be 10x faster than the 
opto's.  Your clue that the opto's aren't fast enough is when you speed 
it up, it suddenly goes wide open.

As long as what you are doing corresponds to an EPP parport, I'd be 
surprised if you hurt anything.

> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street 
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031

-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port

2018-08-27 Thread Jon Elson

On 08/27/2018 12:38 PM, Todd Zuercher wrote:

I have a duel port PCIe parallel port card that I am trying to use in an 
application, but I'm having a little trouble.

My problem is that I can't seem to use the pins in the control groupe (1,14,16,17) as outputs in 
the normal "out" or "in" configurations.  When set up as out or in those pins 
seem to be dead.  If I configure the port in X mode they do work as inputs.  I am at a bit of a 
loss with what to do.  I am afraid that the breakout board I was trying to use might have messed up 
the parallel port card, so I'm a little afraid to plug it into a known good working machine.


Well, first thing is to put some LEDs on the outputs and use 
a par port test program to see what is going on.  Some 
boards have several modes (SPP, BiDir, EPP, ECP) that turn 
different driver strengths on.
And, probably some of these PCIe clone cards may just not 
work completely.  I am most involved with EPP mode, and 
there certainly are some cards out there that just don't 
work.  Also, some cards are totally non-standard register 
arrangement, and will only work with the maker's Windows 
driver supplied on a disc.


Jon


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port

2018-08-28 Thread Todd Zuercher
I have done a fair bit of testing, and pins (1,14,16,17) work as inputs in X 
mode, they don't output any voltage in the other modes, but their resistance to 
ground does change in those modes, so something is happening.  All the other 
pins seem to work fine.
My loadrt line in hal is :
loadrt hal_parport cfg="0xe030 out 0xe010 out"
Using loadrt hal_parport cfg="0 out 1 out" gives the same results.
If I try to use loadrt hal_parport cfg="0xe030 epp 0xe010 epp" I get two 
warning popups "Linux parallel port @65535 not found" and hal shows pins for 4 
parallel ports, but only port 0 seems to work.

lspci -v

06:00.0 Parallel controller: MosChip Semiconductor Technology Ltd. PCI 9865 
Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
Flags: bus master, medium devsel, latency 32, IRQ 19
I/O ports at e030 [size=8]
I/O ports at e020 [size=8]
Memory at fe503000 (32-bit, non-prefetchable) [size=4K]
Memory at fe502000 (32-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: parport_pc
Kernel modules: parport_pc

06:00.2 Parallel controller: MosChip Semiconductor Technology Ltd. PCI 9865 
Multi-I/O Controller (prog-if 03 [IEEE1284])
Subsystem: Device a000:2000
Flags: bus master, medium devsel, latency 32, IRQ 17
I/O ports at e010 [size=8]
I/O ports at e000 [size=8]
Memory at fe501000 (32-bit, non-prefetchable) [size=4K]
Memory at fe50 (32-bit, non-prefetchable) [size=4K]
Capabilities: 
Kernel driver in use: parport_pc
Kernel modules: parport_pc

The output from "cat /proc/ioports |grep parport" is a bit odd. In that it 
doesn't give any actually usable memory addresses
~$ cat /proc/ioports |grep parport
- : parport1
- : parport1
- : parport0
- : parport0

Is it possible I damaged the card by testing it in X mode or that there is 
something wrong with the Cnc4pc C80 breakout boards I'm trying to use that 
wrecked them?  (I used a 470ohm resister to probe the port terminals to test 
with.)
Or is it more likely that this card never really worked right.


Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Jon Elson  
Sent: Monday, August 27, 2018 9:07 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Parallel Port

On 08/27/2018 12:38 PM, Todd Zuercher wrote:
> I have a duel port PCIe parallel port card that I am trying to use in an 
> application, but I'm having a little trouble.
>
> My problem is that I can't seem to use the pins in the control groupe 
> (1,14,16,17) as outputs in the normal "out" or "in" configurations.  When set 
> up as out or in those pins seem to be dead.  If I configure the port in X 
> mode they do work as inputs.  I am at a bit of a loss with what to do.  I am 
> afraid that the breakout board I was trying to use might have messed up the 
> parallel port card, so I'm a little afraid to plug it into a known good 
> working machine.
>
>
Well, first thing is to put some LEDs on the outputs and use a par port test 
program to see what is going on.  Some boards have several modes (SPP, BiDir, 
EPP, ECP) that turn different driver strengths on.
And, probably some of these PCIe clone cards may just not work completely.  I 
am most involved with EPP mode, and there certainly are some cards out there 
that just don't work.  Also, some cards are totally non-standard register 
arrangement, and will only work with the maker's Windows driver supplied on a 
disc.

Jon


--
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port

2018-08-28 Thread Gene Heskett
On Tuesday 28 August 2018 09:25:17 Todd Zuercher wrote:

> I have done a fair bit of testing, and pins (1,14,16,17) work as
> inputs in X mode, they don't output any voltage in the other modes,
> but their resistance to ground does change in those modes, so
> something is happening.  All the other pins seem to work fine. My
> loadrt line in hal is :
> loadrt hal_parport cfg="0xe030 out 0xe010 out"
> Using loadrt hal_parport cfg="0 out 1 out" gives the same results.
> If I try to use loadrt hal_parport cfg="0xe030 epp 0xe010 epp" I get
> two warning popups "Linux parallel port @65535 not found" and hal
> shows pins for 4 parallel ports, but only port 0 seems to work.
>
> lspci -v
>
> 06:00.0 Parallel controller: MosChip Semiconductor Technology Ltd. PCI
> 9865 Multi-I/O Controller (prog-if 03 [IEEE1284]) Subsystem: Device
> a000:2000
>   Flags: bus master, medium devsel, latency 32, IRQ 19
>   I/O ports at e030 [size=8]
>   I/O ports at e020 [size=8]
>   Memory at fe503000 (32-bit, non-prefetchable) [size=4K]
>   Memory at fe502000 (32-bit, non-prefetchable) [size=4K]
>   Capabilities: 
>   Kernel driver in use: parport_pc
>   Kernel modules: parport_pc
>
> 06:00.2 Parallel controller: MosChip Semiconductor Technology Ltd. PCI
> 9865 Multi-I/O Controller (prog-if 03 [IEEE1284]) Subsystem: Device
> a000:2000

MosChip, by several name variations, has been found wanting back in the 
mists of time, failing to do an adequate job in the epp mode, both by me 
and others on this list. I had good luck with startech parport boards at 
the time. But now I'm down to just one x86 machine w/o a mesa 5i25 in 
it. The 5i25, with decent motor voltage, can move the machine 3-8x 
faster than software stepping. It and the Sainsmart bob make a good,  no 
or very minimal mods required, depending on how fast the encoder for 
spindle speed is.
 
>   Flags: bus master, medium devsel, latency 32, IRQ 17
>   I/O ports at e010 [size=8]
>   I/O ports at e000 [size=8]
>   Memory at fe501000 (32-bit, non-prefetchable) [size=4K]
>   Memory at fe50 (32-bit, non-prefetchable) [size=4K]
>   Capabilities: 
>   Kernel driver in use: parport_pc
>   Kernel modules: parport_pc
>
> The output from "cat /proc/ioports |grep parport" is a bit odd. In
> that it doesn't give any actually usable memory addresses ~$ cat
> /proc/ioports |grep parport
> - : parport1
> - : parport1
> - : parport0
> - : parport0
>
> Is it possible I damaged the card by testing it in X mode or that
> there is something wrong with the Cnc4pc C80 breakout boards I'm
> trying to use that wrecked them?  (I used a 470ohm resister to probe
> the port terminals to test with.) Or is it more likely that this card
> never really worked right.

No experience with that particular BOB.

> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street 
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Jon Elson 
> Sent: Monday, August 27, 2018 9:07 PM
> To: Enhanced Machine Controller (EMC)
>  Subject: Re: [Emc-users] Parallel
> Port
>
> On 08/27/2018 12:38 PM, Todd Zuercher wrote:
> > I have a duel port PCIe parallel port card that I am trying to use
> > in an application, but I'm having a little trouble.
> >
> > My problem is that I can't seem to use the pins in the control
> > groupe (1,14,16,17) as outputs in the normal "out" or "in"
> > configurations.  When set up as out or in those pins seem to be
> > dead.  If I configure the port in X mode they do work as inputs.  I
> > am at a bit of a loss with what to do.  I am afraid that the
> > breakout board I was trying to use might have messed up the parallel
> > port card, so I'm a little afraid to plug it into a known good
> > working machine.
>
> Well, first thing is to put some LEDs on the outputs and use a par
> port test program to see what is going on.  Some boards have several
> modes (SPP, BiDir, EPP, ECP) that turn different driver strengths on.
> And, probably some of these PCIe clone cards may just not work
> completely.  I am most involved with EPP mode, and there certainly are
> some cards out there that just don't work.  Also, some cards are
> totally non-standard register arrangement, and will only work with the
> maker's Windows driver supplied on a disc.
>
> Jon
>
>
> --
> Check out the vibrant tech community on one of the world's
> most engaging

Re: [Emc-users] Parallel Port

2018-08-29 Thread Todd Zuercher
An update, I tested the parallel port card in Windows and it seems to work 
there with the supplied drivers.  The control pins will output 3v and I can 
toggle them on/off.   So that means it must simply be a compatibility problem 
with this card and Linuxcnc's parallel port driver.

If anyone has any ideas how to fix it I'm open to suggestions.  

As to switching to a Mesa card, I had looked into it, but because in this 
particular application, because I am using a couiple of parallel ports to 
directly toggle the transistors running some unipolar step motors (stepgen 
type-9) and the old setup I'm replacing uses 24v signals to do it.  It looked 
like it would be simpler to use software stepping rather than an FPGA card.

Oh well, I think I can make due without using those pins anyway (there are 
enough outputs I only need 14), but it would have been simpler if they were 
working.  (I wanted to put all the step motor signals on one breakout board, 
then enable/disable that boards outputs with the other board.  Now I'll have to 
have both boards enabled all the time, and use another means to kill the 
outputs to the drivers.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Gene Heskett  
Sent: Tuesday, August 28, 2018 11:37 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Parallel Port

On Tuesday 28 August 2018 09:25:17 Todd Zuercher wrote:

> I have done a fair bit of testing, and pins (1,14,16,17) work as 
> inputs in X mode, they don't output any voltage in the other modes, 
> but their resistance to ground does change in those modes, so 
> something is happening.  All the other pins seem to work fine. My 
> loadrt line in hal is :
> loadrt hal_parport cfg="0xe030 out 0xe010 out"
> Using loadrt hal_parport cfg="0 out 1 out" gives the same results.
> If I try to use loadrt hal_parport cfg="0xe030 epp 0xe010 epp" I get 
> two warning popups "Linux parallel port @65535 not found" and hal 
> shows pins for 4 parallel ports, but only port 0 seems to work.
>
> lspci -v
>
> 06:00.0 Parallel controller: MosChip Semiconductor Technology Ltd. PCI
> 9865 Multi-I/O Controller (prog-if 03 [IEEE1284]) Subsystem: Device
> a000:2000
>   Flags: bus master, medium devsel, latency 32, IRQ 19
>   I/O ports at e030 [size=8]
>   I/O ports at e020 [size=8]
>   Memory at fe503000 (32-bit, non-prefetchable) [size=4K]
>   Memory at fe502000 (32-bit, non-prefetchable) [size=4K]
>   Capabilities: 
>   Kernel driver in use: parport_pc
>   Kernel modules: parport_pc
>
> 06:00.2 Parallel controller: MosChip Semiconductor Technology Ltd. PCI
> 9865 Multi-I/O Controller (prog-if 03 [IEEE1284]) Subsystem: Device
> a000:2000

MosChip, by several name variations, has been found wanting back in the mists 
of time, failing to do an adequate job in the epp mode, both by me and others 
on this list. I had good luck with startech parport boards at the time. But now 
I'm down to just one x86 machine w/o a mesa 5i25 in it. The 5i25, with decent 
motor voltage, can move the machine 3-8x faster than software stepping. It and 
the Sainsmart bob make a good,  no or very minimal mods required, depending on 
how fast the encoder for spindle speed is.
 
>   Flags: bus master, medium devsel, latency 32, IRQ 17
>   I/O ports at e010 [size=8]
>   I/O ports at e000 [size=8]
>   Memory at fe501000 (32-bit, non-prefetchable) [size=4K]
>   Memory at fe50 (32-bit, non-prefetchable) [size=4K]
>   Capabilities: 
>   Kernel driver in use: parport_pc
>   Kernel modules: parport_pc
>
> The output from "cat /proc/ioports |grep parport" is a bit odd. In 
> that it doesn't give any actually usable memory addresses ~$ cat 
> /proc/ioports |grep parport
> - : parport1
> - : parport1
> - : parport0
> - : parport0
>
> Is it possible I damaged the card by testing it in X mode or that 
> there is something wrong with the Cnc4pc C80 breakout boards I'm 
> trying to use that wrecked them?  (I used a 470ohm resister to probe 
> the port terminals to test with.) Or is it more likely that this card 
> never really worked right.

No experience with that particular BOB.

> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Jon Elson 
> Sent: Monday, August 27, 2018 9:07 PM
> To: Enhanced Machine Controller (EMC)
>  Subject: Re: [Emc-users] Parallel 
> Port
>
> On 08/27/2018 12:38 PM, Todd Zuercher wrote:
> > I have a duel port PCIe parallel port card that I am tr

Re: [Emc-users] Parallel Port

2018-08-29 Thread Gene Heskett
On Wednesday 29 August 2018 10:02:49 Todd Zuercher wrote:

> An update, I tested the parallel port card in Windows and it seems to
> work there with the supplied drivers.  The control pins will output 3v
> and I can toggle them on/off.   So that means it must simply be a
> compatibility problem with this card and Linuxcnc's parallel port
> driver.
>
> If anyone has any ideas how to fix it I'm open to suggestions.
>
> As to switching to a Mesa card, I had looked into it, but because in
> this particular application, because I am using a couiple of parallel
> ports to directly toggle the transistors running some unipolar step
> motors (stepgen type-9) and the old setup I'm replacing uses 24v
> signals to do it.  It looked like it would be simpler to use software
> stepping rather than an FPGA card.
>
> Oh well, I think I can make due without using those pins anyway (there
> are enough outputs I only need 14), but it would have been simpler if
> they were working.  (I wanted to put all the step motor signals on one
> breakout board, then enable/disable that boards outputs with the other
> board.  Now I'll have to have both boards enabled all the time, and
> use another means to kill the outputs to the drivers.

Sounds hairy. How about a bank of transistors to do the 3v-24 volt 
translations between the 5i25's bobs and the unipolar drivers? You 
mention a dual port and the 5i25 comes to mind.

Separating the voltage translations from the functions IOW.

It is 2 separate problems.

And just one of the reasons for my staying as far away as I can from 6 
wire motors, in favor of bipolar, 4 or 8 wire motors. I don't care for 
the double the supply voltage coming back from the unipolar motor when 
that leg is off. But you are already built, so changing that now isn't 
practical from the $$$ point of view.

As for disabling, which I assume would leave the motors free-wheeling, 
does the stepgen.N.enable not stop all drive outputs when disabled in a 
type 9 setting? That way its in the halfile, not by a  bit from a 2nd 
port and BOB. I think I'd want it stopped and locked so as to maintain 
its home position.

I'm probably just noise, carrying coal TO Newcastle. :)

> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street 
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Gene Heskett 
> Sent: Tuesday, August 28, 2018 11:37 AM
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] Parallel Port
>
> On Tuesday 28 August 2018 09:25:17 Todd Zuercher wrote:
> > I have done a fair bit of testing, and pins (1,14,16,17) work as
> > inputs in X mode, they don't output any voltage in the other modes,
> > but their resistance to ground does change in those modes, so
> > something is happening.  All the other pins seem to work fine. My
> > loadrt line in hal is :
> > loadrt hal_parport cfg="0xe030 out 0xe010 out"
> > Using loadrt hal_parport cfg="0 out 1 out" gives the same results.
> > If I try to use loadrt hal_parport cfg="0xe030 epp 0xe010 epp" I get
> > two warning popups "Linux parallel port @65535 not found" and hal
> > shows pins for 4 parallel ports, but only port 0 seems to work.
> >
> > lspci -v
> >
> > 06:00.0 Parallel controller: MosChip Semiconductor Technology Ltd.
> > PCI 9865 Multi-I/O Controller (prog-if 03 [IEEE1284]) Subsystem:
> > Device a000:2000
> > Flags: bus master, medium devsel, latency 32, IRQ 19
> > I/O ports at e030 [size=8]
> > I/O ports at e020 [size=8]
> > Memory at fe503000 (32-bit, non-prefetchable) [size=4K]
> > Memory at fe502000 (32-bit, non-prefetchable) [size=4K]
> > Capabilities: 
> > Kernel driver in use: parport_pc
> > Kernel modules: parport_pc
> >
> > 06:00.2 Parallel controller: MosChip Semiconductor Technology Ltd.
> > PCI 9865 Multi-I/O Controller (prog-if 03 [IEEE1284]) Subsystem:
> > Device a000:2000
>
> MosChip, by several name variations, has been found wanting back in
> the mists of time, failing to do an adequate job in the epp mode, both
> by me and others on this list. I had good luck with startech parport
> boards at the time. But now I'm down to just one x86 machine w/o a
> mesa 5i25 in it. The 5i25, with decent motor voltage, can move the
> machine 3-8x faster than software stepping. It and the Sainsmart bob
> make a good,  no or very minimal mods required, depending on how fast
> the encoder for spindle speed is.
>
> > Flags: bus master, medium devsel, latency 32, IRQ 17
> > I/O ports at e010 [size=8]
> > I/O ports at e000 [size=8]
> > Memory a

Re: [Emc-users] Parallel Port

2018-08-29 Thread Jon Elson

On 08/29/2018 09:02 AM, Todd Zuercher wrote:

An update, I tested the parallel port card in Windows and it seems to work 
there with the supplied drivers.  The control pins will output 3v and I can 
toggle them on/off.   So that means it must simply be a compatibility problem 
with this card and Linuxcnc's parallel port driver.

If anyone has any ideas how to fix it I'm open to suggestions.


Well, you could try a different brand of parport chip.  Or, 
possibly, the mode setting pins of the port are not set so 
that this is working.  But, especially pin 1, (strobe) HAS 
to work as an output for any plain printer to work.  So, I'm 
pretty mystified, unless some crazy thing in the parport 
driver turns off that driver.  Are you configuring the data 
pins (2-9) as input?  Maybe when the port has been set for 
input in the loadrt parport line , it sets ALL bidir pins 
for input.  That kind of makes sense.


A look at the LinuxCNC parport driver code might be instructive.
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/hal_parport.c
I see a mysterious option "x" for direction that is 
described like this :

/* experimental: some parports support a bidirectional

* control port. Enable this with pins 2-9 in output mode,

* which gives a very nice 8 outs and 9 ins. */



Jon
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port

2018-08-29 Thread Todd Zuercher
The software stepgen enable has no effect on the output of the stepgen's phase 
pins.  And I want to be sure to be able to prevent any signal of any kind 
before Linuxcnc is started. (I have a feeling that having 2 or more of the 
wrong phases enabled at the same time might be very bad.)  Also the existing 
old system disables the output to the Z-axis for adjusting the depth, and I 
think the users who are used to working that way might want to retain that 
function.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Gene Heskett  
Sent: Wednesday, August 29, 2018 10:39 AM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Parallel Port

On Wednesday 29 August 2018 10:02:49 Todd Zuercher wrote:

> An update, I tested the parallel port card in Windows and it seems to 
> work there with the supplied drivers.  The control pins will output 3v
> and I can toggle them on/off.   So that means it must simply be a
> compatibility problem with this card and Linuxcnc's parallel port 
> driver.
>
> If anyone has any ideas how to fix it I'm open to suggestions.
>
> As to switching to a Mesa card, I had looked into it, but because in 
> this particular application, because I am using a couiple of parallel 
> ports to directly toggle the transistors running some unipolar step 
> motors (stepgen type-9) and the old setup I'm replacing uses 24v 
> signals to do it.  It looked like it would be simpler to use software 
> stepping rather than an FPGA card.
>
> Oh well, I think I can make due without using those pins anyway (there 
> are enough outputs I only need 14), but it would have been simpler if 
> they were working.  (I wanted to put all the step motor signals on one 
> breakout board, then enable/disable that boards outputs with the other 
> board.  Now I'll have to have both boards enabled all the time, and 
> use another means to kill the outputs to the drivers.

Sounds hairy. How about a bank of transistors to do the 3v-24 volt translations 
between the 5i25's bobs and the unipolar drivers? You mention a dual port and 
the 5i25 comes to mind.

Separating the voltage translations from the functions IOW.

It is 2 separate problems.

And just one of the reasons for my staying as far away as I can from 6 wire 
motors, in favor of bipolar, 4 or 8 wire motors. I don't care for the double 
the supply voltage coming back from the unipolar motor when that leg is off. 
But you are already built, so changing that now isn't practical from the $$$ 
point of view.

As for disabling, which I assume would leave the motors free-wheeling, does the 
stepgen.N.enable not stop all drive outputs when disabled in a type 9 setting? 
That way its in the halfile, not by a  bit from a 2nd port and BOB. I think I'd 
want it stopped and locked so as to maintain its home position.

I'm probably just noise, carrying coal TO Newcastle. :)

> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Gene Heskett 
> Sent: Tuesday, August 28, 2018 11:37 AM
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] Parallel Port
>
> On Tuesday 28 August 2018 09:25:17 Todd Zuercher wrote:
> > I have done a fair bit of testing, and pins (1,14,16,17) work as 
> > inputs in X mode, they don't output any voltage in the other modes, 
> > but their resistance to ground does change in those modes, so 
> > something is happening.  All the other pins seem to work fine. My 
> > loadrt line in hal is :
> > loadrt hal_parport cfg="0xe030 out 0xe010 out"
> > Using loadrt hal_parport cfg="0 out 1 out" gives the same results.
> > If I try to use loadrt hal_parport cfg="0xe030 epp 0xe010 epp" I get 
> > two warning popups "Linux parallel port @65535 not found" and hal 
> > shows pins for 4 parallel ports, but only port 0 seems to work.
> >
> > lspci -v
> >
> > 06:00.0 Parallel controller: MosChip Semiconductor Technology Ltd.
> > PCI 9865 Multi-I/O Controller (prog-if 03 [IEEE1284]) Subsystem:
> > Device a000:2000
> > Flags: bus master, medium devsel, latency 32, IRQ 19
> > I/O ports at e030 [size=8]
> > I/O ports at e020 [size=8]
> > Memory at fe503000 (32-bit, non-prefetchable) [size=4K]
> > Memory at fe502000 (32-bit, non-prefetchable) [size=4K]
> > Capabilities: 
> > Kernel driver in use: parport_pc
> > Kernel modules: parport_pc
> >
> > 06:00.2 Parallel controller: MosChip Semiconductor Technology Ltd.
> > PCI 9865 Multi-I/O Controller (prog-if 03 [IEEE1284]) Subsystem:
> > Device a0

Re: [Emc-users] Parallel Port

2018-08-29 Thread Todd Zuercher
I have not yet found any other 2 port PCIe cards that use a different chip.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Jon Elson  
Sent: Wednesday, August 29, 2018 12:37 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Parallel Port

On 08/29/2018 09:02 AM, Todd Zuercher wrote:
> An update, I tested the parallel port card in Windows and it seems to work 
> there with the supplied drivers.  The control pins will output 3v and I can 
> toggle them on/off.   So that means it must simply be a compatibility problem 
> with this card and Linuxcnc's parallel port driver.
>
> If anyone has any ideas how to fix it I'm open to suggestions.
>
>
Well, you could try a different brand of parport chip.  Or, possibly, the mode 
setting pins of the port are not set so that this is working.  But, especially 
pin 1, (strobe) HAS to work as an output for any plain printer to work.  So, 
I'm pretty mystified, unless some crazy thing in the parport driver turns off 
that driver.  Are you configuring the data pins (2-9) as input?  Maybe when the 
port has been set for input in the loadrt parport line , it sets ALL bidir pins 
for input.  That kind of makes sense.

A look at the LinuxCNC parport driver code might be instructive.
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/hal_parport.c
I see a mysterious option "x" for direction that is described like this :
/* experimental: some parports support a bidirectional

* control port. Enable this with pins 2-9 in output mode,

* which gives a very nice 8 outs and 9 ins. */



Jon
--
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port

2018-08-29 Thread Jon Elson

On 08/29/2018 11:44 AM, Todd Zuercher wrote:

I have not yet found any other 2 port PCIe cards that use a different chip.


Ah, for PCIe, I use the Syba SD-PEX10005 which uses the 
MOSCHIP MCS9900 (or sometimes the MCS9901) chip.  This is 
only a single parallel port, but it seems to work fine.  I 
sell these to use with my boards that require an EPP port.  
I have not tested anything other than the proper EPP 
operation, but most DEFINITELY, that requires output on pins 
1, 14, 16 and 17 to work.  However, some of those pins may 
be taken over by the EPP mode logic when set for EPP mode, 
on some boards.  But, they should work as outputs when in 
bi-dir mode.


Jon

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel Port Problems

2018-10-31 Thread Todd Zuercher
I am trying to use a PCIe duel parallel port card and I'm having some trouble 
with it.  It uses a Moschip 9865 according to lspci-v.
I have 2 different breakout boards, one is a CNC4PC C10 board and it works 
perfectly fine with this parallel port card.  The other one is one of those 
cheap 5 axis boards targeted for Mach3.

My problem seems to be that with Linuxcnc this parallel port card defaults to a 
mode where none of the input pins (10,11,12,13,15) are pulled up internally.  
That isn't a problem with the C10 because it has it's own pull ups for all the 
inputs.  But it is a problem on the cheap board which has no pull ups on those 
pins.  The outputs all seem to work fine.

It isn't that this parallel port card can't pull up those pins.  When I test 
the port in Windows it does pull up the input pins up to 3.3v, and the cheap 
breakout will work there.  So there must be some magic setting that can make it 
work.  Does anyone have a clue what it might be and how to use it in Linuxcnc?

I also can't seem to make the card work in X mode in Linuxcnc, which makes me 
think that It isn't using SPP and is defaulting to EPP or ECP modes.  Is there 
a way to try to force a parallel port into SPP mode?  (I ask this hoping that 
forcing the ports into SPP will make the inputs pull up.)

I did see on the forum that some have worked around this problem simply by 
adding pull ups to input pins on these cheap breakout boards.  But since this 
parallel port is in fact capable of pulling up those pins in Windows, I was 
hoping a way could be found to do it in Linux, and thus avoid having to get out 
the soldering iron.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


[Emc-users] Parallel Port Current?

2023-02-22 Thread Todd Zuercher
I have an older Linuxcnc installation that uses a parallel port.  It has 4 
TCRT5000 optical sensors, that I was powering the IR LED with an output from 
the parallel port (and reading the IR sensor with an input.)  It had been 
working fine for some time, but I only use this equipment once a year.  This 
year when I drug it out of storage I could not get one of the sensors to work.  
After several hours of checking and rechecking every connection and trying 
multiple sensors, I figured out that the LED on the sensor that wasn't working 
simply could not draw enough current from the parallel port output to light 
bright enough, even though it had been working in the past.  I switched it from 
pin14 to pin7 and full functionality was restored.  Does this sound like I've 
partially ruined pin14 on the parallel port? (It still turns on and off.)  Do 
different parallel port output pins have different current sourcing 
capabilities?

I'm a little surprised that this happed to this sensor rather than the other 3, 
because it is fed through about 30 more feet of wire than the other 3 that are 
still working happily (fed by output pins 2-4.)

I guess I should probably set up an alternate power source for the LEDs on the 
sensors, but they had been working fine before and I didn't feel like doing the 
additional wiring.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031


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


[Emc-users] parallel port initializing

2007-01-02 Thread James Reed
I am attempting to run HAL without the use of EMC2.  As I have stated 
before, I want a DRO only at this point in time, and am not interested in 
the extras EMC offers.


I have successfully run HAL as an internal (to the computer) program (using 
the function generator in the HAL tutorial and a couple of comparators 
instead of the parport quadrature input).  HOWEVER, when I try real hardware 
and the parport, I neet 40mA at 5 volts to drive a pin high.  This usually 
indicates the port it configured for output still.


My question is this? When in the program does parport get initialized to 
inputs, and how do I make sure it is initialized before I try to drive it?


Thanks for your help.

_
Dave vs. Carl: The Insignificant Championship Series.  Who will win? 
http://clk.atdmt.com/MSN/go/msnnkwsp007001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel port installation

2007-02-25 Thread Jack Ensor
I need some help getting my board that provides 2 additional parallel ports
working.

The installation instructions with the board:

Installation Guide for PCI Parallel Ports 



This installation guide describes the procedure to install the Nm9705CV,
Nm9735CV, Nm9805CV, Nm9815CV, Nm9835CV, Nm9755CV PCI parallel ports in Linux
platform.



Linux kernel provide a 'parport' code to support parallel port (/dev/lp0, 
/dev/lp1, /dev/lp2). This code provides the ability to share one port between
multiple devices. And it is loadable when kernel is running.



The 'parport' code is split into two parts : generic (which deals with port
sharing) and architecture-dependent eg. X86, SPARC. (which deals with actually
using the port). Thus, please take the following steps to install 'parport'
module!



Check the on-board parallel port's hardware resources



Most likely each motherboard has a built-in parallel port. And its hardware
resources are settable with BIOS utility.



Enter the command  more  /proc/pci



The response is similar to the following

  

Bus 0, Device 11, function 0:

Serial controller : Unknown vendor Unknown device (rev 
01).

Vendor id=9710, Device id=9705

Device id=9735

Device id=9805

Device id=9815

Device id=9835

Device id=9855



Medium devsel. Fast back-to-back capable. IRQ 11



Board with Nm9705CV part

I/O at 0xc000 [0xc001]  printer port

   0xc008 [0xc009]  ECP/EPP config registers



Board with Nm9735CV part

I/O at 0xc000 [0xc001]  not used

   0xc008 [0xc009]  not used

   0xc010 [0xc011]  printer port

   0xc018 [0xc019]  ECP/EPP config registers



Board with Nm9805CV part

I/O at 0xc000 [0xc001]  printer port

I/O at 0xc400 [0xc401]  ECP/EPP config registers

I/O at 0xc800 [0xc801]  not used

I/O at 0xd000 [0xd001]  not used

I/O at 0xd400 [0xd401]  not used

I/O at 0xd800 [0xd801]  not used





Install 'parport' module



To load the generic 'parport' code



Typeinsmod parport.o

 

To load the architecture-dependent code to tell 'parport' code



insmod parport_pc.o  io=0x378,0xc000,0xc800

irq=7, irq=11, none



or



insmod parport_pc.o  io=0x378,0xc000,0xc800

irq=7,11,none   



You have three PC-style ports, one at 0x378 with IRQ 7, one at

0xc000 with  IRQ11, one at 0xc800 with no IRQ.



So when I issue the command I get:

[EMAIL PROTECTED]:~$ more /proc/pci
/proc/pci: No such file or directory
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$
-

Note that after they issued the command "more /proc/pci" the system apparently
returned the addresses it needed to be entered in the subseqent commands. In
their example they show the 3 parallell port addresses as 0x378, 0xc000, and
0xc800. It looks as though my system needs to tell me what address it is going
to use need to determine the proper addresses in order to get this thing
installed. I then did:

System>Administration>Device Manager

In the window that comes up under 8201 PCI Bridge I see PCI 9815 Multi-I/O
Controller (This is my board).
Under the Advance Tab I see:


info.busstrlist pci
info.parent strlist 
/org/freedesktop/Hal/devices/pci_8086_244e
info. product   strlist PCI 9815 Multi-I/O Controller
info.udistrlist 
/org/freedesktop/Hal/devices/pci_9710_9815
info.vendor strlist /NetMos Technology
linuxl.hotplug_type int 1 (0x1)
linux.suvsystem strlist pci
linux.sysfs_pathstrlist 
/sys/devices/pci:00/:001e.0/:02:0a.0
linux.sysfs_path_device strlist 
/sys/devices/pci:00/:001e.0/:02:0a.0
pci.device_classint 7 (0x7)
pci.device_protocol int 0 (0x0)
pci.device_subclass int 128 (0x80)
pci.linux.sysfs_pathstrlist 
/sys/devices/pci:00/:001e.0/:02:0a.0
pci.product strlist PCI 9815 Multi-I/O Controller
pci.product_id 

[Emc-users] Parallel port interface

2007-03-01 Thread Jack Ensor
Can any one tell me if I need pullups on the pci parallel port input pins?
This would be for interfacing homing and limit switches.  

If I do need pullups couldn't I set an unused output pin to 1 and then use that
as a source for my pullup resistor power? I assume a 2.2K pullup would be a
reasonable value.

Jack Ensor



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel port problems

2007-10-08 Thread Paul Pierce
Hi all,

I am a total nube to both linux and EMC. 
I installed both linux and emc from the live cd.
It's version 2.16 and i last updated - last week.

My problem is:

I could not source enough current from my Parallel port for my controll card to 
drive my stepper motor, so today, i added a new PCI parallel port card. 
From there on everything has gone wrong - EMC won't launch.
I have added:
pnpbios=off
pci=usepirqmask
pci=biosirq
To the grub "menu.lst". This has not done anything.

The line: install parport_pc /bin/true, is present in /etc/modprobe.d/emc2.


I don't know what to do.

If anybody can tell me how to copy the EMC Errors file i can send it. 

I appreciate any help.

Regards

Paul.







  ___ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
http://uk.promotions.yahoo.com/forgood/environment.html-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel Port Problems

2007-12-20 Thread John Thornton
I have a CNC4PC parallel port breakout board connected to my parallel port via 
a 
parallel port cable. When testing all the outputs in EMC2 via the HAL command 
setp parport.0.pin-nn-out (all unlinked first) pins 1, 8, 9, 14 and 16 do not 
come on.

Does this look like some kind of pattern or something? Any ideas?

All the other pins in and out work as expected.

Thanks
John

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel Port Test

2008-08-12 Thread Andrew Ayre
Hi, Is there an easy way of testing the parallel port without having an 
oscilloscope? A friend's controller board started smoking (Z axis driver 
chip) and now none of the axis work. It's pretty easy to replace chips, 
check solder joints, etc. but how to test the parallel port?

thanks, Andy

-- 
Andy
PGP Key ID: 0xDC1B5864

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel Port Signals

2009-01-14 Thread Peter Restall

Afternoon All,

This is my first EMC Users post (first mailing list in a while actually), so
please be gentle with any etiquette misdemeanors !

I'm just beginning to put together a design for a hobby CNC machine, with my
own driver board electronics - glutton for punishment really.  Looking around,
EMC seems to be the way to go in terms of controller software - as a GNU/Linux
user, because this hobby project is on a budget, and because it looks to be
nicely featured and extensible.

So, my question for the time being is, are the parallel port signals (ie. the
waveform/timing diagrams) documented anywhere ?  For instance, are the axis
step signals sent as pulses (ie. step the motor once per low-high transition),
or are they flat (ie. keep stepping the motor until the signal goes low) ?
I've seen the StepConf documentation - which is the closest I've found - but
that doesn't really explain a lot (it's more end-user oriented).

I'm sure I will have more questions, especially around timing, so if there is
a source on the 'net with this sort of low-level detail that I haven't seen
yet, I'd appreciate a link.  It's either that or you're going to get sick of
my constant e-mails pretty quickly...!

Thanks in advance.

Regards,

Pete Restall

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel Port Utility

2011-09-15 Thread Kirk Wallace
I played with showport.c to get what I needed at the time, then moved
on. Should showport.c be expanded, improved? What should be included,
improved? Is there already a program that does what showport does? Maybe
it should be incorporated into the present config utilities? 

See:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Startech 

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel port noise

2013-07-01 Thread john d norton
Does the pic parra port have any pull downs as I've knocked up a
circuit to step up the 5 volt signal to 24 via a udn2389 and can
measure a stray voltage at the low volt side but this is direct into
the para port with no brake out so could the noise be there

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] parallel port cards

2009-06-10 Thread Kent A. Reed
Gentle persons:

The recent discussion of problems with parallel-port cards and 
Pluto/Mesa hardware/software reminded me that the subject of good and 
bad parallel-port cards (and their underlying chipsets) is not well 
treated in the wiki.

Maybe I'm just not good enough with the search function, but Jon Elson's 
warnings on his Pico Systems controller pages are the only places I find 
in the wiki that suggest one should be cautious when purchasing a 
plug-in card and it's a fair guess that the information will be 
discovered mostly by people interested in Jon's controllers rather than 
in plug-in cards.

I, for one, would greatly appreciate a new wiki page (linking directly 
from the EMC2 Supported Hardware page, say) that warns about the general 
problem and identifies chips/boards known to work and those known not to 
work and any workarounds that have been found to work.

I don't want to volunteer to start such a page since I have zero 
experience with these cards but I'll help edit the page if necessary 
because I'm now on the hunt for plug-in cards for some new-ish 
motherboards that lack a parallel port and I prefer to make new missteps 
rather than repeat old ones:-)

Regards,
Kent


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel Port Specifications

2009-11-13 Thread Kirk Wallace
I have been trying to get a handle on what kind of signal to expect from
a parallel port. I have been used to expecting around 3 mA, which may or
may not source the current, and may be different between data and status
pins. This link seems to indicate 14 mA source and sink:
http://www.fapo.com/1284elec.htm

I assume this link is based on the 1284 standard, so I should use that
as my reference?

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel port question

2009-12-01 Thread Martin Pinkston
When I get into the bios, I had to go through and check where parallel port
was. It shows at 378/ IRQ7. Then when I go into the IRQ resources it show
IRQ7 as PCI device. Well the parallel port is actually part of the mother
board and not a PCI device, so I changed the parameter to "Reserved".
My question is. Did I do the right thing ? Or should IRQ7 actually be set to
"PCI device"?
BTW, Parallel port mode is ECP+EPP and ECP mode use DMA3.
"I'm not sure what all that means, but I want it" Sylvester Stallone.

Thanks in advance .
Martin
--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel port pins

2011-01-29 Thread Farzin Kamangar
Hello EMC users,
 I would like to find out which Parallel port pins are on and which pins
are off between the computer power on and the time EMC starts. This is
essential for me because when I turn the computer on my spindle starts
turning and keeps on turning utill EMC starts and its logo appears on the
screen (when it stops turning). Some of my axis drives get enabled during
this time also. How can I prevent these events to happen between turning on
the computer time and when EMC starts? Thanks
Farzin
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] parallel port interface

2013-02-01 Thread kqt4at5v
i have seen this discussed several times on this list
is there a pci-express card known to play well with linuxcnc
if so would you share the brand and model
it would be even better if it was a dual port card

thank you

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] parallel port picie cards

2019-12-03 Thread R C

Hello,


what would be a good PCIe card t use with linux-cnc,  would any card 
that does ECP/EPP do?



thanks,


Ron



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


Re: [Emc-users] parallel port definitions

2019-12-19 Thread Phillip Carter
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  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


Re: [Emc-users] parallel port definitions

2019-12-19 Thread R C

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  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


Re: [Emc-users] parallel port definitions

2019-12-19 Thread Phillip Carter
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  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  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


Re: [Emc-users] parallel port definitions

2019-12-19 Thread R C

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  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  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


Re: [Emc-users] parallel port definitions

2019-12-19 Thread Phillip Carter
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  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  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  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


Re: [Emc-users] parallel port definitions

2019-12-19 Thread Phillip Carter
Sorry, I reread what you said…

You would have two separate configs, the lathe would have:

loadrt hal_parport cfg="0 out" 

And the mill would have:

loadrt hal_parport cfg="1 out"


> On 20 Dec 2019, at 6:26 pm, Phillip Carter  wrote:
> 
> 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"
> 


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


Re: [Emc-users] parallel port definitions

2019-12-19 Thread R C

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  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  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  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


Re: [Emc-users] parallel port definitions

2019-12-19 Thread Phillip Carter
In that case the lathe would have:

loadrt hal_parport cfg="1 out" 

And the mill would have:

loadrt hal_parport cfg="2 out"

But again BOTH would have parport.0.blah-blah as it would be the first port.

> On 20 Dec 2019, at 6:31 pm, Phillip Carter  wrote:
> 
> You would have two separate configs, the lathe would have:
> 
> loadrt hal_parport cfg="0 out" 
> 
> And the mill would have:
> 
> loadrt hal_parport cfg="1 out"


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


Re: [Emc-users] parallel port definitions

2019-12-21 Thread R C
Ok,  that seems to be working now, even in stepconf (wonder what was 
going on there).



I have the mill working (sort of), I can make the XYZ axes work, that 
is, I can


jog them in stepconf (the axis moves one step every time I click one of 
the green arrows, I


expected it to continuously move)


The lathe I don't have working on h eother port yet, wonder if maybe 
something is wrong there.


(the spindles are not running,  but that might be because I forgot to do 
the wiring for that, when I built the new cables.



I have an issue saving the second/mill configuration though, here's what 
I get:


Stepconf encountered an error.  The following information may be useful 
in troubleshooting:


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 82, 
in on_button_fwd_clicked

    self['%s_finish'%name]()
  File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 720, 
in finished_finish

    self.a.buid_config()
  File "/usr/bin/stepconf", line 781, in buid_config
    self.d.save(base)
  File "/usr/bin/stepconf", line 676, in save
    os.symlink(base,shortcut)
OSError: [Errno 2] No such file or directory


thanks,


Ron.






On 12/20/19 12:45 AM, Phillip Carter wrote:

In that case the lathe would have:

loadrt hal_parport cfg="1 out"

And the mill would have:

loadrt hal_parport cfg="2 out"

But again BOTH would have parport.0.blah-blah as it would be the first port.


On 20 Dec 2019, at 6:31 pm, Phillip Carter  wrote:

You would have two separate configs, the lathe would have:

loadrt hal_parport cfg="0 out"

And the mill would have:

loadrt hal_parport cfg="1 out"


___
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


Re: [Emc-users] parallel port definitions

2019-12-21 Thread Phillip Carter
That is above my paygrade, it may be worth your while creating a new topic on 
the forum in this section https://forum.linuxcnc.org/16-stepconf-wizard 


> On 22 Dec 2019, at 9:21 am, R C  wrote:
> 
> Ok,  that seems to be working now, even in stepconf (wonder what was going on 
> there).
> 
> 
> I have the mill working (sort of), I can make the XYZ axes work, that is, I 
> can
> 
> jog them in stepconf (the axis moves one step every time I click one of the 
> green arrows, I
> 
> expected it to continuously move)
> 
> 
> The lathe I don't have working on h eother port yet, wonder if maybe 
> something is wrong there.
> 
> (the spindles are not running,  but that might be because I forgot to do the 
> wiring for that, when I built the new cables.
> 
> 
> I have an issue saving the second/mill configuration though, here's what I 
> get:
> 
> Stepconf encountered an error.  The following information may be useful in 
> troubleshooting:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 82, in 
> on_button_fwd_clicked
> self['%s_finish'%name]()
>   File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 720, in 
> finished_finish
> self.a.buid_config()
>   File "/usr/bin/stepconf", line 781, in buid_config
> self.d.save(base)
>   File "/usr/bin/stepconf", line 676, in save
> os.symlink(base,shortcut)
> OSError: [Errno 2] No such file or directory
> 
> 
> thanks,
> 
> 
> Ron.
> 
> 
> 
> 
> 
> 
> On 12/20/19 12:45 AM, Phillip Carter wrote:
>> In that case the lathe would have:
>> 
>> loadrt hal_parport cfg="1 out"
>> 
>> And the mill would have:
>> 
>> loadrt hal_parport cfg="2 out"
>> 
>> But again BOTH would have parport.0.blah-blah as it would be the first port.
>> 
>>> On 20 Dec 2019, at 6:31 pm, Phillip Carter  wrote:
>>> 
>>> You would have two separate configs, the lathe would have:
>>> 
>>> loadrt hal_parport cfg="0 out"
>>> 
>>> And the mill would have:
>>> 
>>> loadrt hal_parport cfg="1 out"
>> 
>> ___
>> 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


Re: [Emc-users] parallel port definitions

2019-12-21 Thread R C

Hi,


yeah I figured that out a good while ago, using turbocnc.  I'll play 
with it a bit more.  But at some point I probably want a better more 
standard driver.



Ron

On 12/21/19 4:53 PM, Phillip Carter wrote:
It is probably worthwhile persevering, if you got the axes moving then 
you can't be too far off.


They look like Sherline machines, I guess they have a third party 
parallel BOB and drivers, do you have any info on them.


On 22 Dec 2019, at 10:45 am, R C > wrote:


I am actually tempted to replace all the electronics in my CNC 
machines, and start from scratch.



I have two Paxton/Patterson "CNC Training Center" machines, bench 
top,  a lathe and a mill.



On 12/21/19 4:13 PM, Phillip Carter wrote:
That is above my paygrade, it may be worth your while creating a new 
topic on the forum in this 
sectionhttps://forum.linuxcnc.org/16-stepconf-wizard


On 22 Dec 2019, at 9:21 am, R C > wrote:


Ok,  that seems to be working now, even in stepconf (wonder what 
was going on there).



I have the mill working (sort of), I can make the XYZ axes work, 
that is, I can


jog them in stepconf (the axis moves one step every time I click 
one of the green arrows, I


expected it to continuously move)


The lathe I don't have working on h eother port yet, wonder if 
maybe something is wrong there.


(the spindles are not running,  but that might be because I forgot 
to do the wiring for that, when I built the new cables.



I have an issue saving the second/mill configuration though, here's 
what I get:


Stepconf encountered an error.  The following information may be 
useful in troubleshooting:


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 
82, in on_button_fwd_clicked

self['%s_finish'%name]()
  File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 
720, in finished_finish

self.a.buid_config()
  File "/usr/bin/stepconf", line 781, in buid_config
self.d.save(base)
  File "/usr/bin/stepconf", line 676, in save
os.symlink(base,shortcut)
OSError: [Errno 2] No such file or directory


thanks,


Ron.






On 12/20/19 12:45 AM, Phillip Carter wrote:

In that case the lathe would have:

loadrt hal_parport cfg="1 out"

And the mill would have:

loadrt hal_parport cfg="2 out"

But again BOTH would have parport.0.blah-blah as it would be the 
first port.


On 20 Dec 2019, at 6:31 pm, Phillip Carter 
mailto:phillcarte...@gmail.com>> wrote:


You would have two separate configs, the lathe would have:

loadrt hal_parport cfg="0 out"

And the mill would have:

loadrt hal_parport cfg="1 out"

___
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


Re: [Emc-users] parallel port definitions

2019-12-21 Thread Phillip Carter
Probably a good idea, looking at this post 
https://www.cnczone.com/forums/benchtop-machines/19359-cnc-cam-software-post153062.html#post153062
 

 they don't use standard parallel port pinouts.

> On 22 Dec 2019, at 11:21 am, R C  wrote:
> 
> Hi,
> 
> 
> 
> yeah I figured that out a good while ago, using turbocnc.  I'll play with it 
> a bit more.  But at some point I probably want a better more standard driver.
> 
> 
> 
> Ron
> 
> On 12/21/19 4:53 PM, Phillip Carter wrote:
>> It is probably worthwhile persevering, if you got the axes moving then you 
>> can't be too far off.
>> 
>> They look like Sherline machines, I guess they have a third party parallel 
>> BOB and drivers, do you have any info on them.
>> 
>>> On 22 Dec 2019, at 10:45 am, R C >> > wrote:
>>> 
>>> I am actually tempted to replace all the electronics in my CNC machines, 
>>> and start from scratch.
>>> 
>>> 
>>> I have two Paxton/Patterson "CNC Training Center" machines, bench top,  a 
>>> lathe and a mill.
>>> 
>>> 
>>> On 12/21/19 4:13 PM, Phillip Carter wrote:
 That is above my paygrade, it may be worth your while creating a new topic 
 on the forum in this section https://forum.linuxcnc.org/16-stepconf-wizard 
  
 >
 
> On 22 Dec 2019, at 9:21 am, R C  > wrote:
> 
> Ok,  that seems to be working now, even in stepconf (wonder what was 
> going on there).
> 
> 
> I have the mill working (sort of), I can make the XYZ axes work, that is, 
> I can
> 
> jog them in stepconf (the axis moves one step every time I click one of 
> the green arrows, I
> 
> expected it to continuously move)
> 
> 
> The lathe I don't have working on h eother port yet, wonder if maybe 
> something is wrong there.
> 
> (the spindles are not running,  but that might be because I forgot to do 
> the wiring for that, when I built the new cables.
> 
> 
> I have an issue saving the second/mill configuration though, here's what 
> I get:
> 
> Stepconf encountered an error.  The following information may be useful 
> in troubleshooting:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 82, in 
> on_button_fwd_clicked
> self['%s_finish'%name]()
>   File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 720, in 
> finished_finish
> self.a.buid_config()
>   File "/usr/bin/stepconf", line 781, in buid_config
> self.d.save(base)
>   File "/usr/bin/stepconf", line 676, in save
> os.symlink(base,shortcut)
> OSError: [Errno 2] No such file or directory
> 
> 
> thanks,
> 
> 
> Ron.
> 
> 
> 
> 
> 
> 
> On 12/20/19 12:45 AM, Phillip Carter wrote:
>> In that case the lathe would have:
>> 
>> loadrt hal_parport cfg="1 out"
>> 
>> And the mill would have:
>> 
>> loadrt hal_parport cfg="2 out"
>> 
>> But again BOTH would have parport.0.blah-blah as it would be the first 
>> port.
>> 
>>> On 20 Dec 2019, at 6:31 pm, Phillip Carter >> > wrote:
>>> 
>>> You would have two separate configs, the lathe would have:
>>> 
>>> loadrt hal_parport cfg="0 out"
>>> 
>>> And the mill would have:
>>> 
>>> loadrt hal_parport cfg="1 out"
>> ___
>> 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


Re: [Emc-users] parallel port definitions

2019-12-21 Thread R C

I actually saw that one,


years ago when I was trying to get them to work, there was not that much 
known about these things.



I wonder if it is easier to just get a good, affordable/inexpensive 
driver, for the steppers and the spindle, and go from there.



The steppers on these tings are kinda weak I think.


But it is fun hacking them.   Paxton/Patterson wants an arm and a leg, 
and will not give any of the info on their machines.



Ron

On 12/21/19 5:33 PM, Phillip Carter wrote:
Probably a good idea, looking at this post 
https://www.cnczone.com/forums/benchtop-machines/19359-cnc-cam-software-post153062.html#post153062 they 
don't use standard parallel port pinouts.


On 22 Dec 2019, at 11:21 am, R C > wrote:


Hi,


yeah I figured that out a good while ago, using turbocnc.  I'll play 
with it a bit more.  But at some point I probably want a better more 
standard driver.



Ron

On 12/21/19 4:53 PM, Phillip Carter wrote:
It is probably worthwhile persevering, if you got the axes moving 
then you can't be too far off.


They look like Sherline machines, I guess they have a third party 
parallel BOB and drivers, do you have any info on them.


On 22 Dec 2019, at 10:45 am, R C > wrote:


I am actually tempted to replace all the electronics in my CNC 
machines, and start from scratch.



I have two Paxton/Patterson "CNC Training Center" machines, bench 
top,  a lathe and a mill.



On 12/21/19 4:13 PM, Phillip Carter wrote:
That is above my paygrade, it may be worth your while creating a 
new topic on the forum in this 
sectionhttps://forum.linuxcnc.org/16-stepconf-wizard


On 22 Dec 2019, at 9:21 am, R C > wrote:


Ok,  that seems to be working now, even in stepconf (wonder what 
was going on there).



I have the mill working (sort of), I can make the XYZ axes work, 
that is, I can


jog them in stepconf (the axis moves one step every time I click 
one of the green arrows, I


expected it to continuously move)


The lathe I don't have working on h eother port yet, wonder if 
maybe something is wrong there.


(the spindles are not running,  but that might be because I 
forgot to do the wiring for that, when I built the new cables.



I have an issue saving the second/mill configuration though, 
here's what I get:


Stepconf encountered an error.  The following information may be 
useful in troubleshooting:


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 
82, in on_button_fwd_clicked

self['%s_finish'%name]()
  File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 
720, in finished_finish

self.a.buid_config()
  File "/usr/bin/stepconf", line 781, in buid_config
self.d.save(base)
  File "/usr/bin/stepconf", line 676, in save
os.symlink(base,shortcut)
OSError: [Errno 2] No such file or directory


thanks,


Ron.






On 12/20/19 12:45 AM, Phillip Carter wrote:

In that case the lathe would have:

loadrt hal_parport cfg="1 out"

And the mill would have:

loadrt hal_parport cfg="2 out"

But again BOTH would have parport.0.blah-blah as it would be the 
first port.


On 20 Dec 2019, at 6:31 pm, Phillip Carter 
mailto:phillcarte...@gmail.com>> wrote:


You would have two separate configs, the lathe would have:

loadrt hal_parport cfg="0 out"

And the mill would have:

loadrt hal_parport cfg="1 out"

___
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


Re: [Emc-users] parallel port definitions

2019-12-21 Thread Phill C
I use these for a Sherline mill and a Sherline lathe:

https://www.ebay.com.au/itm/1pcs-5-Axis-CNC-Breakout-Board-For-Stepper-Driver-Controller-mach3/201414938686?epid=23018351668&hash=item2ee544103e:g:GTkAAOxyBjBTWMPR
 


https://www.ebay.com/itm/M542H-3A-CNC-Stepper-Motor-Driver-Controller-2-Phase-128-Microstep-f-42-57-Motor-/282070570888
 


> On 22 Dec 2019, at 11:48 am, R C  wrote:
> 
> I actually saw that one,  
> 
> 
> 
> years ago when I was trying to get them to work, there was not that much 
> known about these things.
> 
> 
> 
> I wonder if it is easier to just get a good, affordable/inexpensive driver, 
> for the steppers and the spindle, and go from there.
> 
> 
> 
> The steppers on these tings are kinda weak I think.
> 
> 
> 
> But it is fun hacking them.   Paxton/Patterson wants an arm and a leg, and 
> will not give any of the info on their machines.
> 
> 
> 
> Ron
> 
> On 12/21/19 5:33 PM, Phillip Carter wrote:
>> Probably a good idea, looking at this post 
>> https://www.cnczone.com/forums/benchtop-machines/19359-cnc-cam-software-post153062.html#post153062
>>  
>> 
>>  they don't use standard parallel port pinouts.
>> 
>>> On 22 Dec 2019, at 11:21 am, R C >> > wrote:
>>> 
>>> Hi,
>>> 
>>> 
>>> 
>>> yeah I figured that out a good while ago, using turbocnc.  I'll play with 
>>> it a bit more.  But at some point I probably want a better more standard 
>>> driver.
>>> 
>>> 
>>> 
>>> Ron
>>> 
>>> On 12/21/19 4:53 PM, Phillip Carter wrote:
 It is probably worthwhile persevering, if you got the axes moving then you 
 can't be too far off.
 
 They look like Sherline machines, I guess they have a third party parallel 
 BOB and drivers, do you have any info on them.
 
> On 22 Dec 2019, at 10:45 am, R C  > wrote:
> 
> I am actually tempted to replace all the electronics in my CNC machines, 
> and start from scratch.
> 
> 
> I have two Paxton/Patterson "CNC Training Center" machines, bench top,  a 
> lathe and a mill.
> 
> 
> On 12/21/19 4:13 PM, Phillip Carter wrote:
>> That is above my paygrade, it may be worth your while creating a new 
>> topic on the forum in this section 
>> https://forum.linuxcnc.org/16-stepconf-wizard 
>>  
>> > >
>> 
>>> On 22 Dec 2019, at 9:21 am, R C >> > wrote:
>>> 
>>> Ok,  that seems to be working now, even in stepconf (wonder what was 
>>> going on there).
>>> 
>>> 
>>> I have the mill working (sort of), I can make the XYZ axes work, that 
>>> is, I can
>>> 
>>> jog them in stepconf (the axis moves one step every time I click one of 
>>> the green arrows, I
>>> 
>>> expected it to continuously move)
>>> 
>>> 
>>> The lathe I don't have working on h eother port yet, wonder if maybe 
>>> something is wrong there.
>>> 
>>> (the spindles are not running,  but that might be because I forgot to 
>>> do the wiring for that, when I built the new cables.
>>> 
>>> 
>>> I have an issue saving the second/mill configuration though, here's 
>>> what I get:
>>> 
>>> Stepconf encountered an error.  The following information may be useful 
>>> in troubleshooting:
>>> 
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 82, 
>>> in on_button_fwd_clicked
>>> self['%s_finish'%name]()
>>>   File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 720, 
>>> in finished_finish
>>> self.a.buid_config()
>>>   File "/usr/bin/stepconf", line 781, in buid_config
>>> self.d.save(base)
>>>   File "/usr/bin/stepconf", line 676, in save
>>> os.symlink(base,shortcut)
>>> OSError: [Errno 2] No such file or directory
>>> 
>>> 
>>> thanks,
>>> 
>>> 
>>> Ron.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On 12/20/19 12:45 AM, Phillip Carter wrote:
 In that case the lathe would have:
 
 loadrt hal_parport cfg="1 out"
 
 And the mill would have:
 
 loadrt hal_parport cfg="2 out"
 
 But again BOTH would have parport.0.blah-blah as it would be the first 
 port.
 
> On 20 Dec 2019, at 6:31 pm, Phillip Carter  

Re: [Emc-users] parallel port definitions

2019-12-21 Thread R C

that looks like something I would need.


What parallel cable do you use?  a straight through?  I would love to 
get rid of the proprietary stuff in those cns machines.



The hardware I was told is Sherline,  but made/setup by paxton/patterson


I'll see if I can post a pic of them in a separate post.


Ron


On 12/21/19 5:53 PM, Phill C wrote:

I use these for a Sherline mill and a Sherline lathe:

https://www.ebay.com.au/itm/1pcs-5-Axis-CNC-Breakout-Board-For-Stepper-Driver-Controller-mach3/201414938686?epid=23018351668&hash=item2ee544103e:g:GTkAAOxyBjBTWMPR

https://www.ebay.com/itm/M542H-3A-CNC-Stepper-Motor-Driver-Controller-2-Phase-128-Microstep-f-42-57-Motor-/282070570888

On 22 Dec 2019, at 11:48 am, R C > wrote:


I actually saw that one,


years ago when I was trying to get them to work, there was not that 
much known about these things.



I wonder if it is easier to just get a good, affordable/inexpensive 
driver, for the steppers and the spindle, and go from there.



The steppers on these tings are kinda weak I think.


But it is fun hacking them. Paxton/Patterson wants an arm and a leg, 
and will not give any of the info on their machines.



Ron

On 12/21/19 5:33 PM, Phillip Carter wrote:
Probably a good idea, looking at this post 
https://www.cnczone.com/forums/benchtop-machines/19359-cnc-cam-software-post153062.html#post153062 they 
don't use standard parallel port pinouts.


On 22 Dec 2019, at 11:21 am, R C > wrote:


Hi,


yeah I figured that out a good while ago, using turbocnc.  I'll 
play with it a bit more.  But at some point I probably want a 
better more standard driver.



Ron

On 12/21/19 4:53 PM, Phillip Carter wrote:
It is probably worthwhile persevering, if you got the axes moving 
then you can't be too far off.


They look like Sherline machines, I guess they have a third party 
parallel BOB and drivers, do you have any info on them.


On 22 Dec 2019, at 10:45 am, R C > wrote:


I am actually tempted to replace all the electronics in my CNC 
machines, and start from scratch.



I have two Paxton/Patterson "CNC Training Center" machines, bench 
top,  a lathe and a mill.



On 12/21/19 4:13 PM, Phillip Carter wrote:
That is above my paygrade, it may be worth your while creating a 
new topic on the forum in this 
sectionhttps://forum.linuxcnc.org/16-stepconf-wizard


On 22 Dec 2019, at 9:21 am, R C > wrote:


Ok,  that seems to be working now, even in stepconf (wonder 
what was going on there).



I have the mill working (sort of), I can make the XYZ axes 
work, that is, I can


jog them in stepconf (the axis moves one step every time I 
click one of the green arrows, I


expected it to continuously move)


The lathe I don't have working on h eother port yet, wonder if 
maybe something is wrong there.


(the spindles are not running,  but that might be because I 
forgot to do the wiring for that, when I built the new cables.



I have an issue saving the second/mill configuration though, 
here's what I get:


Stepconf encountered an error.  The following information may 
be useful in troubleshooting:


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", 
line 82, in on_button_fwd_clicked

self['%s_finish'%name]()
  File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", 
line 720, in finished_finish

self.a.buid_config()
  File "/usr/bin/stepconf", line 781, in buid_config
self.d.save(base)
  File "/usr/bin/stepconf", line 676, in save
os.symlink(base,shortcut)
OSError: [Errno 2] No such file or directory


thanks,


Ron.






On 12/20/19 12:45 AM, Phillip Carter wrote:

In that case the lathe would have:

loadrt hal_parport cfg="1 out"

And the mill would have:

loadrt hal_parport cfg="2 out"

But again BOTH would have parport.0.blah-blah as it would be 
the first port.


On 20 Dec 2019, at 6:31 pm, Phillip Carter 
mailto:phillcarte...@gmail.com>> wrote:


You would have two separate configs, the lathe would have:

loadrt hal_parport cfg="0 out"

And the mill would have:

loadrt hal_parport cfg="1 out"

___
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


Re: [Emc-users] parallel port definitions

2019-12-21 Thread Phill C
Yes, it is an of the shelf fully populated cable like this:

http://pico-systems.com/osc2.5/catalog/product_info.php?products_id=28&osCsid=q44slh22e8lckb4jrudvs2skj0
 


> On 22 Dec 2019, at 11:56 am, R C  wrote:
> 
> that looks like something I would need.
> 
> 
> 
> What parallel cable do you use?  a straight through?  I would love to get rid 
> of the proprietary stuff in those cns machines.
> 
> 
> 
> The hardware I was told is Sherline,  but made/setup by paxton/patterson
> 
> 
> 
> I'll see if I can post a pic of them in a separate post.
> 
> 
> 
> Ron
> 
> 
> 
> On 12/21/19 5:53 PM, Phill C wrote:
>> I use these for a Sherline mill and a Sherline lathe:
>> 
>> https://www.ebay.com.au/itm/1pcs-5-Axis-CNC-Breakout-Board-For-Stepper-Driver-Controller-mach3/201414938686?epid=23018351668&hash=item2ee544103e:g:GTkAAOxyBjBTWMPR
>>  
>> 
>> 
>> https://www.ebay.com/itm/M542H-3A-CNC-Stepper-Motor-Driver-Controller-2-Phase-128-Microstep-f-42-57-Motor-/282070570888
>>  
>> 
>> 
>>> On 22 Dec 2019, at 11:48 am, R C >> > wrote:
>>> 
>>> I actually saw that one,  
>>> 
>>> 
>>> 
>>> years ago when I was trying to get them to work, there was not that much 
>>> known about these things.
>>> 
>>> 
>>> 
>>> I wonder if it is easier to just get a good, affordable/inexpensive driver, 
>>> for the steppers and the spindle, and go from there.
>>> 
>>> 
>>> 
>>> The steppers on these tings are kinda weak I think.
>>> 
>>> 
>>> 
>>> But it is fun hacking them.   Paxton/Patterson wants an arm and a leg, and 
>>> will not give any of the info on their machines.
>>> 
>>> 
>>> 
>>> Ron
>>> 
>>> On 12/21/19 5:33 PM, Phillip Carter wrote:
 Probably a good idea, looking at this post 
 https://www.cnczone.com/forums/benchtop-machines/19359-cnc-cam-software-post153062.html#post153062
  
 
  they don't use standard parallel port pinouts.
 
> On 22 Dec 2019, at 11:21 am, R C  > wrote:
> 
> Hi,
> 
> 
> 
> yeah I figured that out a good while ago, using turbocnc.  I'll play with 
> it a bit more.  But at some point I probably want a better more standard 
> driver.
> 
> 
> 
> Ron
> 
> On 12/21/19 4:53 PM, Phillip Carter wrote:
>> It is probably worthwhile persevering, if you got the axes moving then 
>> you can't be too far off.
>> 
>> They look like Sherline machines, I guess they have a third party 
>> parallel BOB and drivers, do you have any info on them.
>> 
>>> On 22 Dec 2019, at 10:45 am, R C >> > wrote:
>>> 
>>> I am actually tempted to replace all the electronics in my CNC 
>>> machines, and start from scratch.
>>> 
>>> 
>>> I have two Paxton/Patterson "CNC Training Center" machines, bench top,  
>>> a lathe and a mill.
>>> 
>>> 
>>> On 12/21/19 4:13 PM, Phillip Carter wrote:
 That is above my paygrade, it may be worth your while creating a new 
 topic on the forum in this section 
 https://forum.linuxcnc.org/16-stepconf-wizard 
  
 >
 
> On 22 Dec 2019, at 9:21 am, R C  > wrote:
> 
> Ok,  that seems to be working now, even in stepconf (wonder what was 
> going on there).
> 
> 
> I have the mill working (sort of), I can make the XYZ axes work, that 
> is, I can
> 
> jog them in stepconf (the axis moves one step every time I click one 
> of the green arrows, I
> 
> expected it to continuously move)
> 
> 
> The lathe I don't have working on h eother port yet, wonder if maybe 
> something is wrong there.
> 
> (the spindles are not running,  but that might be because I forgot to 
> do the wiring for that, when I built the new cables.
> 
> 
> I have an issue saving the second/mill configuration though, here's 
> what I get:
> 
> Stepconf encountered an error.  The following information may be 
> useful in troubleshooting:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", line 82, 
> in on_button_f

Re: [Emc-users] parallel port definitions

2019-12-21 Thread R C
alright,  that is doable, I might need a bit more than 2m, but I can 
probably find one longer.



Maybe it is the best to rip all the OEM stuff out,  and set up the 
hardware from scratch, because I think it is probably a good


idea to use linuxcnc.


I also want to  "control" the spindle.  I think in both machines they 
are DC motors,  and might be  good/fun to replace those by something 
more controlable.






On 12/21/19 6:01 PM, Phill C wrote:

Yes, it is an of the shelf fully populated cable like this:

http://pico-systems.com/osc2.5/catalog/product_info.php?products_id=28&osCsid=q44slh22e8lckb4jrudvs2skj0

On 22 Dec 2019, at 11:56 am, R C > wrote:


that looks like something I would need.


What parallel cable do you use?  a straight through?  I would love to 
get rid of the proprietary stuff in those cns machines.



The hardware I was told is Sherline,  but made/setup by paxton/patterson


I'll see if I can post a pic of them in a separate post.


Ron


On 12/21/19 5:53 PM, Phill C wrote:

I use these for a Sherline mill and a Sherline lathe:

https://www.ebay.com.au/itm/1pcs-5-Axis-CNC-Breakout-Board-For-Stepper-Driver-Controller-mach3/201414938686?epid=23018351668&hash=item2ee544103e:g:GTkAAOxyBjBTWMPR

https://www.ebay.com/itm/M542H-3A-CNC-Stepper-Motor-Driver-Controller-2-Phase-128-Microstep-f-42-57-Motor-/282070570888

On 22 Dec 2019, at 11:48 am, R C > wrote:


I actually saw that one,


years ago when I was trying to get them to work, there was not that 
much known about these things.



I wonder if it is easier to just get a good, affordable/inexpensive 
driver, for the steppers and the spindle, and go from there.



The steppers on these tings are kinda weak I think.


But it is fun hacking them.   Paxton/Patterson wants an arm and a 
leg, and will not give any of the info on their machines.



Ron

On 12/21/19 5:33 PM, Phillip Carter wrote:
Probably a good idea, looking at this post 
https://www.cnczone.com/forums/benchtop-machines/19359-cnc-cam-software-post153062.html#post153062 they 
don't use standard parallel port pinouts.


On 22 Dec 2019, at 11:21 am, R C > wrote:


Hi,


yeah I figured that out a good while ago, using turbocnc.  I'll 
play with it a bit more.  But at some point I probably want a 
better more standard driver.



Ron

On 12/21/19 4:53 PM, Phillip Carter wrote:
It is probably worthwhile persevering, if you got the axes 
moving then you can't be too far off.


They look like Sherline machines, I guess they have a third 
party parallel BOB and drivers, do you have any info on them.


On 22 Dec 2019, at 10:45 am, R C > wrote:


I am actually tempted to replace all the electronics in my CNC 
machines, and start from scratch.



I have two Paxton/Patterson "CNC Training Center" machines, 
bench top, a lathe and a mill.



On 12/21/19 4:13 PM, Phillip Carter wrote:
That is above my paygrade, it may be worth your while creating 
a new topic on the forum in this 
sectionhttps://forum.linuxcnc.org/16-stepconf-wizard


On 22 Dec 2019, at 9:21 am, R C > wrote:


Ok,  that seems to be working now, even in stepconf (wonder 
what was going on there).



I have the mill working (sort of), I can make the XYZ axes 
work, that is, I can


jog them in stepconf (the axis moves one step every time I 
click one of the green arrows, I


expected it to continuously move)


The lathe I don't have working on h eother port yet, wonder 
if maybe something is wrong there.


(the spindles are not running,  but that might be because I 
forgot to do the wiring for that, when I built the new cables.



I have an issue saving the second/mill configuration though, 
here's what I get:


Stepconf encountered an error.  The following information may 
be useful in troubleshooting:


Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", 
line 82, in on_button_fwd_clicked

self['%s_finish'%name]()
  File "/usr/lib/python2.7/dist-packages/stepconf/pages.py", 
line 720, in finished_finish

self.a.buid_config()
  File "/usr/bin/stepconf", line 781, in buid_config
self.d.save(base)
  File "/usr/bin/stepconf", line 676, in save
os.symlink(base,shortcut)
OSError: [Errno 2] No such file or directory


thanks,


Ron.






On 12/20/19 12:45 AM, Phillip Carter wrote:

In that case the lathe would have:

loadrt hal_parport cfg="1 out"

And the mill would have:

loadrt hal_parport cfg="2 out"

But again BOTH would have parport.0.blah-blah as it would be 
the first port.


On 20 Dec 2019, at 6:31 pm, Phillip Carter 
mailto:phillcarte...@gmail.com>> 
wrote:


You would have two separate configs, the lathe would have:

loadrt hal_parport cfg="0 out"

And the mill would have:

loadrt hal_parport cfg="1 out"

___
Emc-users mailing list
Emc-users@lists

Re: [Emc-users] parallel port definitions

2019-12-21 Thread Gene Heskett
On Saturday 21 December 2019 20:05:49 R C wrote:

> alright,  that is doable, I might need a bit more than 2m, but I can
> probably find one longer.
>
>
> Maybe it is the best to rip all the OEM stuff out,  and set up the
> hardware from scratch, because I think it is probably a good
>
> idea to use linuxcnc.
>
>
> I also want to  "control" the spindle.  I think in both machines they
> are DC motors,  and might be  good/fun to replace those by something
> more controlable.

I have 2 of my machines setup with DC spindles controlled by the pico 
pwm-servo controllers. Full 4 quadrant control. Good for up to 2hp 
surge, you'll need to build an analog supply, output voltage s/b around 
125, 10 amps running, but surge capable to 20 for a fraction on a 
second, and on my g0704, I can full speed reverse at 3000 rpms, to 3000 
in reverse,(and back) in less than 1 second. Theres some hal trickery to 
do that.

The trick is to delay the reversal's arrival to first use the controller 
to ramp the speed down to 5 rpm (I use a limit3 to time the rampdown) in 
the current direction while timeing the motor encoders a or b pulse to 
detect when the motor has virtually stopped, then let the reverse thru 
and ramp it in that same limit3 back to the set speed in reverse.  The 
same hal code does the opposite when turning around to fwd again.

When stopping or slowing the motor, the 4 quadrant control recovers the 
energy from the motor and dumps the energy back into the supply, which 
on the turnaround is then used to accelerate the the motor in the other 
direction.  A lamp, like a nightlight S7 or S4 will show this voltage 
rise, but not for long as it will likely be blown quickly. :)

Be sure and let Jon know its for a spindle and he will modify it for 
continuous duty, which servos as a general rule aren't. It makes a good, 
bullet-proof control.

> On 12/21/19 6:01 PM, Phill C wrote:
> > Yes, it is an of the shelf fully populated cable like this:
> >
> > http://pico-systems.com/osc2.5/catalog/product_info.php?products_id=
> >28&osCsid=q44slh22e8lckb4jrudvs2skj0
> >
> >> On 22 Dec 2019, at 11:56 am, R C  >> > wrote:
> >>
> >> that looks like something I would need.
> >>
> >>
> >> What parallel cable do you use?  a straight through?  I would love
> >> to get rid of the proprietary stuff in those cns machines.
> >>
> >>
> >> The hardware I was told is Sherline,  but made/setup by
> >> paxton/patterson
> >>
> >>
> >> I'll see if I can post a pic of them in a separate post.
> >>
> >>
> >> Ron
> >>
> >> On 12/21/19 5:53 PM, Phill C wrote:
> >>> I use these for a Sherline mill and a Sherline lathe:
> >>>
> >>> https://www.ebay.com.au/itm/1pcs-5-Axis-CNC-Breakout-Board-For-Ste
> >>>pper-Driver-Controller-mach3/201414938686?epid=23018351668&hash=ite
> >>>m2ee544103e:g:GTkAAOxyBjBTWMPR
> >>>
> >>> https://www.ebay.com/itm/M542H-3A-CNC-Stepper-Motor-Driver-Control
> >>>ler-2-Phase-128-Microstep-f-42-57-Motor-/282070570888
> >>>
>  On 22 Dec 2019, at 11:48 am, R C   > wrote:
> 
>  I actually saw that one,
> 
> 
>  years ago when I was trying to get them to work, there was not
>  that much known about these things.
> 
> 
>  I wonder if it is easier to just get a good,
>  affordable/inexpensive driver, for the steppers and the spindle,
>  and go from there.
> 
> 
>  The steppers on these tings are kinda weak I think.
> 
> 
>  But it is fun hacking them.   Paxton/Patterson wants an arm and a
>  leg, and will not give any of the info on their machines.
> 
> 
>  Ron
> 
>  On 12/21/19 5:33 PM, Phillip Carter wrote:
> > Probably a good idea, looking at this post
> > https://www.cnczone.com/forums/benchtop-machines/19359-cnc-cam-s
> >oftware-post153062.html#post153062 they don't use standard
> > parallel port pinouts.
> >
> >> On 22 Dec 2019, at 11:21 am, R C  >> > wrote:
> >>
> >> Hi,
> >>
> >>
> >> yeah I figured that out a good while ago, using turbocnc.  I'll
> >> play with it a bit more.  But at some point I probably want a
> >> better more standard driver.
> >>
> >>
> >> Ron
> >>
> >> On 12/21/19 4:53 PM, Phillip Carter wrote:
> >>> It is probably worthwhile persevering, if you got the axes
> >>> moving then you can't be too far off.
> >>>
> >>> They look like Sherline machines, I guess they have a third
> >>> party parallel BOB and drivers, do you have any info on them.
> >>>
>  On 22 Dec 2019, at 10:45 am, R C   > wrote:
> 
>  I am actually tempted to replace all the electronics in my
>  CNC machines, and start from scratch.
> 
> 
>  I have two Paxton/Patterson "CNC Training Center" machines,
>  bench top, a lathe and a mill.
> 
>  On 12/21/19 4:13 PM

[Emc-users] Parallel Port Driver Docs

2018-07-11 Thread Joe Hildreth
Hello all,

I have been working on a series of tutorial videos on YouTube on CNC for the 
Home Hobbyist.  In the tutorial I am currently working on, I am discussing the 
parallel port.  I want to give as accurate information as I am able.  My 
question is about the documentation found at [ 
http://linuxcnc.org/docs/2.7/html/hal/parallel-port.html | 
http://linuxcnc.org/docs/2.7/html/hal/parallel-port.html ] This documentation 
primarily talks about adding additional Parallel ports to LCNC.  It states that 
there are three modes in which LCNC can use a PP.  These are in, out and x.  It 
also provides a chart showing the pin direction based on the mode that the port 
is set in.

On this chart or table, it shows for the "in" column that pin 14 is an input 
pin.  I think this is in error and should be labelled as an output.  To test my 
theory, I installed a second PCI PP in a computer and run the stepper config 
wizard.  I set up the first port as output and the second as input.

In both output modes and input modes (for the ports) pin 14 is labelled as an 
output pin.  This would make sense considering that pins 1, 14, 16 and 17 
belong to the control group.

So if this is correct, then the documentation needs to be updated to reflect 
that.  If I am incorrect, can someone explain why this pin is input when the 
mode is set to input?

I also understand that in mode x, that the control port (pins 1, 14, 16 and 17) 
are set to inputs but at risk because the physical pins on the port may not be 
open collector.

If you are interested, the play list for the tutorials can be found here: [ 
https://www.youtube.com/playlist?list=PLaamliiI72ntlrHKIFjh2VjmehRGgZpjm | 
https://www.youtube.com/playlist?list=PLaamliiI72ntlrHKIFjh2VjmehRGgZpjm ] I 
have 9 tutorials there and working on number 10.  The idea behind them is to 
give enough information over time that a new hobbyist can get into some form of 
CNC.  Rather than giving specific case examples, I want the information to be 
applicable to whatever they are wanting to set up.  Router, mill, plasma, 
lathe, 3D printer or whatever.  Constructive criticism is welcome, but I do 
give a disclaimer.  I am not a teacher, engineer or a machinist.  Just a home 
hobbyist who wants to give back to the community.

Thanks for your help and input.  It is greatly appreciated.

Joe Hildreth 
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel Port Docs revisited

2018-07-12 Thread Joe Hildreth
I think I done a poor job of explaining my question, although I believe Andy 
Pugh got it. I created a video demonstrating what I mean, although not the 
great. Was wondering if someone would correct my mis-information or confirm 
what I think to be true. If I am correct, can we get it changed in the 
documentation. 

Here is the video 

https://www.youtube.com/watch?v=QE6tW6W_5Po 

I am sorry if I am being a pain in the a$$ 

Regards, 

Joe 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Problems

2018-10-31 Thread Gene Heskett
On Wednesday 31 October 2018 10:13:51 Todd Zuercher wrote:

> I am trying to use a PCIe duel parallel port card and I'm having some
> trouble with it.  It uses a Moschip 9865 according to lspci-v. I have
> 2 different breakout boards, one is a CNC4PC C10 board and it works
> perfectly fine with this parallel port card.  The other one is one of
> those cheap 5 axis boards targeted for Mach3.
>
Step one step up the rickety ladder that parport BoB's an replace that 
one with a Sainsmart. It has nice solid outputs w/o any opto's to screw 
you with making pwm-generators non-linear as hell, and if you have 
really high resolution encoders, the opto's in the 5 inputs are easy to 
trace and bypass. Well worth the extra 5 bucks USD.

> My problem seems to be that with Linuxcnc this parallel port card
> defaults to a mode where none of the input pins (10,11,12,13,15) are
> pulled up internally.  That isn't a problem with the C10 because it
> has it's own pull ups for all the inputs.  But it is a problem on the
> cheap board which has no pull ups on those pins.  The outputs all seem
> to work fine.

My stuff all has pullups, but I believe the Sainsmart has its own 
pullups. I'm rigged so output true = logic 0 for everything.

> It isn't that this parallel port card can't pull up those pins.  When
> I test the port in Windows it does pull up the input pins up to 3.3v,
> and the cheap breakout will work there.  So there must be some magic
> setting that can make it work.  Does anyone have a clue what it might
> be and how to use it in Linuxcnc?

You might have to use the in-not signal from your interface card if it 
has such a critter. 
>
> I also can't seem to make the card work in X mode in Linuxcnc, which
> makes me think that It isn't using SPP and is defaulting to EPP or ECP
> modes.  Is there a way to try to force a parallel port into SPP mode? 
> (I ask this hoping that forcing the ports into SPP will make the
> inputs pull up.)
>
> I did see on the forum that some have worked around this problem
> simply by adding pull ups to input pins on these cheap breakout
> boards.  But since this parallel port is in fact capable of pulling up
> those pins in Windows, I was hoping a way could be found to do it in
> Linux, and thus avoid having to get out the soldering iron.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



-- 
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 


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


Re: [Emc-users] Parallel Port Problems

2018-10-31 Thread Todd Zuercher
Gene,

My problem isn't the breakout board per say.  It is that this wonky PCIe 
parallel port card isn't pulling up the input pins in Linux (it does in 
Windows).

I can make this breakout board work by adding a 3.3 or 5v pullup to the 
parallel port side of the opto (I've tested it and I know that does work.)  I'm 
asking here if anyone has a clue what it might take to make the parallel port 
work as it should in Linux? (like it does in Windows)  So that I won't have to 
add the pull ups or buy a different breakout board.

Todd Zuercher
P. Graham Dunn Inc.
630 Henry Street 
Dalton, Ohio 44618
Phone:  (330)828-2105ext. 2031

-Original Message-
From: Gene Heskett  
Sent: Wednesday, October 31, 2018 1:49 PM
To: emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Parallel Port Problems

On Wednesday 31 October 2018 10:13:51 Todd Zuercher wrote:

> I am trying to use a PCIe duel parallel port card and I'm having some 
> trouble with it.  It uses a Moschip 9865 according to lspci-v. I have
> 2 different breakout boards, one is a CNC4PC C10 board and it works 
> perfectly fine with this parallel port card.  The other one is one of 
> those cheap 5 axis boards targeted for Mach3.
>
Step one step up the rickety ladder that parport BoB's an replace that one with 
a Sainsmart. It has nice solid outputs w/o any opto's to screw you with making 
pwm-generators non-linear as hell, and if you have really high resolution 
encoders, the opto's in the 5 inputs are easy to trace and bypass. Well worth 
the extra 5 bucks USD.

> My problem seems to be that with Linuxcnc this parallel port card 
> defaults to a mode where none of the input pins (10,11,12,13,15) are 
> pulled up internally.  That isn't a problem with the C10 because it 
> has it's own pull ups for all the inputs.  But it is a problem on the 
> cheap board which has no pull ups on those pins.  The outputs all seem 
> to work fine.

My stuff all has pullups, but I believe the Sainsmart has its own pullups. I'm 
rigged so output true = logic 0 for everything.

> It isn't that this parallel port card can't pull up those pins.  When 
> I test the port in Windows it does pull up the input pins up to 3.3v, 
> and the cheap breakout will work there.  So there must be some magic 
> setting that can make it work.  Does anyone have a clue what it might 
> be and how to use it in Linuxcnc?

You might have to use the in-not signal from your interface card if it has such 
a critter. 
>
> I also can't seem to make the card work in X mode in Linuxcnc, which 
> makes me think that It isn't using SPP and is defaulting to EPP or ECP 
> modes.  Is there a way to try to force a parallel port into SPP mode?
> (I ask this hoping that forcing the ports into SPP will make the 
> inputs pull up.)
>
> I did see on the forum that some have worked around this problem 
> simply by adding pull ups to input pins on these cheap breakout 
> boards.  But since this parallel port is in fact capable of pulling up 
> those pins in Windows, I was hoping a way could be found to do it in 
> Linux, and thus avoid having to get out the soldering iron.
>
> Todd Zuercher
> P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users



--
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>


___
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


Re: [Emc-users] Parallel Port Problems

2018-10-31 Thread Chris Albertson
On Wed, Oct 31, 2018 at 1:46 PM Todd Zuercher  wrote:

> Gene,
>
> My problem isn't the breakout board per say.  It is that this wonky PCIe
> parallel port card isn't pulling up the input pins in Linux (it does in
> Windows).


If it works in Windows it's obviously a software problem.   You need to
look a the source code for the paraport driver in Linux.

Try looking in the /proc/sys/dev/parport.  file system.If you drill
down you can see the list of modes the kernal THINKs the port suports.   It
might be the Kernal thinks the one you need is not suported.  The fix for
this would go the driver.  But is your Kernal up to date, you don't want to
fix something that was allready fixed some months or years ago.

Did the card need a special driver install in Windows?  If so then it
mi=ust be non-standard.


-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] Parallel Port Problems

2018-10-31 Thread bari
I just looked at the manual for the Moschip 9865 and there isn't any
mention of software select for the LPT signal pullups. It doesn't even
mention any being internally available.

Looking at the reference schematic they show that external 4.7K ohm
resistors are to be used on all the LPT pins including 33 ohm series
resistors.

I didn't see anything in the Moschip Linux driver source at the asix.com
website about the pullups.
https://www.asix.com.tw/products.php?op=pItemdetail&PItemID=125;74;111


On 10/31/2018 05:12 PM, Chris Albertson wrote:
> On Wed, Oct 31, 2018 at 1:46 PM Todd Zuercher  wrote:
>
>> Gene,
>>
>> My problem isn't the breakout board per say.  It is that this wonky PCIe
>> parallel port card isn't pulling up the input pins in Linux (it does in
>> Windows).
>
> If it works in Windows it's obviously a software problem.   You need to
> look a the source code for the paraport driver in Linux.
>
> Try looking in the /proc/sys/dev/parport.  file system.If you drill
> down you can see the list of modes the kernal THINKs the port suports.   It
> might be the Kernal thinks the one you need is not suported.  The fix for
> this would go the driver.  But is your Kernal up to date, you don't want to
> fix something that was allready fixed some months or years ago.
>
> Did the card need a special driver install in Windows?  If so then it
> mi=ust be non-standard.
>
>



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


Re: [Emc-users] Parallel Port Problems

2018-10-31 Thread Chris Albertson
So it is looking like the external resisters some how become disconnected
when you swap out the operating system?   Interesting?

No, seriously, the hard part about debugging is that all the documentation
describe the INTENDED design and the way things SHOULD work.   The first
step in debugging is to realized that "This is Impossible.  It can't be
happening"

The resisters reacting to which OS is running?  Impossible, I think.

Last time I had to debug a 3D printer controler board I looked at the volts
output by a microcontroller pin and said "that's impossible, I set it to
"1" but I see a zero. Worse I set four pins to go up/down/up/down all
together at about 1Hz and only 3 of them moved."Impossible?   Not if
there is a solder defect on the PCB that grounded a pin and cause it to
"blow".

I think when you find something that is identifiablely impossible you are
60% of the way fixing it.



On Wed, Oct 31, 2018 at 4:09 PM bari  wrote:

> I just looked at the manual for the Moschip 9865 and there isn't any
> mention of software select for the LPT signal pullups. It doesn't even
> mention any being internally available.
>
> Looking at the reference schematic they show that external 4.7K ohm
> resistors are to be used on all the LPT pins including 33 ohm series
> resistors.
>
> I didn't see anything in the Moschip Linux driver source at the asix.com
> website about the pullups.
> https://www.asix.com.tw/products.php?op=pItemdetail&PItemID=125;74;111
>
>
> On 10/31/2018 05:12 PM, Chris Albertson wrote:
> > On Wed, Oct 31, 2018 at 1:46 PM Todd Zuercher 
> wrote:
> >
> >> Gene,
> >>
> >> My problem isn't the breakout board per say.  It is that this wonky PCIe
> >> parallel port card isn't pulling up the input pins in Linux (it does in
> >> Windows).
> >
> > If it works in Windows it's obviously a software problem.   You need to
> > look a the source code for the paraport driver in Linux.
> >
> > Try looking in the /proc/sys/dev/parport.  file system.If you
> drill
> > down you can see the list of modes the kernal THINKs the port suports.
>  It
> > might be the Kernal thinks the one you need is not suported.  The fix for
> > this would go the driver.  But is your Kernal up to date, you don't want
> to
> > fix something that was allready fixed some months or years ago.
> >
> > Did the card need a special driver install in Windows?  If so then it
> > mi=ust be non-standard.
> >
> >
>
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] Parallel Port Problems

2018-10-31 Thread bari
Having the board in front of me would help or even a high res image.

http://linuxcnc.org/docs/2.6/html/hal/parallel_port.html

"The HAL driver supports the bidirectional port, and allows the user to
set the data group as either input or output. If configured as output, a
port provides a total of 12 outputs and 5 inputs. If configured as
input, it provides 4 outputs and 13 inputs.

In some parallel ports, the control group pins are open collectors,
which may also be driven low by an external gate. On a board with open
collector control pins, the x mode allows a more flexible mode with 8
outputs, and 9 inputs.

HAL and Open Collectors

HAL cannot automatically determine if the x mode bidirectional pins are
actually open collectors (OC). If they are not, they cannot be used as
inputs, and attempting to drive them LOW from an external source can
damage the hardware.

To determine whether your port has open collector pins, load hal_parport
in x mode. With no device attached, HAL should read the pin as TRUE.
Next, insert a 470 ohm resistor from one of the control pins to GND. If
the resulting voltage on the control pin is close to 0V, and HAL now
reads the pin as FALSE, then you have an OC port. If the resulting
voltage is far from 0V, or HAL does not read the pin as FALSE, then your
port cannot be used in x mode."


On 10/31/2018 09:13 PM, Chris Albertson wrote:
> So it is looking like the external resisters some how become disconnected
> when you swap out the operating system?   Interesting?
>
> No, seriously, the hard part about debugging is that all the documentation
> describe the INTENDED design and the way things SHOULD work.   The first
> step in debugging is to realized that "This is Impossible.  It can't be
> happening"
>
> The resisters reacting to which OS is running?  Impossible, I think.
>
> Last time I had to debug a 3D printer controler board I looked at the volts
> output by a microcontroller pin and said "that's impossible, I set it to
> "1" but I see a zero. Worse I set four pins to go up/down/up/down all
> together at about 1Hz and only 3 of them moved."Impossible?   Not if
> there is a solder defect on the PCB that grounded a pin and cause it to
> "blow".
>
> I think when you find something that is identifiablely impossible you are
> 60% of the way fixing it.
>
>
>
> On Wed, Oct 31, 2018 at 4:09 PM bari  wrote:
>
>> I just looked at the manual for the Moschip 9865 and there isn't any
>> mention of software select for the LPT signal pullups. It doesn't even
>> mention any being internally available.
>>
>> Looking at the reference schematic they show that external 4.7K ohm
>> resistors are to be used on all the LPT pins including 33 ohm series
>> resistors.
>>
>> I didn't see anything in the Moschip Linux driver source at the asix.com
>> website about the pullups.
>> https://www.asix.com.tw/products.php?op=pItemdetail&PItemID=125;74;111
>>
>>
>> On 10/31/2018 05:12 PM, Chris Albertson wrote:
>>> On Wed, Oct 31, 2018 at 1:46 PM Todd Zuercher 
>> wrote:
 Gene,

 My problem isn't the breakout board per say.  It is that this wonky PCIe
 parallel port card isn't pulling up the input pins in Linux (it does in
 Windows).
>>> If it works in Windows it's obviously a software problem.   You need to
>>> look a the source code for the paraport driver in Linux.
>>>
>>> Try looking in the /proc/sys/dev/parport.  file system.If you
>> drill
>>> down you can see the list of modes the kernal THINKs the port suports.
>>  It
>>> might be the Kernal thinks the one you need is not suported.  The fix for
>>> this would go the driver.  But is your Kernal up to date, you don't want
>> to
>>> fix something that was allready fixed some months or years ago.
>>>
>>> Did the card need a special driver install in Windows?  If so then it
>>> mi=ust be non-standard.
>>>
>>>
>>
>>
>> ___
>> 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


Re: [Emc-users] Parallel Port Current?

2023-02-22 Thread Chris Albertson
Damage from over-current is cumulative.  The bond wires that go from the
chip to the lead frame are VERY thin and will heat up and can only do this
for so many cycles.

What you might try, to protect the other pins, is to use a higher value
current limiting resistor on the LEDs



On Wed, Feb 22, 2023 at 8:30 AM Todd Zuercher  wrote:

> I have an older Linuxcnc installation that uses a parallel port.  It has 4
> TCRT5000 optical sensors, that I was powering the IR LED with an output
> from the parallel port (and reading the IR sensor with an input.)  It had
> been working fine for some time, but I only use this equipment once a
> year.  This year when I drug it out of storage I could not get one of the
> sensors to work.  After several hours of checking and rechecking every
> connection and trying multiple sensors, I figured out that the LED on the
> sensor that wasn't working simply could not draw enough current from the
> parallel port output to light bright enough, even though it had been
> working in the past.  I switched it from pin14 to pin7 and full
> functionality was restored.  Does this sound like I've partially ruined
> pin14 on the parallel port? (It still turns on and off.)  Do different
> parallel port output pins have different current sourcing capabilities?
>
> I'm a little surprised that this happed to this sensor rather than the
> other 3, because it is fed through about 30 more feet of wire than the
> other 3 that are still working happily (fed by output pins 2-4.)
>
> I guess I should probably set up an alternate power source for the LEDs on
> the sensors, but they had been working fine before and I didn't feel like
> doing the additional wiring.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>


-- 

Chris Albertson
Redondo Beach, California

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


Re: [Emc-users] Parallel Port Current?

2023-02-22 Thread andy pugh
On Wed, 22 Feb 2023 at 16:30, Todd Zuercher  wrote:
>
>  Do different parallel port output pins have different current sourcing 
> capabilities?

Yes, and also they may have different current limits in EPP mode.

In general P-port pins can sink more current than they can source
(generally 15mA, plenty to light an LED) so low-side switching works
better.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


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


Re: [Emc-users] Parallel Port Current?

2023-02-22 Thread John Dammeyer
You also mentioned 30 or so feet of wire.  That's likely also an issue with 
respect to electrical noise pounding away at the PC driver pin and eventually 
causing the output circuit to fail.

Although I only made a few of these boards and never did use the one on this 
web page the general idea is to make the sensor signals a bit more robust to 
noise and long wires.  Perhaps the drawings can help.

http://www.autoartisans.com/ELS/OptoSpindle.htm

At a minimum buffer the TTL outputs with an SN7414.
John


> -Original Message-
> From: Chris Albertson [mailto:albertson.ch...@gmail.com]
> Sent: February-22-23 8:41 AM
> To: Enhanced Machine Controller (EMC)
> Subject: Re: [Emc-users] Parallel Port Current?
> 
> Damage from over-current is cumulative.  The bond wires that go from the
> chip to the lead frame are VERY thin and will heat up and can only do this
> for so many cycles.
> 
> What you might try, to protect the other pins, is to use a higher value
> current limiting resistor on the LEDs
> 
> 
> 
> On Wed, Feb 22, 2023 at 8:30 AM Todd Zuercher  wrote:
> 
> > I have an older Linuxcnc installation that uses a parallel port.  It has 4
> > TCRT5000 optical sensors, that I was powering the IR LED with an output
> > from the parallel port (and reading the IR sensor with an input.)  It had
> > been working fine for some time, but I only use this equipment once a
> > year.  This year when I drug it out of storage I could not get one of the
> > sensors to work.  After several hours of checking and rechecking every
> > connection and trying multiple sensors, I figured out that the LED on the
> > sensor that wasn't working simply could not draw enough current from the
> > parallel port output to light bright enough, even though it had been
> > working in the past.  I switched it from pin14 to pin7 and full
> > functionality was restored.  Does this sound like I've partially ruined
> > pin14 on the parallel port? (It still turns on and off.)  Do different
> > parallel port output pins have different current sourcing capabilities?
> >
> > I'm a little surprised that this happed to this sensor rather than the
> > other 3, because it is fed through about 30 more feet of wire than the
> > other 3 that are still working happily (fed by output pins 2-4.)
> >
> > I guess I should probably set up an alternate power source for the LEDs on
> > the sensors, but they had been working fine before and I didn't feel like
> > doing the additional wiring.
> >
> > Todd Zuercher
> > P. Graham Dunn Inc.<http://www.pgrahamdunn.com/index.php>
> > 630 Henry Street
> > Dalton, Ohio 44618
> > Phone:  (330)828-2105ext. 2031
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> 
> --
> 
> Chris Albertson
> Redondo Beach, California
> 
> ___
> 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] Parallel port not working

2012-01-14 Thread Bob von Knobloch
I am attempting to install emc 2.4.6 on an HP Pavilion t3000 AMD PC.
I have an existing older version, running on an older PC (it wasn't up
to the upgrade).
So, using the old hal & ini files, I constructed the new version, adding
"loadrt probe_parport" to the hal file.
But, I get no output from the parallel port.
Hanging a 'scope on pin 7 (my z-axis step pin), I see it stuck at 'low'.
A winblows installation that was on the PC can print via the parallel
port OK and the parallel port test files ptest.hal & ptest.xml work fine
(I can toggle the pins and see the scope trace move ok).
Dmesg only reports the usual stuff:
[   11.391926] parport_pc 00:07: reported by Plug and Play ACPI
[   11.391973] parport0: PC-style at 0x378, irq 7 [PCSPP,EPP]
[   11.672715] lp0: using parport0 (interrupt-driven).
[   11.730579] ppdev: user-space parallel port driver
I have tried removing the kernel modules, parport, & lp, with no success.

Anyone have any other ideas ??

Many thanks,

Bob von Knobloch

-- 
The Sun is out, the sky is blue, it's time to drive the MR2.


--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port initializing

2007-01-02 Thread jmkasunich
"James Reed" <[EMAIL PROTECTED]> wrote:

> I am attempting to run HAL without the use of EMC2. As I have stated 
> before, I want a DRO only at this point in time, and am not interested in 
> the extras EMC offers. 
> 
> I have successfully run HAL as an internal (to the computer) program (using 
> the function generator in the HAL tutorial and a couple of comparators 
> instead of the parport quadrature input). HOWEVER, when I try real hardware 
> and the parport, I neet 40mA at 5 volts to drive a pin high. This usually 
> indicates the port it configured for output still. 

Which pin?  Sorry if I'm repeating stuff you already know, but I'm just
making sure.  Pins 2-9 can be configured as inputs or outputs.  Pins 10,
11, 12, 13, and 15 are always inputs.  And pins 1, 14, 16, and 17 are
(almost) always ouputs.

To use pins 2-9 as inputs, you need to specify "i" or "in" in the config
string when you load the driver.

To use pins 1, 14, 16, and 17 as inputs, you first need a parport that
supports it, not all do.  Then you need to specify "x" in the config
string.  And finally, you need to set the corresponding outputs high.
The ports that support input on those pins do so by using open-collector
drivers that can pull down but not up.  If you set them high, there is
an internal pullup resistor that pulls the pin high, but it can be
overcome by an external source to read a low input.  You should not
attempt to force these pins high if they are being driven low.
Using pins 1, 14, 16, and 17 as inputs should be considered experimental.
I don't think it is supported at all in version 2.0.x, so unless you are
running code from CVS, ignore this entire paragraph.

> My question is this? When in the program does parport get initialized to 
> inputs, and how do I make sure it is initialized before I try to drive it? 

The direction of pins 2-9 is set when the parport.N.write is executed.
So you must "addf" it to a realtime thread, and start the thread, even
if you don't intend to use any outputs.

(This might be a bug - I will look into setting the port direction as
soon as the driver is loaded.)

> Thanks for your help. 

Hope this is usefull, let us know what you find out.

Good luck,

John Kasunich

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port initializing

2007-01-02 Thread Jeff Epler
On Tue, Jan 02, 2007 at 09:34:33PM +, [EMAIL PROTECTED] wrote:
> To use pins 1, 14, 16, and 17 as inputs, you first need a parport that
> supports it, not all do.  Then you need to specify "x" in the config
> string.  And finally, you need to set the corresponding outputs high.
[...]

also, not all ports support this mode.  I believe that out of 4 linux
boxes I tried, two did support it and two did not.  The two that did
were older machines -- a Pentium II laptop and a Pentium III server.
The two that didn't were newer systems -- an Athlon FX desktop and a
Pentium M laptop.

jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port initializing

2007-01-02 Thread James Reed
I got Hal running as just the input for encoders.  It needed the write to 
the port.  The command 'loadrt hal_parport cfg="0x378_in"' seems to be 
legal.  I've been running 1 encoder through it for a few hours.  Now I need 
to talk about how to link it to something like QT3.

You guys are great!  Thanks for the help.


>From: [EMAIL PROTECTED]
>Reply-To: "Enhanced Machine Controller (EMC)" 
>
>To: "Enhanced Machine Controller (EMC)" 
>Subject: Re: [Emc-users] parallel port initializing
>Date: Tue, 02 Jan 2007 21:34:33 +
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
>bay0-mc4-f15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Tue, 2 
>Jan 2007 13:34:46 -0800
>Received: from sc8-sf-list1-new.sourceforge.net 
>(sc8-sf-list1-new-b.sourceforge.net [10.3.1.93])by 
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 16548125B0; Tue,  2 Jan 
>2007 13:34:46 -0800 (PST)
>Received: from sc8-sf-mx2-b.sourceforge.net 
>([10.3.1.92]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net 
>with esmtp (Exim 4.43)id 1H1rHO-0002cg-Vwfor 
>emc-users@lists.sourceforge.net; Tue, 02 Jan 2007 13:34:43 -0800
>Received: from mtiwmhc11.worldnet.att.net ([204.127.131.115])by 
>mail.sourceforge.net with esmtp (Exim 4.44) id 1H1rHN-0002J3-HFfor 
>emc-users@lists.sourceforge.net; Tue, 02 Jan 2007 13:34:42 -0800
>Received: from mwebmail37.att.net ([204.127.135.76])by worldnet.att.net 
>(mtiwmhc11) with SMTPid <200701022134341110092elge>; Tue, 2 Jan 2007 
>21:34:35 +
>Received: from [63.161.86.254] by mwebmail37.att.net;Tue, 02 Jan 2007 
>21:34:33 +
>X-Message-Info: LsUYwwHHNt2TeQAX1knWS+5uyVW/gRQ1759da/BRbAc=
>X-Mailer: AT&T Message Center Version 1 (Jul 31 2006)
>X-Authenticated-Sender: am1rYXN1bmljaEBhdHQubmV0
>X-Spam-Score: 0.2 (/)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See 
>http://spamassassin.org/tag/ for more details.Report problems 
>tohttp://sf.net/tracker/?func=add&group_id=1&atid=210.2 NO_REAL_NAME
>From: does not include a real name
>X-BeenThere: emc-users@lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "Enhanced Machine Controller 
>(EMC)"
>List-Unsubscribe: 
><https://lists.sourceforge.net/lists/listinfo/emc-users>,<mailto:[EMAIL 
>PROTECTED]>
>List-Archive: 
><http://sourceforge.net/mailarchive/forum.php?forum=emc-users>
>List-Post: <mailto:emc-users@lists.sourceforge.net>
>List-Help: <mailto:[EMAIL PROTECTED]>
>List-Subscribe: 
><https://lists.sourceforge.net/lists/listinfo/emc-users>,<mailto:[EMAIL 
>PROTECTED]>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>X-OriginalArrivalTime: 02 Jan 2007 21:34:46.0959 (UTC) 
>FILETIME=[D322F3F0:01C72EB5]
>
>"James Reed" <[EMAIL PROTECTED]> wrote:
>
> > I am attempting to run HAL without the use of EMC2. As I have stated
> > before, I want a DRO only at this point in time, and am not interested 
>in
> > the extras EMC offers.
> >
> > I have successfully run HAL as an internal (to the computer) program 
>(using
> > the function generator in the HAL tutorial and a couple of comparators
> > instead of the parport quadrature input). HOWEVER, when I try real 
>hardware
> > and the parport, I neet 40mA at 5 volts to drive a pin high. This 
>usually
> > indicates the port it configured for output still.
>
>Which pin?  Sorry if I'm repeating stuff you already know, but I'm just
>making sure.  Pins 2-9 can be configured as inputs or outputs.  Pins 10,
>11, 12, 13, and 15 are always inputs.  And pins 1, 14, 16, and 17 are
>(almost) always ouputs.
>
>To use pins 2-9 as inputs, you need to specify "i" or "in" in the config
>string when you load the driver.
>
>To use pins 1, 14, 16, and 17 as inputs, you first need a parport that
>supports it, not all do.  Then you need to specify "x" in the config
>string.  And finally, you need to set the corresponding outputs high.
>The ports that support input on those pins do so by using open-collector
>drivers that can pull down but not up.  If you set them high, there is
>an internal pullup resistor that pulls the pin high, but it can be
>overcome by an external source to read a low input.  You should not
>attempt to force these pins high if they are being driven low.
>Using pins 1, 14, 16, and 17 as inputs should be considered experimental.
>I don't think it is supported at all in version 2.0.x, so unless you are
>running code from CVS, ignore this entire paragraph.
>
> > My question is this? When in the program does parport get initi

Re: [Emc-users] parallel port initializing

2007-01-02 Thread Stephen Wille Padnos
Well, if you must have Qt, then I think I can help you :)

There was a little bit of work done on a Qt<->NML interface a couple of 
years ago.  It never went too far, but strangely enough, the "demo app" 
is a DRO :)

I'll dig it up and either stick it on the wiki or I can email it (or 
even check it into CVS somewhere).

- Steve

James Reed wrote:

>I got Hal running as just the input for encoders.  It needed the write to 
>the port.  The command 'loadrt hal_parport cfg="0x378_in"' seems to be 
>legal.  I've been running 1 encoder through it for a few hours.  Now I need 
>to talk about how to link it to something like QT3.
>
>You guys are great!  Thanks for the help.
>  
>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port initializing

2007-01-03 Thread Anders Wallin
James Reed wrote:
> I got Hal running as just the input for encoders.  It needed the write to 
> the port.  The command 'loadrt hal_parport cfg="0x378_in"' seems to be 
> legal.  I've been running 1 encoder through it for a few hours.  Now I need 
> to talk about how to link it to something like QT3.

James, you might have noticed a recent development called pyVCP:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?PyVCP

I assume your encoder counts or machine position are now HAL_FLOAT 
signals? If you want a HAL_FLOAT displayed on-screen without running emc 
you don't have to reinvent the wheel with QT3, you can do it very easily 
and quickly with pyvcp.

currently pyvcp runs when AXIS is run, but the modifications to make it 
run standalone with a use-specified input file are small. I (or someone 
else) just have to modify the parser to take an optional input argument, 
and create a root window when AXIS does not do that.

AW

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port initializing

2007-01-03 Thread James Reed
I had someone mention this a while ago.  I tried to find it to understand 
what was being mentioned, but either was looking for the wrong thing, or 
didn't understand what was being said.  I'll try to look into it some more.


The only reason I mentioned Qt is I already on the learning curve on it.  
It's an old saying I once learned.  To a person who's only tool is a hammer, 
every problem has a nail head.




From: Anders Wallin <[EMAIL PROTECTED]>
Reply-To: "Enhanced Machine Controller (EMC)" 


To: "Enhanced Machine Controller (EMC)" 
Subject: Re: [Emc-users] parallel port initializing
Date: Wed, 03 Jan 2007 10:25:36 +0200
MIME-Version: 1.0
Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
bay0-mc5-f5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Wed, 3 
Jan 2007 00:25:48 -0800
Received: from sc8-sf-list1-new.sourceforge.net 
(sc8-sf-list1-new-b.sourceforge.net [10.3.1.93])by 
sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid D991CF68F; Wed,  3 Jan 
2007 00:25:47 -0800 (PST)
Received: from sc8-sf-mx1-b.sourceforge.net 
([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net 
with esmtp (Exim 4.43)id 1H21RR-00067S-TMfor 
emc-users@lists.sourceforge.net; Wed, 03 Jan 2007 00:25:46 -0800
Received: from sender-01.it.helsinki.fi ([128.214.205.139])by 
mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256)(Exim 4.44) id 
1H21RQ-0001Fk-9Wfor emc-users@lists.sourceforge.net; Wed, 03 Jan 2007 
00:25:45 -0800
Received: from [192.168.1.103] (cs181221219.pp.htv.fi 
[82.181.221.219])(authenticated bits=0)by sender-01.it.helsinki.fi 
(8.13.8/8.13.8) with ESMTP idl038PaEQ024732(version=TLSv1/SSLv3 
cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)for 
; Wed, 3 Jan 2007 10:25:36 +0200

X-Message-Info: LsUYwwHHNt3NB40NHUpWK8+iIBzaJIigwjq+Hw/hNek=
User-Agent: Thunderbird 1.5.0.9 (Windows/20061207)
References: <[EMAIL PROTECTED]>
X-Spam-Score: 0.0 (/)
X-Spam-Report: Spam Filtering performed by sourceforge.net.See 
http://spamassassin.org/tag/ for more details.Report problems 
tohttp://sf.net/tracker/?func=add&group_id=1&atid=21

X-BeenThere: emc-users@lists.sourceforge.net
X-Mailman-Version: 2.1.8
Precedence: list
List-Id: "Enhanced Machine Controller 
(EMC)"
List-Unsubscribe: 
<https://lists.sourceforge.net/lists/listinfo/emc-users>,<mailto:[EMAIL PROTECTED]>
List-Archive: 
<http://sourceforge.net/mailarchive/forum.php?forum=emc-users>

List-Post: <mailto:emc-users@lists.sourceforge.net>
List-Help: <mailto:[EMAIL PROTECTED]>
List-Subscribe: 
<https://lists.sourceforge.net/lists/listinfo/emc-users>,<mailto:[EMAIL PROTECTED]>

Errors-To: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 03 Jan 2007 08:25:48.0331 (UTC) 
FILETIME=[C5874FB0:01C72F10]


James Reed wrote:
> I got Hal running as just the input for encoders.  It needed the write 
to

> the port.  The command 'loadrt hal_parport cfg="0x378_in"' seems to be
> legal.  I've been running 1 encoder through it for a few hours.  Now I 
need

> to talk about how to link it to something like QT3.

James, you might have noticed a recent development called pyVCP:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?PyVCP

I assume your encoder counts or machine position are now HAL_FLOAT
signals? If you want a HAL_FLOAT displayed on-screen without running emc
you don't have to reinvent the wheel with QT3, you can do it very easily
and quickly with pyvcp.

currently pyvcp runs when AXIS is run, but the modifications to make it
run standalone with a use-specified input file are small. I (or someone
else) just have to modify the parser to take an optional input argument,
and create a root window when AXIS does not do that.

AW

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share 
your

opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


_
Find sales, coupons, and free shipping, all in one place!  MSN Shopping 
Sales & Deals 
http://shopping.msn.com/content/shp/?ctid=198,ptnrid=176,ptnrdata=200639



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port initializing

2007-01-03 Thread Anders Wallin
> currently pyvcp runs when AXIS is run, but the modifications to make it 
> run standalone with a use-specified input file are small. I (or someone 
> else) just have to modify the parser to take an optional input argument, 
> and create a root window when AXIS does not do that.

this brings up another thought.

currently when running pyvcp under AXIS, the pyvcp pins are created with 
names like axisui.

presumably, when running pyvcp standalone, pins are named pyvcp.

I think it would be desirable to have them named identically in both 
cases. That way a user can rapidly test and refine the widget layout/HAL 
connections in standalone mode, and then "dock" the panel into AXIS 
without having to modify the HAL script.
Jeff, Chris: is this doable?

AW

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port initializing

2007-01-03 Thread paul_c
On Wednesday 03 January 2007 02:17, Stephen Wille Padnos wrote:
> There was a little bit of work done on a Qt<->NML interface a couple of
> years ago.  It never went too far, but strangely enough, the "demo app"
> is a DRO :)

The core code is being used in a couple of applications.

> I'll dig it up and either stick it on the wiki or I can email it (or
> even check it into CVS somewhere).

You will of course check with the original author and ascertain that you have 
permission to release the code in to the public domain before 
posting/committing/emailing ?


Regards, Paul.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port initializing

2007-01-03 Thread Stephen Wille Padnos
paul_c wrote:

>On Wednesday 03 January 2007 02:17, Stephen Wille Padnos wrote:
>  
>
>>There was a little bit of work done on a Qt<->NML interface a couple of
>>years ago.  It never went too far, but strangely enough, the "demo app"
>>is a DRO :)
>>
>>
>The core code is being used in a couple of applications.
>  
>
Interesting.  Can you name them?  (or is it a secret)

>>I'll dig it up and either stick it on the wiki or I can email it (or
>>even check it into CVS somewhere).
>>
>>
>You will of course check with the original author and ascertain that you have 
>permission to release the code in to the public domain before 
>posting/committing/emailing ?
>  
>
Of course.  I intend to check the source for an appropriate license, and 
check with the author if none exists. Is that acceptable?

- Steve


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port initializing

2007-01-03 Thread Ray Henry

There is a way around it if we find that Paul successfully raises the
proprietary flag with the work that I encouraged him to do with qt3.

Smithy Company has purchased a written from scratch version of a QT4 EMC
library that will be LGPL copyright.  This should be available before
long.

Rayh


On Wed, 2007-01-03 at 11:20 -0500, Stephen Wille Padnos wrote:
> paul_c wrote:
> 
> >On Wednesday 03 January 2007 02:17, Stephen Wille Padnos wrote:
> >  
> >
> >>There was a little bit of work done on a Qt<->NML interface a couple of
> >>years ago.  It never went too far, but strangely enough, the "demo app"
> >>is a DRO :)
> >>
> >>
> >The core code is being used in a couple of applications.
> >  
> >
> Interesting.  Can you name them?  (or is it a secret)
> 
> >>I'll dig it up and either stick it on the wiki or I can email it (or
> >>even check it into CVS somewhere).
> >>
> >>
> >You will of course check with the original author and ascertain that you 
> >have 
> >permission to release the code in to the public domain before 
> >posting/committing/emailing ?
> >  
> >
> Of course.  I intend to check the source for an appropriate license, and 
> check with the author if none exists. Is that acceptable?
> 
> - Steve
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port initializing

2007-01-03 Thread jmkasunich
"James Reed" <[EMAIL PROTECTED]> wrote: 

> I got Hal running as just the input for encoders. It needed the
> write to the port.

Glad to hear that.  Last night I modified the parport driver so
that the port direction is set as soon as you load the driver.
(No need to run "parport.N.write" unless you are actually using
the port for outputs.)

The fix is in CVS HEAD, and will also be part of the 2.1 release.

Thanks for calling the bug to my attention.

Regards,

John Kasunich

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port installation

2007-02-25 Thread Jon Elson
Jack Ensor wrote:

>I need some help getting my board that provides 2 additional parallel ports
>working.
>
>The installation instructions with the board:
>
>Installation Guide for PCI Parallel Ports 
>
>
>
>This installation guide describes the procedure to install the Nm9705CV,
>Nm9735CV, Nm9805CV, Nm9815CV, Nm9835CV, Nm9755CV PCI parallel ports in Linux
>platform.
>
>
>
>Linux kernel provide a 'parport' code to support parallel port (/dev/lp0, 
>/dev/lp1, /dev/lp2). This code provides the ability to share one port between
>multiple devices. And it is loadable when kernel is running.
>
>
>
>  
>
If you are doing this for motion control (ie. more stepper axes) then 
you don't need to
worry about the Linux driver, as the real-time code doesn't use it.  It 
just has to have the
data and status ports at a known offset, and you need to search the PCI 
config info to
see what the plug-n-play set the address to.

If you need it for additional status and control I/O, then it may need 
the low-level
parport driver.  But, I think these boards are compatible enough that 
the basic functions
are at the standard addresses.

Jon

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port installation

2007-02-25 Thread John Kasunich
Jon Elson wrote:

> If you are doing this for motion control (ie. more stepper axes) then 
> you don't need to
> worry about the Linux driver, as the real-time code doesn't use it.  It 
> just has to have the
> data and status ports at a known offset, and you need to search the PCI 
> config info to
> see what the plug-n-play set the address to.
> 
> If you need it for additional status and control I/O, then it may need 
> the low-level
> parport driver.  But, I think these boards are compatible enough that 
> the basic functions
> are at the standard addresses.

There is no distinction between "motion control" and "status and control 
I/O" in EMC2.  You load the parport driver, and tell it which ports you 
want to use.  The driver makes all the pins of all the ports available 
in HAL, and then you connect any signal to any pin on any parport.

The distinction between motion control parport (realtime) and 
control/status parport (non-realtime) is ancient history.

Regards,

John Kasunich

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port installation

2007-02-25 Thread Alex Joni
- Original Message - 
From: "Jack Ensor" <[EMAIL PROTECTED]>
To: "EMC" 
Sent: Monday, February 26, 2007 3:52 AM
Subject: [Emc-users] Parallel port installation



> info.vendor strlist /NetMos Technology

> I hope that with the above information that someone maybe able to 
> determine what
> I must do in order to get things going in my system.
>
> Jack Ensor
>

It seems that you are trying to use an add-on card (NetMos).
There is a good description how to do that for emc2 in the wiki.
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?NetMos

If you already looked there, and didn't find it, please let me know 
where you looked so we can make it more visible.

Regards,
Alex 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port installation

2007-02-26 Thread Jon Elson
John Kasunich wrote:

>Jon Elson wrote:
>
>  
>
>>If you are doing this for motion control (ie. more stepper axes) then 
>>you don't need to
>>worry about the Linux driver, as the real-time code doesn't use it.  It 
>>just has to have the
>>data and status ports at a known offset, and you need to search the PCI 
>>config info to
>>see what the plug-n-play set the address to.
>>
>>If you need it for additional status and control I/O, then it may need 
>>the low-level
>>parport driver.  But, I think these boards are compatible enough that 
>>the basic functions
>>are at the standard addresses.
>>
>>
>
>There is no distinction between "motion control" and "status and control 
>I/O" in EMC2.  You load the parport driver, and tell it which ports you 
>want to use.  The driver makes all the pins of all the ports available 
>in HAL, and then you connect any signal to any pin on any parport.
>
>The distinction between motion control parport (realtime) and 
>control/status parport (non-realtime) is ancient history.
>
>  
>
OK, so is this all done now in the real-time code?  By "You load the 
parport driver"
do you mean the EMC2/HAL parport driver?  If so, then the OP shouldn't 
need the
Linux driver, except possibly to set the mode of the port before 
starting EMC.

Jon

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port installation

2007-02-26 Thread Jack Ensor
Thanks for the info.
Yes, I failed to say that I am trying to interface an add-on parallel 
port card.  I knew there must be a way of determining what the offset 
addresses were.
Can't wait to give this a try.

Jack Ensor

Alex Joni wrote:
>   
> It seems that you are trying to use an add-on card (NetMos).
> There is a good description how to do that for emc2 in the wiki.
> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?NetMos
>
> If you already looked there, and didn't find it, please let me know 
> where you looked so we can make it more visible.
>
> Regards,
> Alex 
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> .
>
>   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port problems

2007-10-08 Thread Chris Radek
On Mon, Oct 08, 2007 at 04:23:26PM +, Paul Pierce wrote:
> 
> I could not source enough current from my Parallel port for my
> controll card to drive my stepper motor, so today, i added a new PCI
> parallel port card.

Some information on the wiki:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?NetMos

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port problems

2007-10-09 Thread Paul Pierce


> I could not source enough current from my Parallel port for my
> controll card to drive my stepper motor, so today, i added a new PCI
> parallel port card.

Some information on the wiki:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?NetMos

Thanks Chris.

My problem is that even when i try to address my old parallel port 0x0378 - i 
get an error when i try to start EMC. I have tried addresses 0x0278 and 0x03BC 
and still i get an error. I don't know why i cannot access my old parallel 
port. This is the same even when i remove the PCI Parallel port card and just 
address the on-boar parallel port.

The debug line says:
insmod: error inserting 'usr/realtime-2.6.15-magma/modules/emc/ hal_parport.ko'
:-1 device or resource busy.




  ___ 
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good  
http://uk.promotions.yahoo.com/forgood/environment.html-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port problems

2007-10-09 Thread Alex Joni
Hi Paul,

can you give us the output of 'lsmod' from before starting emc2?

Maybe you can join #emc on irc.freenode.net (would be faster than exchanging 
emails every couple of days)

Regards,
Alex


- Original Message - 
From: Paul Pierce
To: emc-users@lists.sourceforge.net
Sent: Tuesday, October 09, 2007 12:10 PM
Subject: Re: [Emc-users] Parallel port problems




> I could not source enough current from my Parallel port for my
> controll card to drive my stepper motor, so today, i added a new PCI
> parallel port card.

Some information on the wiki:

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?NetMos

Thanks Chris.

My problem is that even when i try to address my old parallel port 0x0378 - 
i get an error when i try to start EMC. I have tried addresses 0x0278 and 
0x03BC and still i get an error. I don't know why i cannot access my old 
parallel port. This is the same even when i remove the PCI Parallel port 
card and just address the on-boar parallel port.

The debug line says:
insmod: error inserting 'usr/realtime-2.6.15-magma/modules/emc/ 
hal_parport.ko'
:-1 device or resource busy.




For ideas on reducing your carbon footprint visit Yahoo! For Good this 
month.



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/



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




No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.14.5/1058 - Release Date: 10/8/2007 
4:54 PM 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Problems

2007-12-20 Thread Ray Henry

These suggestions may be irrelevant, John.  I've not had a full dose of
coffee.  

Is the bios for this parport set to spp or out?
Have you tried inverting these pins using HAL's parport parameters?

I seem to remember that a couple of the pins you list were considered
inverted in hardware but that diagram seems to have gone away.  From the
current HAL User Manual it sounds like HAL takes account of pins that
were inverted in hardware.

Also long ago we had to use external pull-up or pull-down resistors to
create a well behaved parport.

Rayh 



On Thu, 2007-12-20 at 06:41 -0600, John Thornton wrote:
> I have a CNC4PC parallel port breakout board connected to my parallel port 
> via a 
> parallel port cable. When testing all the outputs in EMC2 via the HAL command 
> setp parport.0.pin-nn-out (all unlinked first) pins 1, 8, 9, 14 and 16 do not 
> come on.
> 
> Does this look like some kind of pattern or something? Any ideas?
> 
> All the other pins in and out work as expected.
> 
> Thanks
> John


-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Problems

2007-12-20 Thread Emory Smith
Amen on the coffee. Still on first cup.

Did you try the .hal equivalent of explicitly configuring the parport like:
loadrt hal_parport cfg="0x0378 out"?
And as Rayh said, you might need resistors.
Is it a "standard" desktop PC with on-board parport?

Keep us posted,
Emory

On Dec 20, 2007 7:54 AM, Ray Henry <[EMAIL PROTECTED]> wrote:
>
> These suggestions may be irrelevant, John.  I've not had a full dose of
> coffee.
>
> Is the bios for this parport set to spp or out?
> Have you tried inverting these pins using HAL's parport parameters?
>
> I seem to remember that a couple of the pins you list were considered
> inverted in hardware but that diagram seems to have gone away.  From the
> current HAL User Manual it sounds like HAL takes account of pins that
> were inverted in hardware.
>
> Also long ago we had to use external pull-up or pull-down resistors to
> create a well behaved parport.
>
> Rayh
>
>
>
>
> On Thu, 2007-12-20 at 06:41 -0600, John Thornton wrote:
> > I have a CNC4PC parallel port breakout board connected to my parallel port 
> > via a
> > parallel port cable. When testing all the outputs in EMC2 via the HAL 
> > command
> > setp parport.0.pin-nn-out (all unlinked first) pins 1, 8, 9, 14 and 16 do 
> > not come on.
> >
> > Does this look like some kind of pattern or something? Any ideas?
> >
> > All the other pins in and out work as expected.
> >
> > Thanks
> > John
>
>
> -
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



-- 
Emory Smith
[EMAIL PROTECTED]
http://defoliants.googlepages.com

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Problems

2007-12-24 Thread John Thornton
On 23 Dec 2007 at 8:45, [EMAIL PROTECTED] wrote:

Rayh and Emory,

Yes it's a standard pc with an onboard parallel port. 
I have it configed as out with "0x0378 out".

The bios choices I have are Normal, Bi-Dir, EPP, ECP...

Normal is where it was set.
Bi-Dir no change
EPP 1.7 pin 1 works... 8, 9, 14, 16 don't the rest are ok
EPP 1.9 pin 1 works... 8, 9, 14, 16 don't the rest are ok
ECP pin 1 works... 8, 9, 14, 16 don't the rest are ok

I tried to invert pins 8, 9, 14, 16 but no change. I've ordered some
parallel port cards and will disable the onboard one I think.

Thanks
John

> These suggestions may be irrelevant, John.  I've not had a full dose
> of coffee.  
> 
> Is the bios for this parport set to spp or out?
> Have you tried inverting these pins using HAL's parport parameters?
> 
> I seem to remember that a couple of the pins you list were considered
> inverted in hardware but that diagram seems to have gone away.  From
> the current HAL User Manual it sounds like HAL takes account of pins
> that were inverted in hardware.
> 
> Also long ago we had to use external pull-up or pull-down resistors to
> create a well behaved parport.
> 
> Rayh 
> 
> Did you try the .hal equivalent of explicitly configuring the parport
> like: loadrt hal_parport cfg="0x0378 out"? And as Rayh said, you might
> need resistors. Is it a "standard" desktop PC with on-board parport?
> 
> Keep us posted,
> Emory
> 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel port PCI card

2008-06-06 Thread aaron Moore
Hi

Can anyone tell me what kind of parallel port pci card I need to connect
my computer to the breakout board.  I have one computer with no parallel
port and another computer with a parallel port that does not give out the
right signals I presume.  I need to get one of them to work.

Thanks

Aaron 

-- 
Powered by Outblaze
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Test

2008-08-12 Thread Alex Joni
I usually use a wire to connect an output to an input, then use halmeter
to see if it toggles.
But in some cases this might not work (needs pull-ups or such)

Regards,
Alex


On Tue, 2008-08-12 at 09:24 -0700, Andrew Ayre wrote:
> Hi, Is there an easy way of testing the parallel port without having an 
> oscilloscope? A friend's controller board started smoking (Z axis driver 
> chip) and now none of the axis work. It's pretty easy to replace chips, 
> check solder joints, etc. but how to test the parallel port?
> 
> thanks, Andy
> 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Test

2008-08-13 Thread John Thornton
Andy,

This link shows how to connect leds to the parallel port for testing.

http://www.epanorama.net/circuits/parallel_output.html

I took a printer cable and hacked one end off and used that when I was testing 
my 
parallel port. Then when I got my BOB with leds from CNC4PC testing was easy.

John

On 12 Aug 2008 at 9:24, Andrew Ayre wrote:

> Hi, Is there an easy way of testing the parallel port without having
> an oscilloscope? A friend's controller board started smoking (Z axis
> driver chip) and now none of the axis work. It's pretty easy to
> replace chips, check solder joints, etc. but how to test the parallel
> port?
> 
> thanks, Andy
> 
> -- 
> Andy
> PGP Key ID: 0xDC1B5864
> 
> --
> --- This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK &
> win great prizes Grand prize is a trip for two to an Open Source event
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___ Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Test

2008-08-13 Thread Andrew Ayre
Thanks Alex and John for the suggestions. I will pass them along! :)

Andy

John Thornton wrote:
> Andy,
> 
> This link shows how to connect leds to the parallel port for testing.
> 
> http://www.epanorama.net/circuits/parallel_output.html
> 
> I took a printer cable and hacked one end off and used that when I was 
> testing my 
> parallel port. Then when I got my BOB with leds from CNC4PC testing was easy.
> 
> John
> 
> On 12 Aug 2008 at 9:24, Andrew Ayre wrote:
> 
>> Hi, Is there an easy way of testing the parallel port without having
>> an oscilloscope? A friend's controller board started smoking (Z axis
>> driver chip) and now none of the axis work. It's pretty easy to
>> replace chips, check solder joints, etc. but how to test the parallel
>> port?
>>
>> thanks, Andy
>>
>> -- 
>> Andy
>> PGP Key ID: 0xDC1B5864
>>
>> --
>> --- This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge Build the coolest Linux based applications with Moblin SDK &
>> win great prizes Grand prize is a trip for two to an Open Source event
>> anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___ Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
> 
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> 

-- 
Andy
PGP Key ID: 0xDC1B5864

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel port erratic access

2008-11-26 Thread Denis Stremplewski
Hi,

I have downloaded the official package "emc.2.2.1-ubuntu 6.06", but when ubuntu 
is loaded, and emc is not launched, I see an activity on parallel port 
(pulses), so the motors are erraticaly activated. 
When EMC is launched, it works, and the motors turn fine the most of time, but 
sometimes the port is erraticaly activated.

It seems that a "phantom" software works together with emc.

I have installed ubuntu 8, this problem doesn't appear, but my video card is 
not well recognized (problem when emc is launched)

So : ubuntu 6 : video OK, parallel port erratic
ubuntu 8 : video nok, parallel port ok.

My PC (celeron 466) works fine with win98 ;-)

Do you have an idea ?

Thanks
Denis
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Signals

2009-01-14 Thread John Kasunich
Peter Restall wrote:
> Afternoon All,
> 
> This is my first EMC Users post (first mailing list in a while actually), so
> please be gentle with any etiquette misdemeanors !

Welcome.  Misdemeanors are fine, we only grumble about felonies.


> I'm just beginning to put together a design for a hobby CNC machine, with my
> own driver board electronics - glutton for punishment really.  Looking around,
> EMC seems to be the way to go in terms of controller software - as a GNU/Linux
> user, because this hobby project is on a budget, and because it looks to be
> nicely featured and extensible.
> 
> So, my question for the time being is, are the parallel port signals (ie. the
> waveform/timing diagrams) documented anywhere ?  For instance, are the axis
> step signals sent as pulses (ie. step the motor once per low-high transition),
> or are they flat (ie. keep stepping the motor until the signal goes low) ?
> I've seen the StepConf documentation - which is the closest I've found - but
> that doesn't really explain a lot (it's more end-user oriented).
> 
> I'm sure I will have more questions, especially around timing, so if there is
> a source on the 'net with this sort of low-level detail that I haven't seen
> yet, I'd appreciate a link.  It's either that or you're going to get sick of
> my constant e-mails pretty quickly...!


EMC2's step generator can do a number of different output formats.  See 
http://www.linuxcnc.org/docview/html//hal_rtcomps.html#sec:Stepgen

The stepgen outputs are routed to the parallel port (or to other places) 
using HAL.  You don't strictly NEED to know how HAL works, but if you 
are at all interested in a low-level understanding, I strongly recommend 
at least reading and preferably actually doing the tutorial:
http://www.linuxcnc.org/docview/html//hal_tutorial.html

Regards,

John Kasunich

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Signals

2009-01-14 Thread Ian W. Wright
Peter,

Welcome. If you are using the AXIS display option - as is 
default on the Live CD, you can get an idea of the output 
waveforms by using the built-in oscilloscope function. If 
you look in the HAL tutorial that John points to, you will 
find instructions on how to use it. Basically though, any 
'pin' or point in the control chain may be used as an input 
signal for the multi-channel scope and this is a very useful 
feature to learn what is happening in EMC2 and to trouble-shoot.

-- 
Best wishes,

Ian

Ian W. Wright
Sheffield  UK

"The difference between theory and practice is much smaller 
in theory than in practice..."

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Signals

2009-01-14 Thread John Kasunich
Ian W. Wright wrote:
> Peter,
> 
> Welcome. If you are using the AXIS display option - as is 
> default on the Live CD, you can get an idea of the output 
> waveforms by using the built-in oscilloscope function.

You don't need to be using AXIS to use the scope.  AXIS simply provides 
a convenient menu bar entry to invoke the halscope.  You can use 
halscope ANYTIME as long as HAL (or EMC2, which uses HAL) is running, 
regardless of what GUI you are using.

 From the command line:  "halscope".  At a halcmd prompt or even within 
a hal file:  "loadusr halscope".  You can also make a desktop icon or 
menu item to start halscope, but I'm not sure exactly what the steps are 
to do that. I do most things with the command line, and if I need to 
make an icon or something, I just muddle through.

Regards,

John Kasunich


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Signals

2009-01-14 Thread Stephen Wille Padnos
Peter Restall wrote:

>Afternoon All,
>
>This is my first EMC Users post (first mailing list in a while actually), so
>please be gentle with any etiquette misdemeanors !
>  
>
The nerve!  :)

>[snip]
>So, my question for the time being is, are the parallel port signals (ie. the
>waveform/timing diagrams) documented anywhere ?  
>
Yes, it should be in the manuals.  I don't know if all the low level 
stuff is in the PDF manual, but you should find it all on the 
linuxcnc.org website:


HAL tutorial here:
  (note: some 
screenshots are a bit out of date)

>For instance, are the axis
>step signals sent as pulses (ie. step the motor once per low-high transition),
>or are they flat (ie. keep stepping the motor until the signal goes low) ?
>I've seen the StepConf documentation - which is the closest I've found - but
>that doesn't really explain a lot (it's more end-user oriented).
>  
>
Note that you have options that are not step/dir.  You can do 
PWM+direction or up/down PWM for example.  Making a driver for a 
(smallish) servo may be easier than a stepper, since you need half the 
electronics (one H-bridge instead of two).  There is the added 
complexity of encoders, but those are pretty simple to hook up - you 
just need more I/Os.

If you decide you need some type of output that EMC2 doesn't already 
have, you can write a component to generate it.  EMC2 is separated into 
several layers, and the motion controller doesn't care how the lower 
levels get the motors to move.  You can use PWM on one axis, step/dir on 
another, and analog on another, and the motion controller will still be 
happy (as long as all the motors keep up).

>I'm sure I will have more questions, especially around timing, so if there is
>a source on the 'net with this sort of low-level detail that I haven't seen
>yet, I'd appreciate a link.  It's either that or you're going to get sick of
>my constant e-mails pretty quickly...!
>  
>
 has all the timing info you need, if you can 
read C :)
HAL components like the step and PWM generators are in the directory 
emc2/src/hal/components/

- Steve


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Signals

2009-01-14 Thread Gene Heskett
On Wednesday 14 January 2009, Peter Restall wrote:
>Afternoon All,
>
>This is my first EMC Users post (first mailing list in a while actually), so
>please be gentle with any etiquette misdemeanors !
>
>I'm just beginning to put together a design for a hobby CNC machine, with my
>own driver board electronics - glutton for punishment really.  Looking
> around, EMC seems to be the way to go in terms of controller software - as
> a GNU/Linux user, because this hobby project is on a budget, and because it
> looks to be nicely featured and extensible.
>
>So, my question for the time being is, are the parallel port signals (ie.
> the waveform/timing diagrams) documented anywhere ?  For instance, are the
> axis step signals sent as pulses (ie. step the motor once per low-high
> transition), or are they flat (ie. keep stepping the motor until the signal
> goes low) ? I've seen the StepConf documentation - which is the closest
> I've found - but that doesn't really explain a lot (it's more end-user
> oriented).

Its a pulse per step, always has been AFAIK.

>I'm sure I will have more questions, especially around timing, so if there
> is a source on the 'net with this sort of low-level detail that I haven't
> seen yet, I'd appreciate a link.  It's either that or you're going to get
> sick of my constant e-mails pretty quickly...!

Generally speaking from my own experiences here, as long as each question is 
new, no problem.

>Thanks in advance.
>
>Regards,
>
>Pete Restall

Welcome Pete.  Be aware that there is also an IRC channel, #emc where as 
likely as not, someone knowledgeable enough to help will often reply quickly.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
1: No code table for op: ++post

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Utility

2011-09-15 Thread doug metzler
1) loopback test to confirm that the port is actually working?  Esp.
if it would report back what address it found the loopback adapter on.
2) something that that tells me who is holding or has handles to it?
(I'm sure this already exists but it would be nice to be encapsulated
in the same place)
3) a wizard that configures it for EMC :-)

I'll be your tester..

Thanks,

DougM

On Thu, Sep 15, 2011 at 9:04 AM, Kirk Wallace
 wrote:
> I played with showport.c to get what I needed at the time, then moved
> on. Should showport.c be expanded, improved? What should be included,
> improved? Is there already a program that does what showport does? Maybe
> it should be incorporated into the present config utilities?
>
> See:
> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Startech
>
> --
> Kirk Wallace
> http://www.wallacecompany.com/machine_shop/
> http://www.wallacecompany.com/E45/index.html
> California, USA
>
>
> --
> Doing More with Less: The Next Generation Virtual Desktop
> What are the key obstacles that have prevented many mid-market businesses
> from deploying virtual desktops?   How do next-generation virtual desktops
> provide companies an easier-to-deploy, easier-to-manage and more affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

--
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Utility

2011-09-15 Thread gene heskett
On Thursday, September 15, 2011 01:03:31 PM doug metzler did opine:

> 1) loopback test to confirm that the port is actually working?  Esp.
> if it would report back what address it found the loopback adapter on.
> 2) something that that tells me who is holding or has handles to it?
> (I'm sure this already exists but it would be nice to be encapsulated
> in the same place)
> 3) a wizard that configures it for EMC :-)
> 
> I'll be your tester..
> 
> Thanks,
> 
> DougM
> 
So would I, Kirk.

> On Thu, Sep 15, 2011 at 9:04 AM, Kirk Wallace
> 
>  wrote:
> > I played with showport.c to get what I needed at the time, then moved
> > on. Should showport.c be expanded, improved? What should be included,
> > improved? Is there already a program that does what showport does?
> > Maybe it should be incorporated into the present config utilities?
> > 
> > See:
> > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Startech
> > 
> > --
> > Kirk Wallace
> > http://www.wallacecompany.com/machine_shop/
> > http://www.wallacecompany.com/E45/index.html
> > California, USA
> > 
> > 
> > --
> >  Doing More with Less: The Next Generation Virtual Desktop
> > What are the key obstacles that have prevented many mid-market
> > businesses from deploying virtual desktops?   How do next-generation
> > virtual desktops provide companies an easier-to-deploy,
> > easier-to-manage and more affordable virtual desktop
> > model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> 
> 
> -- Doing More with Less: The Next Generation Virtual Desktop
> What are the key obstacles that have prevented many mid-market
> businesses from deploying virtual desktops?   How do next-generation
> virtual desktops provide companies an easier-to-deploy,
> easier-to-manage and more affordable virtual desktop
> model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
A good reputation is more valuable than money.
-- Publilius Syrus

--
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Utility

2011-10-11 Thread doug metzler
Hey Kirk, did you ever go anywhere with this?

Thanks,

DougM

On Thu, Sep 15, 2011 at 10:04 AM, gene heskett  wrote:
> On Thursday, September 15, 2011 01:03:31 PM doug metzler did opine:
>
>> 1) loopback test to confirm that the port is actually working?  Esp.
>> if it would report back what address it found the loopback adapter on.
>> 2) something that that tells me who is holding or has handles to it?
>> (I'm sure this already exists but it would be nice to be encapsulated
>> in the same place)
>> 3) a wizard that configures it for EMC :-)
>>
>> I'll be your tester..
>>
>> Thanks,
>>
>> DougM
>>
> So would I, Kirk.
>
>> On Thu, Sep 15, 2011 at 9:04 AM, Kirk Wallace
>>
>>  wrote:
>> > I played with showport.c to get what I needed at the time, then moved
>> > on. Should showport.c be expanded, improved? What should be included,
>> > improved? Is there already a program that does what showport does?
>> > Maybe it should be incorporated into the present config utilities?
>> >
>> > See:
>> > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Startech
>> >
>> > --
>> > Kirk Wallace
>> > http://www.wallacecompany.com/machine_shop/
>> > http://www.wallacecompany.com/E45/index.html
>> > California, USA
>> >
>> >
>> > --
>> >  Doing More with Less: The Next Generation Virtual Desktop
>> > What are the key obstacles that have prevented many mid-market
>> > businesses from deploying virtual desktops?   How do next-generation
>> > virtual desktops provide companies an easier-to-deploy,
>> > easier-to-manage and more affordable virtual desktop
>> > model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
>> > ___
>> > Emc-users mailing list
>> > Emc-users@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>> 
>> -- Doing More with Less: The Next Generation Virtual Desktop
>> What are the key obstacles that have prevented many mid-market
>> businesses from deploying virtual desktops?   How do next-generation
>> virtual desktops provide companies an easier-to-deploy,
>> easier-to-manage and more affordable virtual desktop
>> model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
> Cheers, gene
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> A good reputation is more valuable than money.
>                -- Publilius Syrus
>
> --
> Doing More with Less: The Next Generation Virtual Desktop
> What are the key obstacles that have prevented many mid-market businesses
> from deploying virtual desktops?   How do next-generation virtual desktops
> provide companies an easier-to-deploy, easier-to-manage and more affordable
> virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Utility

2011-10-14 Thread Kirk Wallace
On Tue, 2011-10-11 at 13:41 -0700, doug metzler wrote:
> Hey Kirk, did you ever go anywhere with this?
> 
> Thanks,
> 
> DougM
> 
> On Thu, Sep 15, 2011 at 10:04 AM, gene heskett  wrote:
> > On Thursday, September 15, 2011 01:03:31 PM doug metzler did opine:
> >
> >> 1) loopback test to confirm that the port is actually working?  Esp.
> >> if it would report back what address it found the loopback adapter on.
> >> 2) something that that tells me who is holding or has handles to it?
> >> (I'm sure this already exists but it would be nice to be encapsulated
> >> in the same place)
> >> 3) a wizard that configures it for EMC :-)

Sorry, I haven't gotten round to it yet. After having a couple of new
issues with using my Pluto-P with a PCI parallel port card, it seems I
don't have a full understanding of the problem yet. I suppose this
should not prevent me from posting the current status of the utility on
the wiki, when I get round to it.

There is a parallel port tester of sorts in the pyVCP examples here:
http://linuxcnc.org/docs/html/hal_pyvcp_examples.html 

One could just use a jumper wire from an input hole to an output to
verify that the puns, rather pins, work. A more formal tester hardware
would try to protect the port from the user doing silly things, but
basically do the same thing.

I'll try to make progress on this soon, maybe.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port noise

2013-07-01 Thread Gene Heskett
On Monday 01 July 2013 12:56:14 john d norton did opine:

> Does the pic parra port have any pull downs as I've knocked up a
> circuit to step up the 5 volt signal to 24 via a udn2389 and can
> measure a stray voltage at the low volt side but this is direct into
> the para port with no brake out so could the noise be there
> 
Most parport hardware is basically a TTL driver, and a logic 0 would 
probably have around .05 to .1 volts of residual voltage there, so yes 
there would be a bit of what you are calling noise there.  Enough to run 
the udn2389 would be stretching the point.  Functioning as a charge pump, 
with external power to run the pump circuitry, it might be able to source 
.5 volts at very low current.

However, in order to brace up my opinion, (I am a C.E.T.) I did a google 
search for udn2389 integrated circuit, and came up totally empty.  Would 
you like to refine this part number for us?

> 
> -- This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page:  is up!
My views 

> I'm an idiot..  At least this [bug] took about 5 minutes to find..
Disquieting ...
-- Gonzalo Tornaria in response to Linus Torvalds's
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
 law-abiding citizens.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port cards

2009-06-10 Thread Kirk Wallace
On Wed, 2009-06-10 at 13:35 -0400, Kent A. Reed wrote:
... snip
> I don't want to volunteer to start such a page since I have zero 
> experience with these cards but I'll help edit the page if necessary 
> because I'm now on the hunt for plug-in cards for some new-ish 
> motherboards that lack a parallel port and I prefer to make new missteps 
> rather than repeat old ones:-)
> 
> Regards,
> Kent

For your setup, what do you want to connect to your parallel port?

If you want to use software generated step/direction signals connected
to a step/dir motor driver, most PCI cards will work. The NetMos based
cards have the most documentation:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?NetMos 

If you need faster signals and decide to use an FPGA hardware signal
generator, such as Pluto-P or Mesa's parallel port Anything boards,
basically you're stick with the built-in motherboard ports.

I haven't had any trouble using NetMos PCI cards with Jon's Universal
boards. There is a utility that I believe is used to set the PCI or
built-in port to EPP mode, but I haven't needed it, so I am not up to
speed on the utility.

The Lava PCI card I just got is the only non-NetMos card I have. I
should document my experience with how it works with software and FPGA
setups, hopefully soon.

Where on the wiki to put this information, is a good question. I think a
Parallel Port page that has a good search hit rate would be good. Maybe
a stand alone page would be a good start, then work out the links later.
I can try to help. I am not too experienced with authoring on the wiki,
but there doesn't seem to be much magic to it.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] parallel port cards

2009-06-11 Thread Jon Elson
Kent A. Reed wrote:
> Gentle persons:
>
> The recent discussion of problems with parallel-port cards and 
> Pluto/Mesa hardware/software reminded me that the subject of good and 
> bad parallel-port cards (and their underlying chipsets) is not well 
> treated in the wiki.
>
> Maybe I'm just not good enough with the search function, but Jon Elson's 
> warnings on his Pico Systems controller pages are the only places I find 
> in the wiki that suggest one should be cautious when purchasing a 
> plug-in card and it's a fair guess that the information will be 
> discovered mostly by people interested in Jon's controllers rather than 
> in plug-in cards.
>
>   
First, it is important to point out that these problems affect devices 
that communicate
commands and data over the EPP link (Pico and some Mesa products in 
particular), and
does not relate to using the parallel port for step and direction 
signals, as used with
MANY stepper and step-servo drives.
> I, for one, would greatly appreciate a new wiki page (linking directly 
> from the EMC2 Supported Hardware page, say) that warns about the general 
> problem and identifies chips/boards known to work and those known not to 
> work and any workarounds that have been found to work.
>
> I don't want to volunteer to start such a page since I have zero 
> experience with these cards but I'll help edit the page if necessary 
> because I'm now on the hunt for plug-in cards for some new-ish 
> motherboards that lack a parallel port and I prefer to make new missteps 
> rather than repeat old ones:-)
>   
One would have to have separate tables for EPP-mode and step-direction 
mode operation.
Also, it makes a big difference in step-direction usage if you are using 
one of the break-out boards or
trying to drive stepper drives directly.  Some stepper drives are 
opto-isolated, and need a LOT
of current to turn on the optos.  Others are voltage input, and need 
very little current.
So, there is no "one size fits all" qualification for a parallel port 
board, unfortunately.

Jon

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel Port Specifications

2009-11-13 Thread Stephen Wille Padnos
Kirk Wallace wrote:

>I have been trying to get a handle on what kind of signal to expect from
>a parallel port. I have been used to expecting around 3 mA, which may or
>may not source the current, and may be different between data and status
>pins. This link seems to indicate 14 mA source and sink:
>http://www.fapo.com/1284elec.htm
>
>I assume this link is based on the 1284 standard, so I should use that
>as my reference?
>  
>
You should use the documented, or better measured, values for the 
particular parallel port you expect to use.

Not all parallel ports are to spec.  Those that are built into chipsets 
are often incapable of outputting much current when in the high state.  
They can usually sink more though.

- Steve

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


  1   2   3   >