8/3/2012 6:47 AM | |
Posts: 86 Rating:
|
Hi I did programming for the motor in one FC, which motor i want to make on only once in week, I have to call that FC in time interrupt OB or what. |
8/9/2012 2:25 PM | |
Joined: 4/22/2010 Last visit: 3/31/2025 Posts: 5697 Rating:
|
Hello, I'll try to explain. Program in CPU properties OB 10 to start every week with a starting date on a sunday. In OB10 you set a M-bit i.e. M30.0 In your FC, you start the motor with M30.0 And you start a Timer (on delay), best use SFB4 TON, this timer can handle longer times. With timer output reset M30.0. Now your motor runs every sunday at start time you have given in Hardware config. And motor stops when timer is on. Regards, Marcjan Attachmentexample.pdf (216 Downloads) |
Problem solved? |
|
Follow us on