Skip to content
LDmicroGitHub edited this page Jan 31, 2018 · 2 revisions

The DELAY(μs) instruction causes a delay in μs. DELAY(μs) instruction does not use any timers/counters.
The NOP and JMP(Current Address+1) instructions are used to make delay.
image
PLC Cycle Time is 50 μs (F= 20 kHz).
image
The (COIL(set) + COIL(reset)) process lasts about 1 μs (Yellow graph).
image
Delays are 1, 2, 3, 4 μs (Blue graph).
image
LD, asm, HEX, Proteus in delay_us.zip

Any questions to LDmicro.GitHub@gmail.com

DELAY(us) with variable duration

Clone this wiki locally