Emco compact 5 Pc pin out help

More
4 years 3 months ago #247807 by skunkworks

Please Log in to join the conversation.

More
4 years 3 months ago #247880 by Franzmeizter
“In a terminal
cat /proc/ioports | grep parport
post the result”

Hi again!
I tried that yesterday and I only have a picture of the result but I attach it here. It finds both ports but I do not know if the result looks right, do, does it?

Please Log in to join the conversation.

More
4 years 3 months ago #247881 by Franzmeizter
“There is an onboard printer port (header on the motherboard) that linuxcnc is using - and not the pci card!?”

There is an onboard printer port at the motherboard, or actually it is a db9 port (think it is called db9). I will have a closer look at the motherboard tomorrow!

Please Log in to join the conversation.

More
4 years 3 months ago #247883 by Franzmeizter
I am so impressed of the engagement you two guys have, very grateful!!

Thanks for the video clip, it is interesting to see how it should work. I will continue tomorrow but I earlier today I called a friend that I haven’t spoken to in a long time. He does not know anything about CNC but is working as a Linux specialist, he will visit me at Friday. If we haven’t solved the problem until then I hope that he can make some kind of magic.

Please Log in to join the conversation.

More
4 years 3 months ago #247885 by skunkworks
Yes - you have 2 printer ports - it would not be 9 pin.. There is probably a header on the motherboard.. (see picture)
photos.app.goo.gl/UHVroBCd5H4jey2x8


I did a command for my pci printer port card... You get a punch of output - you should see something like this..
sudo lspci -vnn

01:00.0 Communication controller [0780]: MosChip Semiconductor Technology Ltd. PCI 9835 Multi-I/O Controller [9710:9835] (rev 01)
Subsystem: LSI Logic / Symbios Logic 1P2S [1000:0012]
Flags: medium devsel, IRQ 20
I/O ports at e050
I/O ports at e040
I/O ports at e030
I/O ports at e020
I/O ports at e010
I/O ports at e000
Kernel driver in use: parport_serial
Kernel modules: parport_serial
I just started going down the ports until I found the one that works..

loadrt hal_parport cfg="0xe030"

Please Log in to join the conversation.

More
4 years 3 months ago #247899 by skunkworks
Wow - I swear I wasn't drunk with that last post

Please Log in to join the conversation.

More
4 years 3 months ago #248078 by Franzmeizter
Hi,

I am very glad to tell you that the mystery is solved!

It was my friend who did it so I am not sure I can describe the solution in great detail but I will try.

Line 8 or 9 in the HAL-file says:
loader hal_parport cfg=“0x378 out   “
which instructs LinuxCNC to use parallel port 0x378.

My computer did not have a parallel port called that so we had to change the line to:
loader hal_parport cfg=“1 out   “
which made LinuxCNC to use the correct parallel port.

I don’t know if it was the best or only solution but it seems to work just fine. Thank you for all the help you have provided me with, I really appreciate it!

Please Log in to join the conversation.

More
4 years 3 months ago #248079 by skunkworks
That seems like a perfect solution :)

Everything is working?

Please Log in to join the conversation.

More
4 years 3 months ago #248156 by Franzmeizter
I made a test run yesterday and it works just greate, very happy! The condition of the Emco-machine is ok but not great, I have not had a machine like this before but is there not a strange sound from the spindle motor or the drive mechanism..? Maybe a worn out bearing somewhere?

Please Log in to join the conversation.

More
4 years 3 months ago #248175 by skunkworks
sounds weird.. Does it make the sound when you turn it by hand? The spindle bearing are a standard easy to get size... You could take the belt off and try to see if the noise is spindle or motor... (it kinda sounds like the encoder wheel is rubbing?) Just a shot in the dark

sam

Please Log in to join the conversation.

Time to create page: 0.243 seconds
Powered by Kunena Forum