TON not accumulating

hinatauchiha

Member
Join Date
Jun 2017
Location
Texas
Posts
1
Hello everyone,

so I added some inputs and 2 TON timers to an existing program that I knew was working just fine before I added these. I verified that each rung was correctly written and would work before I downloaded them, but when I put the PLC in run mode, the timers wouldn't accumulate time even when the rest of the rung was true.

Do you guys have any idea on what could be the problem? It's Micrologix 1200 by the way

Thanks!

(just to clarify, I added two new rungs, both with 4 inputs and one TON timer)
 
just GUESSING - but maybe you put the new code into a NEw subroutine/ladder file - and you didn't "call" the subroutine to tell the processor to scan/execute it? ...

if so, you need to add a JSR (Jump to Subroutine) instruction to the Main File (Ladder #2) ...

TIP: with your type of system, only the Main Ladder File (File #2) gets scanned/executed automatically ... any other Ladder Files must be "called" (usually with a JSR instruction) or the processor won't even go there (even though the vertical "rails" might turn green) ...

let us know if this idea doesn't fix your problem - but it's a very common cause for what you've described ...

and welcome to the forum ...
 
Last edited:
(just to clarify, I added two new rungs, both with 4 inputs and one TON timer)

that statement MIGHT mean this:

maybe you have used the same timer ADDRESS (for example T4:0) for more than one timer INSTRUCTION ... in that case, if any one of the TON rungs are FALSE, then that particular TON timer instruction is acting like an RES (Reset) instruction - and effectively "resetting" the other timer instructions on each and every scan ...

the fix for this would be to use a separate address for each timer instruction ... (example T4:0 and T4:1 and T4:2) ...

if nothing else helps you get going - consider posting a screen shot of your code (or the code itself) ...

right now we're just GUESSING at what you're actually seeing ...

good luck with it ...
 

Similar Topics

Hello, I'm using FactoryTalk View ME V10. I created a valve as a global object with multiple parameters and when the object is being used at the...
Replies
2
Views
130
Hi, I'm quite new to Rockwell PLC and currently trying to implement the following if Sw1 then for i:=1 to 20 by 1 do xEnable := 1...
Replies
9
Views
369
FactoryTalk View ME running on PanelView Plus 7, connected to Compact GuardLogix 5380 PLC Customer is asking for a physical push button to be...
Replies
6
Views
182
Hi everyone Is it possible to change a button image in FactoryTalk View SE (v13.00) using VBA?
Replies
0
Views
82
I'm using one TON (called SystemTimer) throughout a program that I change the .PRE given different conditions. I'm porting an IDEC ladder over to...
Replies
8
Views
317
Back
Top Bottom