Step7 -> SFB4 and SFB5

YCB

Member
Join Date
Feb 2008
Location
Poland
Posts
17
Hi,

I have following problem with Step7 - I wanted to try how SFB4 and SFB5 works co I used following code in OB1 and loaded ot into S7Simulator:

CALL "TON" , DB100
IN:=M333.0
PT:=T#10S
Q :=M333.7
ET:=MD3000

CALL "TOF" , DB200
IN:=M333.1
PT:=T#10S
Q :=M333.6
ET:=MD3010

While SFB5(TOF) seems to work ok, SFB4 (TON) is not working at all. I get output Q(M333.7) at the same moment as input IN(M333.0) gets high.

Is it a problem of Simulator or I'm doing something wrong?
 
Last edited:
Many Thanks !!!

I was totally confused.

After installation of Service Pack simulator works correctly.

Thanks a lot !!!
 

Similar Topics

is there any free trial version available for step7 professional and wincc comfort v17. i searched and downloaded TRIAL Download STEP 7...
Replies
1
Views
88
Hello. I need your help. I work at STEP7. There are two CPU 317-2 PN/DP controllers (317-2EK14-0AB0), working on PROFIBUS, as Master (CPU_1) and...
Replies
6
Views
199
This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
3
Views
190
When you download a DB, the values get overwritten by what is in the "actual" column in offline DB. Does this happen at the start of the PLC...
Replies
6
Views
170
Hello Inside a FB, I´m trying to transfer a string from a DB to a IN_OUT var that was define as a UDT. The problem is that i can´t determine the...
Replies
4
Views
176
Back
Top Bottom