Remote-processing BASIC for the CX-10 Modbus Manuale Utente Pagina 77

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 84
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 76
BASIC PROGRAMMING GUIDE
2-68
TAB
Syntax: PRINT TAB(
position
)
Where:
position
= 1 to 255
Function: Specifies a column number at to begin printing.
Mode: Command, run
Use: PRINT TAB(5), "Pressure", TAB (20),"Temperature"
DESCRIPTION
TAB is used with PRINT. It is used to print data in table form. If the cursor is past the requested column, the
instruction is ignored.
ERROR
BAD ARGUMENT When
position
is negative or out of range.
EXAMPLE
100 PRINT TAB(5),"Pressure",TAB(20),"Temperature"
110 FOR N=0 TO 6
120 PRINT TAB(7),REGREAD(2)*.237,
130 PRINT TAB(23),REGREAD(3)*1.324
140 NEXT
>run
Pressure Temperature
116.13 237.3
116.14 237.3
116.13 237.4
116.14 237.4
116.11 237.0
116.16 237.6
116.13 237.5
Vedere la pagina 76
1 2 ... 72 73 74 75 76 77 78 79 80 81 82 83 84

Commenti su questo manuale

Nessun commento