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

SLEEP

Directly set pause between previous and next commands only for current step.
[Current PAUSE] = ms + sec * 1000 + min * 1000 * 60 + hours * 1000 * 60 * 60.
[Current PAUSE] will be performed only once.

Syntax

sleep [ 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.

Example 0x00

sleeps 100 ; Set sleeps = 100 ms
 
10
 
CYCLE:     ; Define Label
 
sleep 1000 ; Set [Current step] = 1000 ms
 
rol 6
 
sleep 0 1  ; Set [Current step] = 1000 ms
 
rol 6
 
goto CYCLE ; Goto Label CYCLE
exsleep.mr_g.gif