Just learning about PLCs and self-teaching myself RSLogix 500 with a little MicroLogix 1400 controller. I have a basic understanding of the software but like to do things in the most efficient way.
I'm trying to create a basic program that will allow me to make the outputs turn on and off one by one automatically. Each output would, for example, have an LED attached to it.
So as a flow chart it would look like:
Output 0 turns on
Waits 3 seconds
Output 0 turns off
Output 1 turns on
Waits 3 seconds
Output 1 turns off
Output 2 turns on... etc..
I have an idea on how to do this but it doesn't seem very efficient and involves creating a separate TON for each wait. Is there a way I can re-use a TON or something?
What is the most efficient way of making a simple sequence of events like this?
Thanks in advance!
I'm trying to create a basic program that will allow me to make the outputs turn on and off one by one automatically. Each output would, for example, have an LED attached to it.
So as a flow chart it would look like:
Output 0 turns on
Waits 3 seconds
Output 0 turns off
Output 1 turns on
Waits 3 seconds
Output 1 turns off
Output 2 turns on... etc..
I have an idea on how to do this but it doesn't seem very efficient and involves creating a separate TON for each wait. Is there a way I can re-use a TON or something?
What is the most efficient way of making a simple sequence of events like this?
Thanks in advance!