Worse case response time of THC UP/DOWN inputs.

If you have a question about the software please ask it here.

Worse case response time of THC UP/DOWN inputs.

Postby beefy » Sun Jan 06, 2019 10:01 am

Hi Balazs,

I'm doing some velocity/acceleration/sample time/frequency calculations for a torch height control I'm designing. To start I'll just be using the basic built in THC UP/DOWN capability of your motion controller boards.

In response to THC UP/DOWN input signals, what would be the longest (worst case) time it would take for the UC300/UC400 to start sending step pulses (or start step pulse deceleration if motor needs to stop or change direction) to the torch motor.

I need to know this so I can add this delay to my overall loop period.

Thanks,

Keith.
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Re: Worse case response time of THC UP/DOWN inputs.

Postby beefy » Mon Jan 07, 2019 12:11 am

Hi Balazs,

just a little more info.

The THC UP/DOWN signals I'll be sending will be TTL from a microcontroller so I will put a value of zero for the THC INPUT debounce signals in UCCNC.

I'll also be using the UB1 breakout board and Robert kindly pointed me to this thread viewtopic.php?f=13&t=219&p=1357&hilit=Debounce#p1357 where the designer mentions a little about its I/O latency.

So what I'm really wanting to know is the UC300/400 worst case "programming latency" for responding to THC UP/DOWN input signals.

Thanks,

Keith.
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Re: Worse case response time of THC UP/DOWN inputs.

Postby cncdrive » Mon Jan 07, 2019 12:56 am

Hi Keith,

If I recall it's 1msec, but wil have to check to make sure.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Worse case response time of THC UP/DOWN inputs.

Postby beefy » Mon Jan 07, 2019 8:02 pm

OK thanks Balazs.
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Re: Worse case response time of THC UP/DOWN inputs.

Postby cncdrive » Mon Jan 07, 2019 9:06 pm

OK, I've checked and it is 1msec as I thought. :)
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Worse case response time of THC UP/DOWN inputs.

Postby beefy » Tue Jan 08, 2019 10:59 am

Fantastic, good to know.
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am


Return to Ask a question from support here

Who is online

Users browsing this forum: Bing [Bot] and 11 guests