I'm totally new to LinuxCNC. I'm working on a retrofit of a Tree Journeyman 320 vertical mill with Mesa boards and AMC drives.
I've done a bunch of wiring and I finally turned the computer on yesterday. I'm working on getting the relay outputs straightened out before I jump into getting the drives going. Here is my wiring diagram:
I generated my hal file with PnCConf. Wire 231 is connected to OUT7+ and wire 500 is connected to OUT7- on the 7i37. Here is part of the hal file.
# --- MACHINE-IS-ENABLED ---
setp hm2_5i20.0.gpio.047.is_output true
net machine-is-enabled hm2_5i20.0.gpio.047.out
I'm getting logic opposite to what I want. I open LinuxCNC. When OFF is displayed in lower left I can push the start button and the relay will energize. When ON is displayed I push start and nothing happens. I looked in HAL CONFIG and the machine-is-enabled signal is doing what I expect (TRUE when ON and FALSE when OFF).
Thanks.