- Posts: 137
- Thank you received: 0
Touch off X Y Z, MDI Equivalent
8 years 6 months ago #109657
by Donno
Touch off X Y Z, MDI Equivalent was created 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 ?
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.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
8 years 6 months ago #109661
by Todd Zuercher
Replied by Todd Zuercher on topic Touch off X Y Z, MDI Equivalent
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.
G10 L20 P1 X0 will make the current X positon = 0 in the G54 coordinate system.
Please Log in to join the conversation.
Time to create page: 0.081 seconds
