Probotix
- daxur666
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 0
24 Sep 2018 14:08 #117921
by daxur666
Probotix was created by daxur666
Good day, I don't know if this is the correct category, I apologize if is not. I am working on a machine that has a Parallel Port Breakout Board Model PBX2, and I want to control the spindle speed from the computer, does anyone knows which is the analog signal pinout from the breakout to do this?
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 478
24 Sep 2018 14:53 #117923
by Clive S
Is this what you are looking for: www.probotix.com/wiki/index.php/PBX-2
It does not seem to have one
Replied by Clive S on topic Probotix
Good day, I don't know if this is the correct category, I apologize if is not. I am working on a machine that has a Parallel Port Breakout Board Model PBX2, and I want to control the spindle speed from the computer, does anyone knows which is the analog signal pinout from the breakout to do this?
Thanks
Is this what you are looking for: www.probotix.com/wiki/index.php/PBX-2
It does not seem to have one
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Away
- Platinum Member
Less
More
- Posts: 4957
- Thank you received: 1441
24 Sep 2018 15:13 #117924
by Todd Zuercher
Replied by Todd Zuercher on topic Probotix
I don't believe that a PBX-2 has an analog output, and a parallel port is only digital io.
You can use a PWM signal from a parallel port to create an analog output, but the PBX-2 doesn't have the hardware to make that conversion. (There are some parallel port breakouts that do.)
You can use a PWM signal from a parallel port to create an analog output, but the PBX-2 doesn't have the hardware to make that conversion. (There are some parallel port breakouts that do.)
Please Log in or Create an account to join the conversation.
- daxur666
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 0
24 Sep 2018 22:39 #117940
by daxur666
Replied by daxur666 on topic Probotix
Do you think is possible to use an Arduino to solve the PWM issue?
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
Less
More
- Posts: 2259
- Thank you received: 2006
24 Sep 2018 22:52 - 24 Sep 2018 23:24 #117942
by Grotius
Replied by Grotius on topic Probotix
Hi Freddy,
It's not often that i get a name like freddy with double d.
But i like it.
www.probotix.com/wiki/images/c/c5/PBX-2.pdf
I looked at your wiring diagram. On your a axis you can get the pwm..
It's pin 1 to do the pwm signal. It's called the Nstrobe. Try to isolate this.
But it can be a risk in the end. If the board is not designed for isolating pin 1, your output
voltage can be the problem. Then you have to order other interface card of approx. 4 dollar.
If your max output value is 5 volt, you can do a up-amp factor 2.
In worst case senerio, you can make your spindle drive 600hz and send 5 of 10 volt's. Then it's 300 Hz.
I would order a new break out board, if i was you. That would make sence.
Pwm signals are sometimes hard to monitor, it can be 10volt, then you have to invert it.
Here a short example of config :
in your hal be sure of this :
A impression of postgui.hal file how to :
net spindle-cw parport.0.pin-17-out
setp parport.0.pin-01-out-invert 1
net spindle-pwm parport.0.pin-01-out
net spindle-ccw parport.1.pin-17-out
#you see second spindle motor is on different parport adres, i use M4 to make it easy for myself.
Try to isolate your pin number 1. This is for parport application's the only pin that can be used so far i know.
Pwm parport pin.no.1. go alway's with a good - or ground to the frequentie drive to accieve your 10 volt. So check if you get 10 volt out max, and check if you get 5 voilt also with 50% rpm. If you are new to this procedure, one day in time is good !!
It's not often that i get a name like freddy with double d.
But i like it.
www.probotix.com/wiki/images/c/c5/PBX-2.pdf
I looked at your wiring diagram. On your a axis you can get the pwm..
It's pin 1 to do the pwm signal. It's called the Nstrobe. Try to isolate this.
But it can be a risk in the end. If the board is not designed for isolating pin 1, your output
voltage can be the problem. Then you have to order other interface card of approx. 4 dollar.
If your max output value is 5 volt, you can do a up-amp factor 2.
In worst case senerio, you can make your spindle drive 600hz and send 5 of 10 volt's. Then it's 300 Hz.
I would order a new break out board, if i was you. That would make sence.
Pwm signals are sometimes hard to monitor, it can be 10volt, then you have to invert it.
Here a short example of config :
in your hal be sure of this :
Warning: Spoiler!
net spindle-cmd-rpm => pwmgen.0.value
net spindle-on <= motion.spindle-on => pwmgen.0.enable
net spindle-pwm <= pwmgen.0.pwm
setp pwmgen.0.pwm-freq 100.0
setp pwmgen.0.scale 18000
setp pwmgen.0.offset 0.114285714286
setp pwmgen.0.dither-pwm true
net spindle-cmd-rpm <= motion.spindle-speed-out
net spindle-cmd-rpm-abs <= motion.spindle-speed-out-abs
net spindle-cmd-rps <= motion.spindle-speed-out-rps
net spindle-cmd-rps-abs <= motion.spindle-speed-out-rps-abs
net spindle-at-speed => motion.spindle-at-speed
net spindle-cw motion.spindle-forward
net spindle-ccw motion.spindle-reverse
net spindle-on <= motion.spindle-on => pwmgen.0.enable
net spindle-pwm <= pwmgen.0.pwm
setp pwmgen.0.pwm-freq 100.0
setp pwmgen.0.scale 18000
setp pwmgen.0.offset 0.114285714286
setp pwmgen.0.dither-pwm true
net spindle-cmd-rpm <= motion.spindle-speed-out
net spindle-cmd-rpm-abs <= motion.spindle-speed-out-abs
net spindle-cmd-rps <= motion.spindle-speed-out-rps
net spindle-cmd-rps-abs <= motion.spindle-speed-out-rps-abs
net spindle-at-speed => motion.spindle-at-speed
net spindle-cw motion.spindle-forward
net spindle-ccw motion.spindle-reverse
A impression of postgui.hal file how to :
Warning: Spoiler!
net spindle-cw parport.0.pin-17-out
setp parport.0.pin-01-out-invert 1
net spindle-pwm parport.0.pin-01-out
net spindle-ccw parport.1.pin-17-out
#you see second spindle motor is on different parport adres, i use M4 to make it easy for myself.
Try to isolate your pin number 1. This is for parport application's the only pin that can be used so far i know.
Pwm parport pin.no.1. go alway's with a good - or ground to the frequentie drive to accieve your 10 volt. So check if you get 10 volt out max, and check if you get 5 voilt also with 50% rpm. If you are new to this procedure, one day in time is good !!
Last edit: 24 Sep 2018 23:24 by Grotius.
Please Log in or Create an account to join the conversation.
- daxur666
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 0
25 Sep 2018 14:53 #117958
by daxur666
Replied by daxur666 on topic Probotix
Thank you for your answer, can you recommend me a board that allow me to do the spindle speed control and connect the stepper motor drivers?
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
Less
More
- Posts: 1850
- Thank you received: 127
25 Sep 2018 15:13 #117961
by tecno
Replied by tecno on topic Probotix
www.ebay.co.uk/itm/Mach3-CNC-Stepping-Mo...047675.c100005.m1851
Here is one BoB that can be used, there are many on the market.
Here is one BoB that can be used, there are many on the market.
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
Less
More
- Posts: 2259
- Thank you received: 2006
27 Sep 2018 20:38 #118077
by Grotius
Replied by Grotius on topic Probotix
Yes,
The board that Bengt has provided run's directly on this code, your spindle is working, even your rpm's. It's a gui for milling machine
up to 5 axis. You have to read the readme file carefully, then you find out how to change your parport adres in the grotius.hal file
github.com/michelwijnja/Linuxcnc_inox_doors
It's a very nice coded gui. I only have to do one update coming day's. It's not very important but i have to do that.
It's a gui with special option's you will see.
Good luck.
The board that Bengt has provided run's directly on this code, your spindle is working, even your rpm's. It's a gui for milling machine
up to 5 axis. You have to read the readme file carefully, then you find out how to change your parport adres in the grotius.hal file
github.com/michelwijnja/Linuxcnc_inox_doors
It's a very nice coded gui. I only have to do one update coming day's. It's not very important but i have to do that.
It's a gui with special option's you will see.
Good luck.
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds