7/11/2011 9:26 PM | |
Joined: 9/6/2008 Last visit: 5/7/2022 Posts: 1121 Rating: (86) |
HI If i got you right you require a Run timer meter for your motor, Please find the attached program for the same. For your second question you can compare the time and trasfer the value to a memory flag or a data block area, and reset the timer and start it again, or you can count the number of starts of the motor using the feedback you recive from your motor. the Example logics for counting the start/stop is available in your step 7 help, use your imagination to do the logic. If you still have a problem come back to us. Have fun.... AttachmentTimer_Rtm.zip (1170 Downloads) |
Last edited by: Tagolover at: 7/11/2011 9:28 PMLast edited by: Tagolover at: 7/11/2011 9:27 PMJazz |
|
This contribution was helpful to1 thankful Users |
7/13/2011 8:08 AM | |
Posts: 59 Rating: (0) |
Hi. thanks for your respond but it is not loading to cpu. **FB210 unable copy** Best regards
|
7/13/2011 3:35 PM | |
Joined: 3/21/2006 Last visit: 11/1/2024 Posts: 10229 Rating: (1181) |
Hello, What is the type of your CPU? Put it in Stop mode and try again. Best regards, Hristo Mihalev |
7/13/2011 5:46 PM | |
Posts: 59 Rating: (0) |
this project is complete. I tried in stop mode. unfortunately. I cant download. thanks
|
7/13/2011 6:48 PM | |
Joined: 1/28/2009 Last visit: 10/26/2024 Posts: 6852 Rating: (1365) |
Dear samstrong Check the following codes and the attachment for the test of the program! [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 Attachmentzeit1.zip (498 Downloads) |
Last edited by: hdhosseini at: 9/1/2018 6:48:42 AM |
|
This contribution was helpful to1 thankful Users |
7/14/2011 3:54 PM | |
Posts: 59 Rating: (0) |
Thanks. I have solved this problem. |
This contribution was helpful to2 thankful Users |
Follow us on