touchoff
- Aciera
- Topic Author
- Online
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1728
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:
2. connect your mesa input pins and the mdi-commands in your hal 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