Laser head with 10 laser diodes

More
18 May 2022 05:16 #243245 by Gus71
the following G codes are active.
G1 G8 G17 G21 G40 G49 G54 G64 G90 G91.1 G94 G97 G99

Yes, G64 is also there.. What does that tell me?

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

More
18 May 2022 05:23 #243246 by Gus71
G61 is not active! do i have to do something?

because the M commands toggle on and off and the axis doesn't stop, it works

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

More
18 May 2022 07:51 #243252 by andypugh

the following G codes are active.
G1 G8 G17 G21 G40 G49 G54 G64 G90 G91.1 G94 G97 G99

Yes, G64 is also there.. What does that tell me?

Only really that you are not in G61 or G61.1 mode. (Which would have explained the problem) 

I don't know if you can easily view the G64 tolerance number. 

If it is working now, then just file the knowledge away. 

Note that M62 / M63 do not execute until the next motion command. To turn the laser off at the end of the code you should either add a dummy motion to the same position or use M64 / M65 as those do not wait for motion. 
 

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

More
18 May 2022 15:15 - 18 May 2022 15:16 #243276 by Todd Zuercher
I did some testing and if M62/M63 are on the same line as a motion command, they are executed at the beginning of that move. See the below commented G-code.
g64p0.01
g0x0
g1x1m62p1f300 (digital-out-01 turns on at begining of move to x1 at position x=0)
x2x3m63p1 (digital-out-01 turns off at x=2)
x4
x5m62p1 (digital-out-01 turns on at x=4)
x6m63p1 (digital-out-01 turns off at x=5)
m62p1 (digital-out-01 turns on at x=6)
m62p0 (digital-out-00 turns on at x=6)
m62p2 (digital-out-02 turns on at x=6)
x7
m63p0 (digital-out-00 turns off at x=7)
x8
m63p1 (digital-out-01 turns off at x=8)
x9
m63p2 (digital-out-02 turns off at x=9)
g0x0
m2

And I double checked it with Halscope.
 
Attachments:
Last edit: 18 May 2022 15:16 by Todd Zuercher.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.156 seconds
Powered by Kunena Forum