Question regarding time value, simatic

Daye.04

Member
Join Date
Jul 2012
Location
Fredrikstad
Posts
70
Hey all. I've got a query for you.

Does it require more of the processor of a PLC to generate the time value everytime a timer is called upon, rather than using a time value stored in a datablock register?
 
Rightio
C0cCO1Aa


And then via Datablock
ZTBBjoIH
 
Last edited:
Your second image doesnt display, but maybe you are using the IEC TON block which requires its own IDB.

The S5timers has much shorter execution time than the IEC TON. But the S5Timers are arcaic and limited in numbers and functionality. I recommend that you dont worry so much about the execution time and use the IEC TON instead.
Todays CPUs are so fast that it is no longer so important to worry about execution times as it used to be.
 
It doesn't? Blimey!

But actually. Both timers are of the exact same type.

And the reason I'm asking about this is not becuase of my own worries - it's rather to make sense of this program I'm trying to figure out. And so I'm trying to understand why the person who made the program has used two different methods interchangably
 
Now it displays on my PC.

OK, the difference is that one has a constant S5time and the other has a variable S5time for the setpoint. That is the difference.
 
The method using the DB will take more memory and take longer to execute than the method where the time value is specified as a constant.

The DB method was most likely used during development so the timer value could be changed via a HMI or VAT table without having to make continual code changes.
 

Similar Topics

I know this can be done, but I can't get the router config right. My goal is to physically connect(using an ethernet cable) a device(PLC, RTU...
Replies
9
Views
1,028
I haven't had to tune a PID loop in a very long time. It's actually a PI loop for a pulse width modulation s.v. What was the name of that tuning...
Replies
16
Views
4,122
Hello, I have a question regarding the analog output modules on a AB Micro850. I'm not getting an output to my valve and when I put a meter on it...
Replies
2
Views
1,540
Happy new year everyone. This is more of a Electrical engineering question than a PLC one. Can a Motor and a VFD that is rated for 240/480...
Replies
29
Views
9,990
This may be a simple question. I understand the concept and application of analog modules (i.e. Compactlogix) for transducers, and outputs for VFD...
Replies
4
Views
2,102
Back
Top Bottom