Control the Oiler via a relay contact on your VFD, so it comes on when the VFD starts the motor, and fit an electronic timer configured to give a 10min delay off when the contact opens on the VFD.
Hi Tom,
Is there any easy way to detect when the machine is idle for a period of time? Would be nice if I could disable the oiler after say 10 mins of no movement. Thanks.
Mark
Similar Threads:
Control the Oiler via a relay contact on your VFD, so it comes on when the VFD starts the motor, and fit an electronic timer configured to give a 10min delay off when the contact opens on the VFD.
Hi Mark,
You might do something similar to how KStep is disabled after a period of no motion. Enable the Oiler and TimeStamp the time whenever there is motion, and if the current time is a certain amount past the TimeStamp then disable the oiler.
Code:for (;;) // loop forever { WaitNextTimeSlice(); // Service Amplifier disable after no activity for a while if (ch0->Dest != LastX || ch1->Dest != LastY || ch2->Dest != LastZ) { // we moved - enable KStep Amplifers SetBit(45); T0 = Time_sec(); // record the time and position of last motion LastX=ch0->Dest; LastY=ch1->Dest; LastZ=ch2->Dest; } else { if (Time_sec() > T0 + 10.0) ClearBit(45); } }
Regards
TK http://dynomotion.com