TheCaptain2000
Lifetime Supporting Member
I have calculated my machine output rate with a simple photoeye input with timers and counters and stored it in an integer N7:2 in my AB SLC 5/04. I can see it using RS Logix 500. But how can I read the 5 digit calculated value (00000 to 11000 units per hour) in N7:2 digit-for-digit so that I can send the signals to the proper outputs to show the correct output rate on a basic 7-segment LED display.
Please note, I understand that I could do this very simply with HMI, and I may still eventually. But I really want to know if I am going in the right direction with what I already have.
Also, please note that I know how to make the display function with the simple proper output combinations, but I don't quite understand how to get the PLC to translate an existing integer value to binary code.
Please note, I understand that I could do this very simply with HMI, and I may still eventually. But I really want to know if I am going in the right direction with what I already have.
Also, please note that I know how to make the display function with the simple proper output combinations, but I don't quite understand how to get the PLC to translate an existing integer value to binary code.