3c3,9 < net coolant-flood tormach.coolant --- > # Pins on the left come from the base HAL file > # Pins on the right come from the GUI, i.e. tormach.foo-bar > > # P3 pin 14 gpio 001 > setp hm2_5i25.0.gpio.001.is_output 1 > setp hm2_5i25.0.gpio.001.is_opendrain 0 > net coolant-flood tormach.coolant => hm2_5i25.0.gpio.001.out 5a12,15 > # Spindle > net spindle-on tormach.spindle => hm2_5i25.0.stepgen.02.enable > net spindle-io-control motion.spindle-on => tormach.spindle-iocontrol > 18,19c28,29 < #spindle RPM during program execution comes from encoder < net spindle-rps-raw => tormach.spindle-speed-out --- > # spindle RPM during program execution comes from encoder > net spindle-velocity => tormach.spindle-speed-out 33,41d42 < < # GUI status LEDs < #net door-switch => tormach.door-switch < #net spindle-pos => tormach.encoder-counts < net spindle-phase-A => tormach.encoder-a < net spindle-phase-B => tormach.encoder-b < net spindle-phase-Z => tormach.encoder-z < net machine-ok => tormach.machine-ok < 43c44,46 < net spindle-range => tormach.spindle-range --- > # connect spindle range button to hal gearchange pin > net spindle-range tormach.spindle-range => gearchange.0.sel > net spindle-range-alarm tormach.spindle-range-alarm => gearchange.0.alarm 46,47c49,55 < # say door is always closed < setp tormach.door-switch 0 --- > #net door-switch-status hm2_5i25.0.gpio.005.in => tormach.door-switch > net door-switch-in => tormach.door-switch > > # limit switch status > #setp tormach.limit-switch 1 > net limit-switch-in => tormach.home-switch > net limit-switch-enable => tormach.home-switch-enable 53c61,65 < setp tormach.encoder-count -12345 --- > net spindle-encoder-count hm2_5i25.0.encoder.00.count => tormach.encoder-count > net spindle-phase-A => tormach.encoder-a > net spindle-phase-B => tormach.encoder-b > net spindle-phase-Z => tormach.encoder-z > net machine-ok-raw tormach.machine-ok 56c68 < setp tormach.mesa-watchdog-has-bit 0 --- > net hm2_5i25.0.watchdog.has-bit => tormach.mesa-watchdog-has-bit 66,67d77 < # HAL pins for GUI access to IO and motion for reading line numbers < 72d81 < 84a94 >