Emco compact 5 Pc pin out help
- skunkworks
- Offline
- Moderator
Less
More
- Posts: 361
- Thank you received: 150
20 Jul 2022 02:58 #247807
by skunkworks
Replied by skunkworks on topic Emco compact 5 Pc pin out help
Please Log in or Create an account to join the conversation.
- Franzmeizter
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
20 Jul 2022 21:30 #247880
by Franzmeizter
Replied by Franzmeizter on topic Emco compact 5 Pc pin out help
“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?
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 or Create an account to join the conversation.
- Franzmeizter
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
20 Jul 2022 21:35 #247881
by Franzmeizter
Replied by Franzmeizter on topic Emco compact 5 Pc pin out help
“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!
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 or Create an account to join the conversation.
- Franzmeizter
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
20 Jul 2022 21:48 #247883
by Franzmeizter
Replied by Franzmeizter on topic Emco compact 5 Pc pin out help
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.
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 or Create an account to join the conversation.
- skunkworks
- Offline
- Moderator
Less
More
- Posts: 361
- Thank you received: 150
20 Jul 2022 22:17 #247885
by skunkworks
Replied by skunkworks on topic Emco compact 5 Pc pin out help
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"
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"
The following user(s) said Thank You: tommylight, Franzmeizter
Please Log in or Create an account to join the conversation.
- skunkworks
- Offline
- Moderator
Less
More
- Posts: 361
- Thank you received: 150
21 Jul 2022 00:56 #247899
by skunkworks
Replied by skunkworks on topic Emco compact 5 Pc pin out help
Wow - I swear I wasn't drunk with that last post
Please Log in or Create an account to join the conversation.
- Franzmeizter
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
22 Jul 2022 21:51 #248078
by Franzmeizter
Replied by Franzmeizter on topic Emco compact 5 Pc pin out help
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!
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 or Create an account to join the conversation.
- skunkworks
- Offline
- Moderator
Less
More
- Posts: 361
- Thank you received: 150
22 Jul 2022 21:59 #248079
by skunkworks
Replied by skunkworks on topic Emco compact 5 Pc pin out help
That seems like a perfect solution
Everything is working?
Everything is working?
Please Log in or Create an account to join the conversation.
- Franzmeizter
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
24 Jul 2022 08:12 - 24 Jul 2022 08:26 #248156
by Franzmeizter
Replied by Franzmeizter on topic Emco compact 5 Pc pin out help
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?
Last edit: 24 Jul 2022 08:26 by Franzmeizter.
Please Log in or Create an account to join the conversation.
- skunkworks
- Offline
- Moderator
Less
More
- Posts: 361
- Thank you received: 150
24 Jul 2022 16:48 #248175
by skunkworks
Replied by skunkworks on topic Emco compact 5 Pc pin out help
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
sam
The following user(s) said Thank You: Franzmeizter
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds