Author Topic: BUTTON DELAY  (Read 9415 times)

Offline Mike AA

  • PLUS+1 Guru
  • *****
  • Posts: 116
  • Karma: +0/-0
    • Dewind Dewatering
BUTTON DELAY
« on: May 04, 2017, 04:31:41 PM »
I am having some timing issues when it comes to pressing the buttons on the DP710. I get full functionality but when I do a delay on, for say 3 seconds it actually takes more like 6 seconds. I haven't checked my loop time recently as I am away from the display to connect directly. Attached is my snippet for what I am doing. I am using this function in a few locations to reset counters and timers.

Thanks,
Mike


Offline FluidPowerTom

  • PLUS+1 Guru
  • *****
  • Posts: 363
  • Karma: +33/-0
Re: BUTTON DELAY
« Reply #1 on: May 04, 2017, 07:42:28 PM »
Use a base time of 10 or 100ms, so change it so that your base time is T10M.  Then change the 3 to 300.  For whatever reason the second (T1S) base timer is very coarse and inaccurate.
Controls Engineer
Hydra-Power Systems

Offline Mike AA

  • PLUS+1 Guru
  • *****
  • Posts: 116
  • Karma: +0/-0
    • Dewind Dewatering
Re: BUTTON DELAY
« Reply #2 on: May 04, 2017, 07:47:40 PM »
Thanks FluidPowerTom!

I wondered if that might be something to do with it, all my other functions that use ms seem to work just fine.

I will get it switched and try it out.

Thanks,
Mike