- Posts: 4819
- Thank you received: 2177
XHC-WHB04B-6 Macro 10 zum Achse Nullen
- Aciera
- Offline
- Administrator
-
Less
More
2 years 3 months ago #305082
by Aciera
Replied by Aciera on topic XHC-WHB04B-6 Macro 10 zum Achse Nullen
Create a new HAL_COMMAND entry in the ini file:
MDI_COMMAND=G10 L20 P0 X0 Y0 Z0
and call that from your hal:
net zero_all => halui.mdi-command-your_number_here <= and2_C.out
MDI_COMMAND=G10 L20 P0 X0 Y0 Z0
and call that from your hal:
net zero_all => halui.mdi-command-your_number_here <= and2_C.out
The following user(s) said Thank You: Anton
Please Log in or Create an account to join the conversation.
- Anton
- Offline
- Junior Member
-
Less
More
- Posts: 26
- Thank you received: 5
2 years 3 months ago #305097
by Anton
Replied by Anton on topic XHC-WHB04B-6 Macro 10 zum Achse Nullen
Thank you very much for the quick reply!
I had tried to call the MDI commands
halui.mdi-command-21,
halui.mdi-command-22,
halui.mdi-command-23, i.e. to use them again, which did not work.
With a new MDI command, it becomes quite simple.
I had tried to call the MDI commands
halui.mdi-command-21,
halui.mdi-command-22,
halui.mdi-command-23, i.e. to use them again, which did not work.
With a new MDI command, it becomes quite simple.
Please Log in or Create an account to join the conversation.
Moderators: Muecke
Time to create page: 0.534 seconds