TTL (PWM) Laser head and Mesa 7i76

More
4 years 8 months ago #234618 by PCW
Also the readhmid output shows the original firmware (5i25_7i76x2)

Please Log in to join the conversation.

More
4 years 8 months ago #234630 by RoberCNC
Now I think everything is correct, the configuration I had is operational again and the --readhmid returns this file to me.
How do I identify the output pins of the StepGen and PWM on the Chinese card? I mean, the Step5+, Step5-, Dir5+, Dir5- for example

Please Log in to join the conversation.

More
3 years 1 month ago #281606 by swepeter
Hi

I am running a Mesa 7i96 where I have used all 5 stepper outputs and also would like to add a PWM laser control.

Would any of these cards do it?
pchbutik.se/en/nytt-pa-lager/869-upgrade...motor-driver-ma.html

www.amazon.se/DollaTek-5-axlad-brytbr%C3...a-864980539885&psc=1

www.amazon.se/Stepper-Driver-Switch-Inte...d_i=B07QFRC2GN&psc=1

Thank you so much for an answer.

Please Log in to join the conversation.

More
3 years 1 month ago #281612 by PCW
If used to buffer a PWM output from P1, probably any would do

Please Log in to join the conversation.

More
3 years 1 month ago #281634 by swepeter
Thanks for the quick response.

Would I need to re flash the FW on the breakout board as you talked about before?
in that case how do I go about that.
Or what do I need to add in my hal file?

Sorry have not worked with the hal file in some years.

This is the kind of cable right?
www.dustinhome.se/product/5010742284/par...tw-jUURoCS-wQAvD_BwE

www.amazon.se/StarTech-com-Profile-slott...+%2Caps%2C100&sr=8-3

Kind Regards
/Peter

Please Log in to join the conversation.

More
3 years 1 month ago #281652 by PCW
7I96 (NOT 7I96S) configuration with 1 PWM
output on DB25 pin 2

 

Attachment not found



To update your firmware, you would

mesaflash --device 7i96 --addr [card_ip_address] --write 7i96_p1pd.bit --reload

Those cables look correct

I believe there is a thread on laser PWM that may help with the hal setup

Please Log in to join the conversation.

More
3 years 1 month ago #281653 by swepeter
Thank you so much!
Found the thread: forum.linuxcnc.org/10-advanced-configura...m67-and-m68?start=10
If someone stumbles on this some time.

I did end up ordering the amazon card.

Please Log in to join the conversation.

More
3 years 1 month ago #281655 by swepeter
Will this be correct for me also:

#LASER
# loadrt pwmgen output_type=0
addf pwmgen.make-pulses base-thread
addf pwmgen.update servo-thread
setp pwmgen.0.enable TRUE
net analogout motion.analog-out-00 => pwmgen.0.value
net laserpwm pwmgen.0.pwm => parport.0.pin-01-out

but with  parport.0.pin-02-out

Please Log in to join the conversation.

More
3 years 1 month ago #281661 by PCW
Since the 7I96 has a hardware PWM generator, the setup would be different

You also likely need to enable the  laser with a 7I96 SSR or other output
that is controlled  by  Linuxcnc and disabled by a watchdog bite

setp   hm2_7i96.0.pwmgen.00.output-type 1
setp   hm2_7i96.0.pwmgen.00.scale 100
setp    hm2_7i96.0..pwmgen.pwm_frequency 5000

setp hm2_7i96.0..pwmgen.00.enable true
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note that the enable  should be probably be netted to a MACHINE_ON type
signal, rather than just forced on with a setp statement.

net analogout motion.analog-out-00 => hm2_7i96.0.pwmgen.00.value
 

Please Log in to join the conversation.

More
3 years 1 month ago #281872 by swepeter
Hi Again

I just received my card and want to double check anything before connecting it.

Am I thinking right here:
photos.app.goo.gl/y17RPj5UASp3UYWJ8

12V in to power the card and then the PWM port next to it to connect to the laser?

thanks again

Please Log in to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum