Dear friends
I want to use a timer in a FB and call that FB in my program,
but I dont know how to use the timer in FB,
if I use T01 for timer name in FB,
then can I call that FB many times with T01 timer?
[?]: How to use timers in a function block
-
- Posts: 40
- Joined: Tue Jan 01, 2008 9:37 am
- Location: Iran
-
- Posts: 109
- Joined: Thu Oct 19, 2006 7:00 am
- Location: Russia
Each time a timer supplied to IN parameter will be used.pkbiju wrote:When you call FB many times, from another FB or OB, the same timer will be used parellally for all the application. So will is really work or not if you have the Fb called multiple times? (eventhough instance DB are different)
Of course it will overlap if you have multiple calls with same timers.
-
- Posts: 5
- Joined: Wed Nov 12, 2008 3:52 pm
- Location: Europe
thanks
I think this is the better way to use the SFB4, in this case each instance of the FB will use a different timer !! Thank you very muchmarcs7 wrote:you can multi instance the SFB4
i never use s5timer , just for dirty patch
Thank you very much !bunglehead wrote:Each time a timer supplied to IN parameter will be used.pkbiju wrote:When you call FB many times, from another FB or OB, the same timer will be used parellally for all the application. So will is really work or not if you have the Fb called multiple times? (eventhough instance DB are different)
Of course it will overlap if you have multiple calls with same timers.