Remote-processing RPC-210 Manuel d'utilisateur Page 25

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 60
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 24
SERIAL & SPI PORTS BASIC SECTION 4
Page 4-7
COMMANDS
The following is a list of RPBASIC-52 commands used
for serial I/O. These commands and functions are
explained in the BASIC-52 Programm ing Manual or
RPBASIC-52 Software Supplement in this manual.
Command Function
CLEAR COM$ Clears serial input buffer
COM$ Returns string from buffer
COM Returns number of char acters in
buffer
CONFIG BAUD Sets serial port parameters
GET Returns a character from the
serial buffer
INPUT Receives string from port
LIST Outputs program listing
ON COM$ Branches to a subroutine when
specified parameters are met
PRINT Outputs data in various formats
PRINT #, Prints to a specified port
SPC Print out n number of spaces
SPI Reads or writes SP I data
SCON Configures SPI port
STR Various string commands. Useful
for networking and output
formatting.
TAB Tabs to predetermined positions
UI0 Reroute inputs to COM0
UI1 Route inputs to COM1
UO0 Rerou te PRIN T statement to
COM0
UO1 Route PRINT statement to COM1
USING PRINT formatting statement
RS-232 PORT PIN OUT
Pin outs for J1 and J2 are shown below. Unused pins
are open.
J1
COM 0
J2
COM 1
Name Direction from
card
3 3 TxD Out
4 RTS In
5 5 RxD In
6 CTS Out
9 9 Ground
10 10 +5V
RS-422/485 PORT PIN OUT
Pin out for RS-422/RS-485 port at J6 is below.
Pin No. Description
1 T+
2 T-
3 Ground
4 R+
5 R-
Vue de la page 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 59 60

Commentaires sur ces manuels

Pas de commentaire