Using Timers within a Function Block in SCADAPack Workbench

noname123

Member
Join Date
Jul 2014
Location
Alberta
Posts
5
Hi there,

I am working on building some standard function blocks for analogs and digitals etc. I have some bypass logic within my analog input block that needs a timer to function. I have found out that you cannot use a function block within another function block, and since TON is a built in function block, you cannot use it within another function block.

I have thought about possibly building a timer as a function, but functions can only have one output, so I would only be able to see either the elapsed time or the "timer done" bit. I can use a timer outside of the function block and just tie it to the function block, but it looks so ugly and I'd much prefer to have it within the block.

I am going to run into more problems with timers with my alarm block since I have a few different delays I want to program in, so I'm hoping someone has found a solution to this, or have experience with a similar type of thing.

I am grateful for any ideas you may have. Thanks!
 

Similar Topics

So long story short I'm frustrated at work because I can't get my timer to actually time in the FB's. I have been using the SB4 blocks in my FB...
Replies
12
Views
2,984
Hi, I'm looking for a way to pause the timers I have in my PLC. I'm making a program which has a safety switch which is supposed to pause the...
Replies
5
Views
2,105
Hi everyone. Long story short, we are using ladder logic to run an SFC. Due to the nature of an SFC we need about as many timers as we do states...
Replies
4
Views
5,264
hello i'm new here and this is my first post. a little back ground on myself, i have been in the machine trades all of my adult life (30+ years)...
Replies
16
Views
10,407
Hi Guys, Is there a way to reuse TON timers in RsLogix 5000? I used TON, then after it's .DN, then I RES it. Later on, I reuse the same timer...
Replies
16
Views
6,992
Back
Top Bottom