Rockwell-automation 57C610 Enhanced Basic Language, AutoMax Manual de usuario Pagina 97

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 146
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 96
7Ć9
ESC [2K Erase all of the line, inclusive.
CLR_TO_ENDLINE% = 0
PRINT;CLRLINE$(CLR_TO_ENDLINE%); 

When using the CLRLINE$ function with the PRINT statement, a
semicolon should always be located in front of the function call to
tell BASIC not to put the string (generated by the function call) in a
zoned field (a field that is a multiple of 15 characters).
If the semicolon is not used, BASIC will pad the front of the escape
sequence with spaces, which will most likely not have the desired
effect: to move the cursor rather than to print something. Further
information about printing and zoned fields can be found in
PRINT/PRINT USING statements in section 6.8.
 
The IOREAD% function is used to access I/O from foreign modules
that are byte accessible only. The function returns an integer value.
Format:
IOREAD%(option,address)
where:
option is an integer variable or expression that defines the type
of read operation to perform:
option 1 = byte read
option 2 = double byte read (address must be even)
(address) = MSB
(address + 1) = LSB
This option is used to read from foreign I/O
modules that only support an 8Ćbit data path.
option 3 = word read
(address) = MSB
(address + 1) = LSB
The 16Ćbit word is read from the designated
address. This option reads data from modules
that support AutoMax addressing and data
conventions.
option 4 = long word read
(address) = MSB
(address + 1) = next 8 bits
(address + 2) = next 8 bits
(address + 3) = LSB
address is a double integer variable or expression that contains the
address from where data is to be read; the address must be
>
220000H.
See JĆ3649, JĆ3750 or J2Ć3045 for more information on accessing
foreign I/O
.
Vista de pagina 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 145 146

Comentarios a estos manuales

Sin comentarios