netmos 9865

More
06 Aug 2012 15:26 #22911 by lorisdag
netmos 9865 was created by lorisdag
Hello, I am installing 4 cards pci lpt chip netmos 9865 but I can not,
I'm using 2.5.0 emc2
here is the file lspci-v

02:05.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at ec00
I/O ports at e880
Memory at fbfff000 (32-bit, non-prefetchable) [size=4K]
Memory at fbffe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

02:06.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at e800
I/O ports at e480
Memory at fbffd000 (32-bit, non-prefetchable) [size=4K]
Memory at fbffc000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

02:07.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at e400
I/O ports at e080
Memory at fbffb000 (32-bit, non-prefetchable) [size=4K]
Memory at fbffa000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

02:08.0 Parallel controller: NetMos Technology PCI 9865 Multi-I/O Controller (prog-if 03)
Subsystem: Device a000:2000
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at e000
I/O ports at dc00
Memory at fbff9000 (32-bit, non-prefetchable) [size=4K]
Memory at fbff8000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>


I also installed the driver but do not work
help ................

Please Log in or Create an account to join the conversation.

More
06 Aug 2012 15:49 - 06 Aug 2012 15:49 #22913 by ArcEye
Replied by ArcEye on topic Re:netmos 9865
Hi

I am installing 4 cards pci lpt chip netmos 9865 but I can not,

How are you installing the cards?

See my FAQ at www.linuxcnc.org/index.php/english/compo...ew&catid=18&id=18917 for how to address them in the .hal file

Normally the first address shown is the port address with Moschip
So your ports should be at 0xe00 0xe400 0xe800 0xec00, but don't make life too complicated, just insert one card at a time, then you will know which port relates to which card

I also installed the driver but do not work

There is no driver required, so don't try to load anything that came with the cards.

If you don't solve it, come back with a post of your main .hal file

regards
Last edit: 06 Aug 2012 15:49 by ArcEye.

Please Log in or Create an account to join the conversation.

More
07 Aug 2012 15:52 #22949 by lorisdag
Replied by lorisdag on topic Re:netmos 9865
Hello, it works fine thanks ...............

Please Log in or Create an account to join the conversation.

More
07 Aug 2012 16:26 #22951 by ArcEye
Replied by ArcEye on topic Re:netmos 9865
Glad it helped you

regards

Please Log in or Create an account to join the conversation.

More
07 Aug 2012 17:32 #22954 by lorisdag
Replied by lorisdag on topic Re:netmos 9865
Hello, I configured 3 ports "out" and 1 "" I checked the pins have 3.3v 10-11-12-13-15 rather than "2-3-4-5-6-7-8-9" not. How do I configure them to have 3.3v as 10-11-12-13-15 pin for use as "in". Thanks

Please Log in or Create an account to join the conversation.

More
08 Aug 2012 07:21 #22968 by ArcEye
Replied by ArcEye on topic Re:netmos 9865
Hi

If you configure as loadrt hal_parport cfg="0xXXXX out" the pins are allocated thus
1 in
2-9 out
10-13 in
14 out
15 in
16-17 out

If configured loadrt hal_parport cfg="0xXXXX in" pins 2-9 become in
giving you 8 more input pins

You would be best advised to put your spindle and all the axis drives on parport.0 and if you need to put all your limit switches and home switches on separate pins use parport.1 with all the extra inputs for that.

I just chain all my limits together in series so that if one activates it breaks the circuit which saves loads of pins and enables everything on one parport

regards

Please Log in or Create an account to join the conversation.

More
08 Aug 2012 18:33 #22978 by lorisdag
Replied by lorisdag on topic Re:netmos 9865
hello, but the pin 2/9 does not have power like 10/11/12/13/15 pin when configured as "in"

Please Log in or Create an account to join the conversation.

More
09 Aug 2012 11:03 #22990 by ArcEye
Replied by ArcEye on topic Re:netmos 9865
Hi

You don't say how you are testing or when.

The parallel port is in an unknown state until Linuxcnc has loaded the parport driver and started.

The output pins will emit TTL signals, below 0.8v is OFF and 2.4 - 4.8v is ON
The inputs can sink ~5V to 25mA and use the same input TTL convention as above

What you need to do is start your configuration and the open Machine > Show Hal Configuration > pins > partport.0 (parport.1 etc)
Then check that the right pins are present and watch the pins when you apply a signal to them or send a signal from them

You can use JT's parallel port tester www.linuxcnc.org/index.php/english/compo...iew&catid=18&id=4743
or
just attach a buffered BoB and ground the input pins and watch the Hal Configuration display

Remember that an opto isolated BoB will invert the logic on inputs, so you may need to use the -not suffix on your net assignments

regards

Please Log in or Create an account to join the conversation.

More
10 Aug 2012 13:26 #23021 by lorisdag
Replied by lorisdag on topic Re:netmos 9865
Hello, everything works perfectly!!! thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.136 seconds
Powered by Kunena Forum