If a timer is needed, use the
Event
system.
The timer will allow for processing other items, where
SLEEP
will
stop execution of any ZBI commands for the specified
SLEEP
period.
This
is a program command and must be preceded by a line number.
Calling
SLEEP
with
<A>
set
to zero will force the ZBI task to yield to the rest of the system
and allow any pending tasks to run (e.g., pending ZPL commands).
If there are no pending tasks, ZBI will sleep for a minimum of 8
milliseconds.