Denso RC5 Especificaciones Pagina 384

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 692
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 383
13-2
OUT (Statement) [Conforms to SLIM]
Function
Outputs data to the I/O port designated by an I/O variable.
Format
OUT <I/O variable> = <Output data>
Explanation
This statement outputs the value of <Output data> to the port address
designated by <I/O variable>.
<I/O variable> is declared using a DEFIO statement or I/O type variable.
Related Terms
IN, DEFIO
Example
DEFINT Li1, Li2
DEFIO samp1 = INTEGER, 220 'Declares samp1 as an INTEGER type I/O variable
'beginning at port 220.
IN Li1 = samp1 'Assigns the samp1 data to Li1.
IN Li2 = IO[240] 'Assigns the port 240 data to Li2.
OUT samp1 = Li1
'Outputs theLi1 data from the port declared in samp1.
OUT IO[240] = Li2 'Outputs the Li2 data from port 240.
Vista de pagina 383
1 2 ... 379 380 381 382 383 384 385 386 387 388 389 ... 691 692

Comentarios a estos manuales

Sin comentarios