touchoff

  • Aciera
  • Aciera's Avatar Topic Author
  • Online
  • Administrator
  • Administrator
More
24 Oct 2023 06:55 #283667 by Aciera
touchoff was created by Aciera
1. create MDI-command in the HALUI section of your ini file:
[HALUI]
# first line will be 'halui.mdi-command-00'
MDI_COMMAND = G10 L20 P0 X0 ( Set X to zero )
# second line will be 'halui.mdi-command-01'
MDI_COMMAND = G10 L20 P0 Y0 ( Set Y to zero )
# third line will be 'halui.mdi-command-02'
MDI_COMMAND = G10 L20 P0 Z0 ( Set Z to zero )

2. connect your mesa input pins and the mdi-commands in your hal file:
net zero-x                  <= hm2_7i76e.0.7i76.0.0.input-<your-input>     => halui.mdi-command-00
net zero-y                  <= hm2_7i76e.0.7i76.0.0.input-<your-input>     => halui.mdi-command-01
net zero-z                  <= hm2_7i76e.0.7i76.0.0.input-<your-input>     => halui.mdi-command-02

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

Time to create page: 0.048 seconds
Powered by Kunena Forum