Remote-processing RPC-150 Manuel d'utilisateur Page 13

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 26
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 12
CHAPTER 4 SERIAL PORTS
RPC-150 Page 11
In this mode, you have access to the full 256 bytes.
If you don' t read the buffer and the buffer fills, all
subsequent characters are discarded. INKEY$(n)
may be used anywhere in the program.
3. COM$(n) retrieves all characters in the buffer,
including < cr> 's and other control co des. This
function is commonly used with ON COM$
multitasking statement. You can retrieve 128 of the
256 bytes in the serial buffer at one time.
SERIAL PORT FILE NUMBERS
CAM BASIC references the ser ial I/O ports by file
numbers, similar to DOS. The following table shows
the corresponding file number to serial I/O port and how
they are used with the various ports.
Description File Examples
COM1 1 PRINT "Hello"
PRINT #1," Hello"
INPUT A$
INPUT #1,A$
A$ = INKEY$(1)
COM2 2 PRINT #2," Hello"
INPUT #2,A$
A$ = INKEY$(2)
COM1 is J1, the console port. COM2 is J4, the primary
port.
COMMANDS
The following is a list of CAMBASIC commands used
for serial I/O. Variations for many commands not listed
here. These commands and functions are ex plained in
the CAMBA SIC Programming Manual.
Command Function
CLEAR COM$ Clears serial input buffer
COM$ Returns string from buffer
CONFIG BAUD Sets serial port parameters
CONFIG COM$ Configures port for ON
COM $(n) interrupt
INKEY$ Returns a character from the
serial buffer
INPUT Receives string from port
LIST Outputs program listing
ON COM$ Calls subroutine on serial
input
PRINT Outputs data in various
formats
TAB Tabs to predetermined
positions
SERIAL CABLE PIN OUT
The following is the pin out between the IDC connector
for the SBS-150 and the DB-9 connector to the PC or
terminal.
IDC DB-9 Description
1 4 DCD
2 3 RXD
3 2 TXD
4 1 DTR
5 5 Ground
6 n/c DSR
7 8 CTS out
8 7 RTS in*
9 n/c +5 V
10 n/c RI
J1 and J4 connector pin out.
Pin J1 J4 Direction
1 n/c n/c
2 RXD RXD Input
3 TXD TXD Output
4 n/c n/c
5 Gnd Gnd
6 n/c n/c
7 n/c CTS Output
8 n/c RTS Input
9 +5V +5V source
10 n/c n/c
Vue de la page 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 25 26

Commentaires sur ces manuels

Pas de commentaire

LG OLED65C7T manuals

Owner’s manuals and user’s guides for Unknown LG OLED65C7T.
We providing 3 pdf manuals LG OLED65C7T for download free by document types: User Manual






More products and manuals for Unknown LG

Models Document Type
42LS53A-5B User Manual LG 42LS55A-5D,47LS55A-5B,42LS53A-5B,55LS53A-5B Användar manual, 73 pages
GC-B207GPJV User Manual   LG GC-B207GPJV Owner’s Manual, 36 pages
LPUW72D5A.ACN User Manual   LG LP-W505ADTR,LPNW725ADTR.ACN,LPUW72D5A.ACN,LPNW505ADTR.ACN,LPUW50D5A.ACN 产品说明书, 40 pages
MH6589UR User Manual    LG MH6589UR Інструкція користувача, 36 pages
GN-B352YLC User Manual   LG GN-B392YLC,GN-B352YLC,GN-B352YVCA,GN-B392YLCA Εγχειρίδιο Χρήσης, 18 pages
L1770H-BF User Manual   LG L1770H-BF Інструкція користувача, 24 pages
RZ-20LA66K User Manual   LG RZ-20LA66K Owner's manual, 36 pages
55XF3E-B User Manual LG 55XF3E-B Användar manual, 24 pages
S13-SBB6PN User Manual   LG G10-SBB6PN,IE10-SBB6PN,IE18-SCB6PN,IE13-SBB6PN,IE24-SCB6PN,S10-SBB6PN,S13-SBB6PN,X10AN คู่มือการใช้งาน, 21 pages
LGPD8380 User Manual   LG LGPD8380 מדריך למשתמש, 78 pages
VH9502DSW User Manual   LG VH9502DSW 使用手冊, 20 pages
KA80610F User Manual   LG KA80610F Εγχειρίδιο Χρήσης, 40 pages
LAP440W User Manual   LG LAP440W Інструкція користувача, 36 pages
55UV661H User Manual LG 55UV661H Εγχειρίδιο Χρήσης, 40 pages
GC-H502HEHZ User Manual   LG GC-H502HEHZ Руководство пользователя, 24 pages
V-C6366STV User Manual   LG V-C6367HEU,V-C6378CEU,V-C6366STV Руководство пользователя, 6 pages
LCF600URU User Manual   LG LCF800IR,LCF600URU Εγχειρίδιο Χρήσης, 18 pages
GR-B404ESNN User Manual   LG GR-B404ESNN Owner's manual, 20 pages
GN-HL567SV User Manual   LG GN-DL567SV,GN-HL567SV 使用手冊, 36 pages
GR-W14NGH User Manual   LG GR-W14NGH 产品说明书, 26 pages