quick AB TON

kurt.brinker

Member
Join Date
Dec 2006
Location
In Town
Posts
263
When using the TON instruction does the DN bit stay true after the .pre has been reached or is it momentary when the pre is reached?
 
stays true until the input is removed

timer11.gif


EDIT: the picture slowed me down, must learn to program faster....
 
look at post #4, the reason I posted the picture was so you could see what the bits are doing...


T4;2 is true on the EN,DN... the PRE is 100 and the ACC is 100
 
once in awhile you MIGHT see the Accumulator go slightly higher than the Preset ... that's because the actual "timer" (the location in the data table) is only "serviced" or "updated" by the processor when the TON "instruction" (in the ladder program) is executed ... so ... sometimes if the scan time is just a little bit too long - the processor MIGHT add just a little bit too much time to the Accumulator - and so the Accumulator MIGHT go just a little bit past the Preset ... in rare situations this "overshoot" effect can cause something like a scaling-type math operation to self-destruct - but USUALLY there's no harm done ...

but to answer your specific question: YES, the TON timer's Done bit will have a "1" status whenever the Accumulator is GREATER THAN or EQUAL TO the Preset ...
 
Last edited:

Similar Topics

I'm trying to import a .prj file and I keep getting the error message: Project import error. i Any ideas how to get around this? Thanks.
Replies
0
Views
51
Hi, I am looking for some help with a GE Fanuc Versa Max Micro Controller model IC200UDR001-BF connected to a Quickpanel mini display...
Replies
3
Views
128
Hello, I want to plot a line on X,Y axis with defined start and end points on Quick Panel+. I use PAC Machine Edition 9.7, and it supports...
Replies
14
Views
1,705
Hello, I want to plot a line on X,Y axis with defined start and end points on Quick Panel+. I use PAC Machine Edition 9.7, and it supports...
Replies
0
Views
332
I have previously shared this elsewhere, so I apologize if you have already seen it. Here is a basic and quick introduction to Python for PLCs...
Replies
10
Views
2,189
Back
Top Bottom