Accell MPC-68K Series Manual de usuario Pagina 34

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 45
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 33
RS-232 communication
MPC-684 has two RS-232 communication ports for interfacing to external devices.
You can control the ports by using commands.
One of the ports supports interfacing with the GP touch-panel (Digital corporation).
You can add more communication ports by using the MRS-402 board (max 4ch.)
Command for communication
CNFG#n channel n initialize
PRINT#n channel n transmit
INPUT#n channel n receive
CNFG#0 "9600b8pns1XON" /* 9600bps 8bit parity-none 1stop XON/OFF
INPUT#0 a$ /* string receive
b$="&H"+a$ /* string processing
v=VAL(b$) /* conversion string to variable
PRINT "&H"+a$ "=" v /* display to monitor screen ( the FTMW )
PRINT#0 HEX$(v)+"\n" /* transmit
34
Vista de pagina 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 44 45

Comentarios a estos manuales

Sin comentarios