Q24 plus doubts in giving delay

hi
i want to know how we can give delay in Q24plus without using timer function.

  1. how much time Q24 plus takes to execute a single instruction?how to calculate?
    2)can i use for loop for the delay? is it advisable?

thanks&regards
ukkarthikeyan

Hiya,

Definately not. You will probably trip the hardware watchdog and reboot your module.

Use a timer.

ciao, Dave

hi
Thanks for your reply.
1)how much time Q24 plus takes to execute a single instruction?how to calculate?

thanks&regards
ukkarthikeyan

Hiya,

No idea - and it’s not that important. All the timers take a time value - either in TICKS or milliseconds.

Check out the docs & examples on using timers.

ciao, Dave

hi,
thanks for your response
ukkarthikeyan