looking difference between OB10 to OB17 & OB20 to OB23 of S7

arocon

Member
Join Date
Oct 2006
Location
Dubai
Posts
171
I am newbie in S7 PLC. Could anyone tell me with some example(easy ladder or statement programs)what is the difference between Time of day interrupt(OB10 to OB17) and time delay interrupt(OB 20 to 23. It would be very helpful if i get reply with examples, since from manual i can not understand how to use those blocks.


arocon
 
Hello arocon;

Sorry I don't have any coded examples right now, but basically the difference is simple:
-You want to trigger an action every Monday, at 7:00 AM, starting January 1st 2007; for example, call the code in FB72. Use a Time-of-day interrupt for this. Program a network in OB10 that will set M1.0 (for example); parametrize the date and time you wish to have OB10 called by the operating system (through HWConfig, CPU parameters) or SFC28/30; load that OB10 into the CPU memory. Program and load FB72 as you like, making sure the last network resets your trigger bit M1.0.

-You want to ensure that there is a delay between one action and another, and you need the precision of the delay to be better than internal timers' capacities. For example, you need the delay to synchronize the start of a series of conveyor. Use a time-delay interrupt for this; use SFC32 to specify the delay you need, and set a bit in OB1 (for example) that will call SFC32; this will trigger the delay interrupt.

If I remember well there were examples of these interrupts (and more) iin the manual for Step 7 v. 5.2. They must be available in the newer versions.
hope this helps,
Daniel Chartier
 

Similar Topics

Hi , Where i can find Mitsubishi PLC Card end of line & replacement model details. i am looking for Q02CPU replacement model. Please advice. thanks
Replies
2
Views
126
I have Allen Bradley plcs, I have had Circuit breakers and other automation equipment in the past. There's no solid buyers local. How much do you...
Replies
2
Views
200
can anyone has a good program to learn plc programming online. i have the basic looking into improve my skills thanks
Replies
1
Views
142
I want to monitor a couple signals in a place where there is no PLC but there is ethernet. I know I can use an AENTR or Flex I/O and a module but...
Replies
21
Views
766
I downloaded v24 for studio 5000 but can’t find where the download manager put it! Any help? I’ve done it before but can’t remember. Thanks
Replies
9
Views
388
Back
Top Bottom