Accell MPC-68K Series Manuel d'utilisateur Page 34

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 45
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 44 45

Commentaires sur ces manuels

Pas de commentaire