Alarm activate after 10 min of Idle

Here is where you can request new features or special features.

Alarm activate after 10 min of Idle

Postby Giani » Mon May 23, 2022 2:12 pm

Hi, i have a machine that uses closed loop drives that gets really hot if there is no movement (standstill) for a period of time.
i would like to activate a output or reset after 10 minute of idle.
Thank you.
Giani
 
Posts: 2
Joined: Mon May 23, 2022 2:01 pm

Re: Alarm activate after 10 min of Idle

Postby Battwell » Tue May 24, 2022 12:27 pm

dont your stepper drives have a half current mode setting?
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: Alarm activate after 10 min of Idle

Postby cncdrive » Wed May 25, 2022 7:58 pm

You can program that yourself in a macroloop.
Just check the idle LED and zero a counter if the led is not active and increase the counter otherwise.
If the counter reacher a value then set or reset an output etc.
cncdrive
Site Admin
 
Posts: 4901
Joined: Tue Aug 12, 2014 11:17 pm

Re: Alarm activate after 10 min of Idle

Postby Giani » Thu May 26, 2022 5:36 pm

i've tried this program:

if(exec.IsMoving())
{
exec.Wait(2000);
if (exec.IsMoving())
{
exec.Setoutpin(1, 5);
}
}

if (!exec.IsMoving())
{

exec.Clroutpin(1, 5);

}

But exec.Wait(2000) won't reset i have to wait (move axis) until the "wait" counts entire time.
I'm used with blocks (alarms) that uses set and reset .
do you know how i reset it or colud you write a counter for uc , variant i know won't work.
Thank you.
Giani
 
Posts: 2
Joined: Mon May 23, 2022 2:01 pm


Return to Feature Request

Who is online

Users browsing this forum: No registered users and 3 guests