![LiCONiC StoreX Series Скачать руководство пользователя страница 82](http://html1.mh-extra.com/html/liconic/storex-series/storex-series_operating-manual_1907204082.webp)
StoreX
Series
STX_V078.doc
81
CMa,
23.11.2009
The following example will show how the Ready Polling can be combined with
the continuous system status request. The program below will display details of
the handling actions of the StoreX handler. In combination with data base
detailed status reports can be output real-time to the operator all time.
PROCEDURE STX_WaitReadyTrace(portNbr:INTEGER);
VAR c:CHAR; x,y,err:INTEGER; n:WORD;
BEGIN
WRITE(' ');
x:=WhereX; y:=WhereY;
DelayMs(300);
WHILE (STX_Read(prtNbr,1915)='0') AND NOT(KeyPressed) DO
BEGIN
DelayMs(100);
GotoXY(x,y);
Val(STX_ReadDataMemory(portNbr,200,n,err); WRITE(n:3)
END
END;
8.5 Program
Examples
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com