Hello Guest it is April 16, 2024, 05:26:27 PM

Author Topic: Pokeys57CNC Analog PWM Output to control Laser with M11P1 M10P1  (Read 5438 times)

0 Members and 1 Guest are viewing this topic.

Pokeys57CNC Analog PWM Output to control Laser with M11P1 M10P1
« on: October 28, 2019, 10:37:35 AM »
Hi
Sorry if this is elsewhere answered but I really can not find it.
Like many others: Due to the slow reaction of M3/M5 I get darker dots when laser engraving with my OptLaser. I understand that I should change to M11P1 / M10P1 to solve this (or M11P# /M10P# instead of Pin 1).
But I can not figure out the setup needed in MACH3 and the Pokeys Plugin so that M10 /M11 rapidly controls on/off of the Analog/PWM out at Pin 17 of the Pokeys 57CNC. The OptLaser has only one control input for the intensity (0-5V ) but no separate on/off control input (then it would be easy)
Any hints are highly appreciated.

Offline Tweakie.CNC

*
  • *
  •  9,197 9,197
  • Super Kitty
    • View Profile
Re: Pokeys57CNC Analog PWM Output to control Laser with M11P1 M10P1
« Reply #1 on: October 29, 2019, 02:09:55 AM »
I am not certain that the 57CNC supports the M11/M10 command set (never tried it) but assuming that it does then you would only be able to switch an unassigned Output Pin ON/OFF not the PWM on Pin17.

Different motion controllers use different systems but my solution was to (hardware) gate the PWM signal pin with the M11/M10 output pin and I have described this here;

https://www.machsupport.com/forum/index.php?topic=12444.msg265104#msg265104

Hope this helps.
PEACE
Re: Pokeys57CNC Analog PWM Output to control Laser with M11P1 M10P1
« Reply #2 on: October 29, 2019, 05:26:32 AM »
Hello
Thanks a lot for your quick answer.
I got an answer from Pokeys Support: The Mach3 Plugin does not support M10/M11. (Mach3 should support it I understand despite the fact that it is not listed as an M command when you press the M-Codes button on the Mach3 GUI first Tab).
I could do your gate solution but for this I would need to use another command than M10/M11 which reaches the 57CNC at all. And then change the PP. I could use i.e. Mist of Flood M7 or M8 Gcode.   
But before I start this adventure I would need to know if M7/M8 are any faster than M3/M5.
Do you know? Or another GCode I could use which is fast?

Offline Tweakie.CNC

*
  • *
  •  9,197 9,197
  • Super Kitty
    • View Profile
Re: Pokeys57CNC Analog PWM Output to control Laser with M11P1 M10P1
« Reply #3 on: October 29, 2019, 06:08:55 AM »
Unfortunately the M3/M4/M7/M8 commands are just not fast enough.

The alternative is to use an (imaginary) axis direction pin. This perhaps explains;

http://hobbycncart.com/publ/cikkek/mach3_temaju_cikkek/switching_a_laser_under_mach_control/8-1-0-29

PEACE