There is an instruction at the right-hand side of the rung named “END”. “END” is an instruction when executed, which will cause the execution of the program file to end for the current program scan.
This rung is normally the last rung in the program file.
The “Insert Rung” command adds a rung above the current rung.
“Append Rung” is used to add a rung below the current rung.
We want to increment an integer value every five seconds. Once we count up to 10, we want to reset the integer to zero and start over again.
We will add Equal instruction and CLR instruction to the ladder program.
We will add addresses, comments, and symbols to rung instructions.
We will open the program that we saved in the last section of this course, and add additional rungs of logic to complete the simple example.
We want to add the logic to start a timer, which we will configure to run for 5 seconds. When the timer times out, we want to increment the integer.
There are several timers to choose from.
“TON” is a “Timer On-Delay”.
“TOF” is a “Timer Off-Delay”.
“RTO” is a “Retentive Timer On-Delay”.
A v...
2 Comments