The document describes various programming instructions for timers and counters, including the Count Up Counter (CTU) which counts pulses up to a preset value, and the On-Delay Timer (TON) which delays output activation. It also explains the RTO instruction that retains timing values during interruptions and the EQU and GEQ instructions for value comparisons. These instructions are essential for controlling outputs based on specific conditions and timing in programming environments.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
20 views6 pages
Isntructions
The document describes various programming instructions for timers and counters, including the Count Up Counter (CTU) which counts pulses up to a preset value, and the On-Delay Timer (TON) which delays output activation. It also explains the RTO instruction that retains timing values during interruptions and the EQU and GEQ instructions for value comparisons. These instructions are essential for controlling outputs based on specific conditions and timing in programming environments.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 6
• CTU- Count Up Counter
• It counts-up the number of pulses up to the specified number as
given in Preset. • Every time when rung condition becomes true, it counts up by 1 until the final count value. • The count value is kept and it can be cleared by reset instruction. • The given counter C5:1 will count up to 10. • Its value can be reset by reset instruction with same address of counter • The RTO instruction keeps its timed value when some problems happen like: Rung conditions become false. Processor mode changes from Run to program or REM (remote) or test mode. There's a power problem to the processor Some fault happens.
The timer pauses counting/timing if the input is turned off
before the count down is finished. When the input is turned on again, the timer continues counting down from where the time was paused. On-Delay Timer (TON) • An On-Delay Timer is used when you want a time delay to turn ON the output.
• The output (Coil/Motor/Lamp/Alarm) becomes ON after a particular time delay.
• When input goes from 0 to 1, the timer starts timing and when final time is
reached timer stops and the output becomes high.
• TON starts timing/counting when the instruction/input is true.
if you turn on Input, after 5 sec output will get turn on. It will not turn on immediately. EQU
• It is a equal instruction used to compare the values in source
A and B. • If the two values are equal, it will produce high output and if not equal it will produce 0 output. • If the timer accumulator value T4:1.ACC is becomes equal to T4:2.ACC , then there’s high/true output otherwise zero/fasle output. GEQ Greater than or Equal
• It is a compare instruction. It compares whether the values
in source A and B are greater than each other or equal to each other. • If value in A is greater or equal as in B, it will produce True/1 other wise it will produce false/0 output.