TTL (PWM) Laser head and Mesa 7i76

More
11 Feb 2022 22:40 #234618 by PCW
Also the readhmid output shows the original firmware (5i25_7i76x2)
The following user(s) said Thank You: RoberCNC

Please Log in or Create an account to join the conversation.

More
12 Feb 2022 08:03 - 12 Feb 2022 12:07 #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
Attachments:
Last edit: 12 Feb 2022 12:07 by RoberCNC.

Please Log in or Create an account to join the conversation.

More
25 Sep 2023 19:12 - 25 Sep 2023 19:18 #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.
Last edit: 25 Sep 2023 19:18 by swepeter.

Please Log in or Create an account to join the conversation.

More
25 Sep 2023 19:54 #281612 by PCW
If used to buffer a PWM output from P1, probably any would do

Please Log in or Create an account to join the conversation.

More
26 Sep 2023 05:56 - 26 Sep 2023 11:23 #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
Last edit: 26 Sep 2023 11:23 by swepeter.

Please Log in or Create an account to join the conversation.

More
26 Sep 2023 14:45 #281652 by PCW
7I96 (NOT 7I96S) configuration with 1 PWM
output on DB25 pin 2

 

File Attachment:

File Name: 7i96_p1pd.zip
File Size:108 KB


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
Attachments:

Please Log in or Create an account to join the conversation.

More
26 Sep 2023 15:02 #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 or Create an account to join the conversation.

More
26 Sep 2023 15:06 - 26 Sep 2023 15:07 #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
Last edit: 26 Sep 2023 15:07 by swepeter.

Please Log in or Create an account to join the conversation.

More
26 Sep 2023 19:55 - 26 Sep 2023 19:57 #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
 
Last edit: 26 Sep 2023 19:57 by PCW. Reason: clarify

Please Log in or Create an account to join the conversation.

More
29 Sep 2023 19:00 - 29 Sep 2023 19:29 #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
Attachments:
Last edit: 29 Sep 2023 19:29 by swepeter.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.143 seconds
Powered by Kunena Forum