- Posts: 22010
- Thank you received: 3
Setting Laser to be Triggered by M67 and M68
- tommylight
-
- Away
- Administrator
-
That looks like inverted PWM pin/values.AntimatterAnimals wrote: It seems like that’s what’s happening. The light areas of the image are really burning the wood no matter what I change the scale to (pwm scale and joint 2 scale) and the areas where it is supposed to be darker are producing a varied output as you’d want, just inverted (this does seem to be effected by the adjusted scale figures).
Not sure, but i think the version of dmap2gcode with that config does not output anything related to Z axis, so that is puzzling.
Please Log in to join the conversation.
- AntimatterAnimals
- Topic Author
- Offline
- New Member
-
- Posts: 9
- Thank you received: 0
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
I have updated my plasma table with a chinese ttl laser and follow your threats about M67 so i copy paste and ajust my hal with these lines:
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-02-out
I don´t know how but now if i open linuxcnc and simple load file to raster engrave a image the laser doesn´t turn on.
If i set S command to for example S65, then load file and all runs well being the laser in a range of 0 to 65.
During this the S values are not updated but the result is like should be.
What could i do wrong? can you or anybody help?
thank you in advance
I'm running 2.9 with gmocappyfor laser
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
Do you have a running base period or base thread?
Are you actually using a parallel port?
Is the port loaded?
Or just upload the hal and ini files here so we can have a look.
Please Log in to join the conversation.
Base period or base thread? i simply don´t know, sorry.
- Yes i'm using parallel port and loaded
- After messing around, i return to a point now that laser don´t stop between movements, in one point i was almost there but then didn´t backup hal file....
- Atachments here.
Attachment not found
Attachment not found
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
Wrong filesHere are the correct ones.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
Very thanks!
I will try right now.
When you guys pass by Portugal you are welcome!!!
Please Log in to join the conversation.
