Parallel port problem, but tests OK
- sajurcaju
- Offline
- Premium Member
Less
More
- Posts: 86
- Thank you received: 6
15 Feb 2023 19:25 #264569
by sajurcaju
Parallel port problem, but tests OK was created by sajurcaju
My computer runs Linux Mint 21.1 and LinuxCNC 2.9.0
What it says when I start LinuxCNC is 2.9.0~pre0+git20221105.ffb6bda926 if you want details.
I'm using a motherboard parallel port on a Dell Precision T3500.
External BOB C10, set for output, pull-ups, COM=ground.
I have an estop switch connected from pin 10 of the parallel port to ground. The switch is NC. I have verified the voltage does what it should.
In Stepconf I set pin 10 to 'estop in', with the invert box checked.
When I run the parallel tester (halrun -I -f ptest.hal), I get a display of the parallel port status.
Pin 10 is red, when I push the physical estop button, it turns green. This says, I think, the hardware is all working.
In both gmoccapy and axis, the physical estop button does nothing.
Hit the display on button, it turns from red to green. Hit the physical estop button, nothing happens. Hit the display estop button, the display on button turns from green to red.
If I uncheck the invert box in Stepconf, gmoccapy gives me an error "External ESTOP set, could not change state" when I try to turn it on.
===========
I am upgrading the computer from my previous Optiplex 360, which is sitting right next to the T3500. I moved the cables--display, mouse, keyboard and parallel. Fired up the 360, running (I think) LinuxCNC 2.7. Started Axis and the physical estop button works as it should.
All I can think is that there is a bug in LinuxCNC 2.9, but I have a hard time believing people had not noticed it by now.
What am I missing?
Thanks, Steve
What it says when I start LinuxCNC is 2.9.0~pre0+git20221105.ffb6bda926 if you want details.
I'm using a motherboard parallel port on a Dell Precision T3500.
External BOB C10, set for output, pull-ups, COM=ground.
I have an estop switch connected from pin 10 of the parallel port to ground. The switch is NC. I have verified the voltage does what it should.
In Stepconf I set pin 10 to 'estop in', with the invert box checked.
When I run the parallel tester (halrun -I -f ptest.hal), I get a display of the parallel port status.
Pin 10 is red, when I push the physical estop button, it turns green. This says, I think, the hardware is all working.
In both gmoccapy and axis, the physical estop button does nothing.
Hit the display on button, it turns from red to green. Hit the physical estop button, nothing happens. Hit the display estop button, the display on button turns from green to red.
If I uncheck the invert box in Stepconf, gmoccapy gives me an error "External ESTOP set, could not change state" when I try to turn it on.
===========
I am upgrading the computer from my previous Optiplex 360, which is sitting right next to the T3500. I moved the cables--display, mouse, keyboard and parallel. Fired up the 360, running (I think) LinuxCNC 2.7. Started Axis and the physical estop button works as it should.
All I can think is that there is a bug in LinuxCNC 2.9, but I have a hard time believing people had not noticed it by now.
What am I missing?
Thanks, Steve
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19464
- Thank you received: 6529
15 Feb 2023 22:12 #264573
by tommylight
Replied by tommylight on topic Parallel port problem, but tests OK
Upload the hal file, or just see if there is an entry for
net estop-ext parport.0.input-10
or similar, doing this from memory so the above line might not be exactly correct.
net estop-ext parport.0.input-10
or similar, doing this from memory so the above line might not be exactly correct.
Please Log in or Create an account to join the conversation.
- sajurcaju
- Offline
- Premium Member
Less
More
- Posts: 86
- Thank you received: 6
15 Feb 2023 22:22 #264576
by sajurcaju
Replied by sajurcaju on topic Parallel port problem, but tests OK
Is this the right hal file? There were a few.
Attachments:
Please Log in or Create an account to join the conversation.
- sajurcaju
- Offline
- Premium Member
Less
More
- Posts: 86
- Thank you received: 6
15 Feb 2023 22:24 #264577
by sajurcaju
Replied by sajurcaju on topic Parallel port problem, but tests OK
Attachment not found
Please Log in or Create an account to join the conversation.
- sajurcaju
- Offline
- Premium Member
Less
More
- Posts: 86
- Thank you received: 6
15 Feb 2023 22:25 #264578
by sajurcaju
Replied by sajurcaju on topic Parallel port problem, but tests OK
Try this one more time.
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19464
- Thank you received: 6529
15 Feb 2023 22:34 #264579
by tommylight
Replied by tommylight on topic Parallel port problem, but tests OK
Yes it is, and it is there so i wonder...
Try adding an e-stop output, use the stepconf wizard to edit the existing config and just add it to a free output, save, open Axis GUI and see if it works.
Normally, when everything is set up properly, if you pres the physical e-stop, the GUI one will remain pressed no matter how much you click on it.
Try adding an e-stop output, use the stepconf wizard to edit the existing config and just add it to a free output, save, open Axis GUI and see if it works.
Normally, when everything is set up properly, if you pres the physical e-stop, the GUI one will remain pressed no matter how much you click on it.
Please Log in or Create an account to join the conversation.
- sajurcaju
- Offline
- Premium Member
Less
More
- Posts: 86
- Thank you received: 6
15 Feb 2023 22:41 #264581
by sajurcaju
Replied by sajurcaju on topic Parallel port problem, but tests OK
I added an e-stop output and tried both gmoccapy and axis, no change in the results.
Please Log in or Create an account to join the conversation.
- sajurcaju
- Offline
- Premium Member
Less
More
- Posts: 86
- Thank you received: 6
16 Feb 2023 20:48 #264648
by sajurcaju
Replied by sajurcaju on topic Parallel port problem, but tests OK
I thought that if it was LinuxCNC 2.9 causing the issue, it would be easy to downgrade to 2.8 and find out. That doesn't appear to be possible under Mint 21, "dependency is not satisfiable libboost-python1.67.0
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19464
- Thank you received: 6529
16 Feb 2023 21:05 #264649
by tommylight
Replied by tommylight on topic Parallel port problem, but tests OK
Mint 21 used Debian builds of LinuxCNC, so only 2.9 worked.
Now it does not.
2.8 used Python 2 while 2.9 and up use Python 3.
You can download the official ISO from the downloads page, burn it to a USB, boot the PC from it, make a quick config and test.
In Live mode Linux does not touch the hard drive.
Now it does not.
2.8 used Python 2 while 2.9 and up use Python 3.
You can download the official ISO from the downloads page, burn it to a USB, boot the PC from it, make a quick config and test.
In Live mode Linux does not touch the hard drive.
Please Log in or Create an account to join the conversation.
- sajurcaju
- Offline
- Premium Member
Less
More
- Posts: 86
- Thank you received: 6
16 Feb 2023 21:20 #264651
by sajurcaju
Replied by sajurcaju on topic Parallel port problem, but tests OK
"Mint 21 used Debian...so only 2.9 worked. Now it does not."
I'm in the process of upgrading my computer; the new one has never actually moved my router as the G540 is in for repair. All I'm able to do at present is Stepconf and mess with the parallel wiring.
Will my setup work, given "now it does not" (ignoring my parallel port problem)?
Good suggestion for trying 2.8 in the meantime.
I'm in the process of upgrading my computer; the new one has never actually moved my router as the G540 is in for repair. All I'm able to do at present is Stepconf and mess with the parallel wiring.
Will my setup work, given "now it does not" (ignoring my parallel port problem)?
Good suggestion for trying 2.8 in the meantime.
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds