Alright all you ladder gurus out there, I am hoping someone can help me get an edit made to my ladder for my Doosan Puma 2000sy. I need to be able to read from a macro, when the machine is in "c-axis" mode. This control is too old and doesn't accept G310 code and so as far as I can tell, a ladder edit is the only way to pass info from the PMC into a variable. I need to know when R0582.5 is active and have that passed into a variable, likewise, when R0582.5 is off, the variable goes back to zero or null. Attached is the ladder file, and a full SRAM backup in case that is necessary.