6/28/2012 4:08 AM | |
Joined: 10/7/2005 Last visit: 8/9/2024 Posts: 3016 Rating: (1054)
|
Hello metwally mustafa it's not that I don't want to help, but I fear you steal yourself of the learning and real understanding opportunity by asking for a complete solution. As the old proverb says "Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime", allow me tosuggest youhave a go at it yourself and use some or all of the following available resources for guidance: 1.) https://support.automation.siemens.com(e.g. do a search for indirect addressing, UDT's etc) 2.) Step 7 manuals(read and/or search through the pdf's) 3.) This Forum 4.) etc. etc. I hope this helps,good luck and of course feel free to place specific questions here in case you hit the proverbial brick wall and your logic simply doesn't want to do what you think it should do. |
Cheers |
|
This contribution was helpful to3 thankful Users |
6/28/2012 10:16 AM | |
Joined: 8/31/2005 Last visit: 7/18/2024 Posts: 2198 Rating: (328) |
You find the IEC timers in the System Functions Blocks SFB3 to SFB5 of a S7-300/400 CPU. To call for example SFB4, use "call sfb4, db4" (If DB4 is the instance data block you want to use). Here are the descriptions of this system functions blocks (IEC timers are in chapter 26) |
|
|
7/1/2012 11:13 AM | |
Joined: 10/10/2010 Last visit: 4/28/2024 Posts: 307 Rating: (15) |
thank you that's a good advice , recently i will share my implementation about these example for discusion |
This contribution was helpful to1 thankful Users |
Follow us on