Pipeline
Member
Please help, I am trying to learn how to make an incremental counter on a plc.....
This is just a simulation, but I am trying to do the following:-
I have an Omron CPM2a with a 7 segment LED display attatched to 7 outputs. What I would like to happen is when the PLC is turned on, the display shows '1'
if inputs a and b are pressed, then the display to increment to 2
if inputs a and b are pressed again, the display increments to '3'
etc to 9.
if input a anc c are pressed, the display decrements by one....
sorry for asking a simple question, but anyone able to help?
This is just a simulation, but I am trying to do the following:-
I have an Omron CPM2a with a 7 segment LED display attatched to 7 outputs. What I would like to happen is when the PLC is turned on, the display shows '1'
if inputs a and b are pressed, then the display to increment to 2
if inputs a and b are pressed again, the display increments to '3'
etc to 9.
if input a anc c are pressed, the display decrements by one....
sorry for asking a simple question, but anyone able to help?