// Macro for Laser Crosshair offsetting
double Xmove = -47.575 ; // X offset value
double Ymove = 5.25 ; // Y offset value
exec.Code("G91- X"+Xmove +" Y"+Ymove) ;
while(exec.IsMoving()){}
exec.Code( "G90" ) ;
exec.Callbutton(100);
exec.Callbutton(101);
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
eradicatore wrote: Thanks! This generally worked for me.
I did have some questions/ideas though.
1. is there some way that if I use this command (I set to P1) that I can add something to the script to do the zero of X and Y for me? I don't mean the difference between G91 and G90 or I think I also don't mean G28. I have to press "zero all" or press the buttons to zero x and zero y manually before and after I use this command.
2. How did you change the button images (pressed and not pressed)?
3. what's the way to get this to move slower? It's not moving far, but I still would like it to go slower I guess. : )
4. what were those last two lines of your gcode for? 100 and 101 or something?
Thanks!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.