WinLpt (WndLpt)

Intro

Application

Vis Plugin

Screenshots

History

Downloads

Lpt Tools

SDK

Script

Basic syntax

All Instructions

Extended syntax

Additional rules

Hardware

LED-to-LPT connection

Panel map

Arduino

Lpt Tools

LPT Buttons

Stroboscope

EasyDrive

LptPort

Other

Mark As Good

Unmark bad clusters

DELAY

Perform the delay. Unlike the sleep directive, command delay perform direct delay regardless of any conditions, same as sleeps, sleep or skip directives.
In addition command delay cancel any pauses between previous and next commands only for current step like the skip directive.
[Current PAUSE] = 0 ms
[Delay time] = ms + sec * 1000 + min * 1000 * 60 + hours * 1000 * 60 * 60.

Syntax

delay [ ms [ sec [ min [hours] ] ] ]

Parameters

[ ms [ sec [ min [hours] ] ] ]
  • Decimals sets milliseconds, seconds, minutes and hours. Examples:
  • sleep 500 ; Pause for 500 ms
  • sleep 30 100 ; Pause for 100 s and 30 ms
  • sleep 0 0 20 1 ; Pause for 1 hour and 20 minutes
  • wait 0 0 10 8 ; Wait while system time less or equal to 8 hours and 10 minutes. At 08:10 AM next command will be performed.

Remarks

It is recommended to use the sleep directive wherever possible. You must use delay only in exceptional cases.

Example 0x00

sleeps 100 ; Set sleeps = 100 ms
 
10
 
CYCLE:     ; Define Label named as "CYCLE"
 
sleep 1000 ; Set [Current step] = 1000 ms
 
rol 6
 
delay 0 1  ; Perform delay for 1000 ms and skip usual pause
 
rol 6
 
goto CYCLE ; Goto the Label named as "CYCLE"
exsleep.mr_g.gif