What Do You Mean By Delay Subroutine?




What Do You Mean By Delay Subroutine?

A delay program is used to provide the desired delay in industrial control before issuing the control signal by the microcomputer. To generate delay a few registers of the microprocessor are loaded with desired numbers and then decremented to zero.

The delay time depends on the numbers loaded in the registers. Illustrative examples of delay programs using one. Two and three registers are given below. Delay can also be generated using 8253.