|time||Interval (1 to 65535)|
UDelay is a more precise delay. The delay is initialized to about 70 microseconds. Every unit added to it will add 14 to 18 micro-seconds. For example, UDelay 0 would be about 70 micro-seconds. UDelay 1 would be about 82 to 84 micro-seconds.
UDelay 100 ' Delay about 1630 micro-seconds.
When an interrupt occurs or Ladder Logic code is being executed at the same time, this delay function might be affected. During this delay, BASIC interrupts are enabled and could cause further delay when using this command.
To prevent interference from Ladder Logic or BASIC interrupts, consider stopping Ladder Logic and all interrupts before using this command.