SFB4 (iec On Delay) does not count time

Join Date
Feb 2008
Location
Skelleftea
Posts
8
Hello!
I have used two instances of the iec function block SFB4. They are defined as STAT instances within a calling function block. The presets are also STAT variables with datatype Time.

However, as soon as I activate the IN (input) of the SFB4, instead of seeing the time count up to the preset and then set the Q output, the output goes high at once. Not counting time.

I run this in the S7-PLCSIM simulator of version 5.3SP1. I have not had the ability to test on a real machine so far.

A bug in the simulator? Or have I ovelooked something?
 
There have been at least one problem with the IEC timers not working with PLCSIM and certain versions of Windows.

There is a hotfix for this for PLCSIM v5.3 SP1. But you cannot download it from Siemens. Maybe someone still has it ?
 

Similar Topics

Hi, I have a simple function block that does not function when I use multi instance SFB4 IEC Timer On Delay. I could not attached a zip of the...
Replies
7
Views
9,069
Hello, I'm trying to use the IEC timer, SFB4, for the first time and it seems like it's not working properly. I've uploaded a picture of the...
Replies
3
Views
3,147
Hi All I managed to use SFB4 in a FC using the IN_OUT interface, but I would like to improve if possible. Can I determine where the "timer area"...
Replies
9
Views
3,115
Hi! Is it possible to declare several SFB4 (TON) in a UDT and then create several DB of type (from our UDT)? I was hoping not to have them...
Replies
4
Views
2,194
If I want to force a TON (SFB4) to be complete can I use a one-shot to initiate a move where I will take the PT value and place it in the ET...
Replies
12
Views
4,502
Back
Top Bottom