Rockwell-automation 1771-DB BASIC MODULE Uživatelský manuál Strana 292

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 394
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 291
Chapter
Call Routines 69–127
13
13 -34
Use CALL 98 to disable the Data Terminal Ready (DTR) signal from
PRT2. CALL 97 re-enables the DTR signal.
Input and Output Arguments
This routine has no input and no output arguments.
Syntax
CALL
98
Example
>
1 REM EXAMPLE PROGRAM
>
10 CALL 98 : REM DISABLE DTR SIGNAL
>
30 END
Use CALL 99 to reset the internal print head character counter of your
printer when printing out wide forms. This call prevents the automatic
CR/LF at character 79. You must keep track of the characters in each line.
Input and Output Arguments
This routine has no input and no output arguments.
Syntax
CALL
99
Example
>
10 REM EXAMPLE PROGRAM
>
20 REM THIS PRINTS TIME BEYOND 80TH COLUMN
>
30 PRINT TAB(79)
>
40 CALL 99
>
50 PRINT TAB(41), “TIME -”,
>
60 PRINT H,“:”,M,“:”,S
>
70 END
CALL 98: Disable Port PRT2
DTR Signal
CALL 99: Reset Print Head
Pointer
Zobrazit stránku 291
1 2 ... 287 288 289 290 291 292 293 294 295 296 297 ... 393 394

Komentáře k této Příručce

Žádné komentáře