Thanks for your reply Felx and your patience.
I feel I might not have explained correctly
Ive followed Joe’s example for the binary text to look and work like a toggle button. I works perfectly as a button with your ladder logic.
press button turns green and closes output, press button turns red and opens output perfect.
your ladder lodic works perfectly for the input, close input and the output closes, open input and the output opens, perfect.
The only issue is when using the input as the trigger it doesn’t change the button to green.
I tried adding a coil linked to Mb6 in series with the first coil but that causes it to latch.
I can get round it by creating a “light” (binary image) on the HMI and linking it to a coil in series, this works with the input and the button correctly. It just feels a bit clunky as a solution to have a button that acts as an indicator and a light that acts as an indicator.
I feel like the binary text should link to a second MB that changes it’s display state only, then this could be linked in series with the coil and would work with the input and the button.
hope that makes sense and thanks for wading through it!