touchoff

More
3 years 1 week ago #283667 by Aciera
touchoff was created by Aciera
1. create MDI-command in the HALUI section of your ini file:
Code:
[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:
Code:
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 to join the conversation.

Time to create page: 0.141 seconds
Powered by Kunena Forum