Touch off X Y Z, MDI Equivalent

More
8 years 6 months ago #109657 by Donno
I am Building a Custom Panel and can move The X Y Z using HALUI and Python in the ini file i have Custom Command

MDI_COMMAND = G28 <- Go Home
MDI_COMMAND = G54 G0 X0 Y0 Z0 <- Go To G54

MDI_COMMAND = G10 L2 P1 X0 <-Set G54 X0
MDI_COMMAND = G10 L2 P1 Y0 <-Set G54 Y0
MDI_COMMAND = G10 L2 P1 Z0 <-Set G54 Z0

How do Set G10 L2 P1 X to current coordinates ??? So if i am at X:37.344 and want to set G54 how would i do that ?

Please Log in to join the conversation.

More
8 years 6 months ago #109661 by Todd Zuercher
The easy way is to use G10 L20 instead.of G10 L2.

G10 L20 P1 X0 will make the current X positon = 0 in the G54 coordinate system.

Please Log in to join the conversation.

More
8 years 6 months ago #109662 by Donno
HAHA Thanks

Please Log in to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum