3/26/2011 9:27 AM | |
Posts: 20 Rating:
|
Should I add any other settings(for instance in my CPU) or call any thing else? |
3/26/2011 9:53 AM | |
Joined: 1/28/2009 Last visit: 8/5/2024 Posts: 6844 Rating:
|
You have used codes in sample project of " using SFC2,SFC3,SFC4" which is originally written in STL. There are some diffrences between your converted LAD codes and original STL codes.Please check the project in STL.The sample is included in STEP7 online manual.Check the attachment. regards Attachmentrun.zip (295 Downloads) |
3/27/2011 8:59 AM | |
Posts: 20 Rating:
|
Dear Hosseini,would you like show me your sample project in LADDER please? I do not know much about STL unfortunately! |
3/27/2011 9:00 AM | |
Posts: 20 Rating:
|
Zemne inke jomlatun az saadi besyar zibast ;) |
3/27/2011 9:39 AM | |
Posts: 20 Rating:
|
Thanks in advance and I would appreciate if you could consider my problem. |
7/14/2011 9:10 PM | |
Joined: 1/28/2009 Last visit: 8/5/2024 Posts: 6844 Rating:
|
Dear CHILICHILIBOMBOM Check the following link for some solution which may help you.I used SFB4 for measuring the running time of a pump.About the SFC you asked,it should be reconsidered! TOTAL TIME IN HH/MM/SS FORMAT (HOUR/MINUTE/SECOND)[code] CALL SFB 4 , DB4 IN:=M0.0 PT:=T#23D Q := ET:=MD20 L MD 20 //current L 0 ==D JC pre // if not running TAK L MD 24 //total +D L MD 28 //previously saved -D T MD 24 NOP 0 L MD 20 T MD 28 JU ende pre: NOP 0 L 0 T MD 28 ende: NOP 0[/code] Regards |
This contribution was helpful to
1 thankful Users |
Follow us on