Remote-processing RPC-150 Uživatelský manuál Strana 13

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 26
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 25 26

Komentáře k této Příručce

Žádné komentáře

Electrolux EWT1330 Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Kaffeezubehör Electrolux EWT1330.
Wir stellen 2 PDF-Handbücher Electrolux EWT1330 zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung






Weitere Produkte und Handbücher für Kaffeezubehör Electrolux

Modelle Dokumententyp
EHD80160PX 33Q Bedienungsanleitung   Electrolux EHD80160PX 33Q Handleiding, 48 Seiten
EDC67150W Bedienungsanleitung    Electrolux EDC67150W Handleiding, 61 Seiten
EFC9415X/CH Bedienungsanleitung   Electrolux EFC9415X/CH Handleiding, 12 Seiten
EFT929B Bedienungsanleitung   Electrolux EFT629 Handleiding, 11 Seiten
EFC9460X Bedienungsanleitung   Electrolux EFC9460X Handleiding, 12 Seiten
EDC66130W Bedienungsanleitung    Electrolux EDC66130W Handleiding, 61 Seiten
EHO610K Bedienungsanleitung   Electrolux EHO610K Handleiding, 16 Seiten
EFC9440X/EU Bedienungsanleitung   Electrolux EFC9440X/GB Handleiding [it] , 11 Seiten
EFC6941 Bedienungsanleitung   Electrolux EFC6940/CH Handleiding [ja] , 15 Seiten
EFP636X Bedienungsanleitung   Electrolux EFP636X Handleiding, 10 Seiten
EDC77570W Bedienungsanleitung   Electrolux EDC77570W Handleiding, 38 Seiten
EFT535X Bedienungsanleitung   Electrolux EFT535X Handleiding, 11 Seiten
EFP6400G Bedienungsanleitung    Electrolux EFP6400G Handleiding, 16 Seiten
EFP6456U/S Bedienungsanleitung    Electrolux EFP6446X/S Handleiding [da] , 14 Seiten
EHC600K Bedienungsanleitung   Electrolux EHC600K Handleiding, 12 Seiten
ECM052 Bedienungsanleitung    Electrolux ECM052 用户手册 [da] [et] [sv] , 11 Seiten
EDC77570W Bedienungsanleitung   Electrolux EDC77570W Handleiding, 31 Seiten
EHT7824K Bedienungsanleitung   Electrolux EHT7824K Handleiding, 24 Seiten
EFT635X/GB Bedienungsanleitung   Electrolux EFT630W/GB Handleiding [pl] , 11 Seiten
EFP6426X/S Bedienungsanleitung     Electrolux EFP6426X/S Handleiding, 36 Seiten