Odd user button issue
Posted: Tue Apr 30, 2019 5:48 pm
I'm not entirely sure this is a bug, but I've got an issue with the custom screen I modded for my lathe running a KFlop/Kanalog combo.
I've used one of the user buttons (IDC_But8 to be precise) for controlling the coolant pump. The user button setting in Tool Setup is set to do nothing, and via the screen editor, it's set to toggle bit 155.
However, when I try clicking the button, it triggers an e-stop due to failing my toolchanger OK test as part of my e-stop monitoring loop (the TC is controlled by a PLC via Modbus, with a TCOK signal from the PLC to Kanalog to say the toolchanger is on position and locked, and a TCALLOW signal from the Kanalog to the PLC to tell the PLC it's ok to move - if TCOK goes low when TCALLOW is low, then an e-stop gets triggered).
I have tried setting the button action to do nothing in the screen editor, but the fault still occurs.
My initial thought was some kind of bit conflict, but I can't find anything.
TCOK is bit 141, TCALLOW bit 144, and coolant bit 155.
I've used one of the user buttons (IDC_But8 to be precise) for controlling the coolant pump. The user button setting in Tool Setup is set to do nothing, and via the screen editor, it's set to toggle bit 155.
However, when I try clicking the button, it triggers an e-stop due to failing my toolchanger OK test as part of my e-stop monitoring loop (the TC is controlled by a PLC via Modbus, with a TCOK signal from the PLC to Kanalog to say the toolchanger is on position and locked, and a TCALLOW signal from the Kanalog to the PLC to tell the PLC it's ok to move - if TCOK goes low when TCALLOW is low, then an e-stop gets triggered).
I have tried setting the button action to do nothing in the screen editor, but the fault still occurs.
My initial thought was some kind of bit conflict, but I can't find anything.
TCOK is bit 141, TCALLOW bit 144, and coolant bit 155.