TTL (PWM) Laser head and Mesa 7i76

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 or Create an account to join the conversation.

More
3 years 1 month ago - 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
Last edit: 3 years 1 month ago by swepeter.

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

More
3 years 1 month ago - 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
 
Last edit: 3 years 1 month ago by PCW. Reason: clarify

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

More
3 years 1 month ago - 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
Last edit: 3 years 1 month ago by swepeter.

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

More
3 years 1 month ago - 3 years 1 month ago #281873 by PCW
No, that's the 0-10V analog output

The (5V) PWM output would be on P2 (XCLK)
Last edit: 3 years 1 month ago by PCW.

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

More
3 years 4 weeks ago #282077 by swepeter
Something really strange is going on.i have a PS for 5 V that powers the raspberry pi and the mesa card and I have a PS for 12V that I have connected to the BOB to. when I connect the cable between the mesa and the BOB there is something that starts beeping and the 5V PS only gives out 1V and the Pi dont start of cause. What can cause this?  

photos.app.goo.gl/TdpXLu7YHBWZhK1X7

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

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