Remote-processing RPC-2300 Manuel d'utilisateur Page 8

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 36
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 7
SETUP AND OPERATION CHAPTER 2
Page 6 RPC-2300
A technique used to further program documentation and
reduce code space is the use of comments in a
downloaded file. For example, you could have the
following in a file written on your editor:
'Check VAT temperature
'Read the output from the RTD and
' calculate the temperature
2200 a = ain(0) :'Get temp
The first 3 comments downloaded to the SBS-2300
would be ignored. Similarly, the empty lines between
comm ents are a lso ignored . Line 2200, with its
comment, is a part of the program and could be listed.
The major pena lty by wr iting a progr am this way is
increased download time.
NOTE: Some versions of PC SmartLINK may
optionally strip comments before downloading. Check
your manual to see if this option is available.
Notice that you can write a program in lower case
characters. CAMBASIC II translates them to upper
case.
Some program mers put "N EW" as the first line in the
file. During debugging, it is common to insert
"temporary" lines. Adding NEW ensures that these lines
are gone. D ownloading time is incr eased when the old
program is still pre sent.
If you like to write programs in separate modules, you
can download them separately. Modules are assigned
blocks of line numbers. Start up code might be from 1
to 999. Interrupt handling (keypad, serial ports) might
be from lines 1000 to 1499. Display output might be
from 1500 to 2500. The program mer m ust determine
the number of lines required for each section.
When replacing a program or section, downloading time
is increased. Blocks of line numbers cannot be
renumbered by CAMBASIC II when other parts of the
program are installed. However , if a particular section
is the only program downloaded, then line renumbering
in that range is possible. Refer to the CAMBASIC II
RENU M comm and.
CAM BASIC II automatically formats a line for
minimum code space and increased readability. For
example, you could download the following line of code:
10 fora=0to5
When you listed this line, it would appear as:
10 FOR A = 0 TO 5
Spaces are initially displayed but not stored. The
following line:
10 for a = 0 to 5
would be compressed and displayed as in the second
example above. Spaces are removed.
The CAMBA SIC II Programming Manual has more
information about increasing program speed and editing
options.
Instead of uploading and downloading programs, you can
save them to the on card flash EP ROM . T his is useful if
you are using a terminal to write programs. Make sure
the 'AUTORU N' jumper is installed (See Chapter 3
SAVING PROGRAMS). To prevent automatic program
execution on power up, insert the STOP statement at the
beginning of the program (such as line 1). When you
power up the SBS-2300, the progr am is tra nsferred into
RAM and executed. Delete the program line with the
STOP statement to normally start programs. When
saving programs, be sure to reenter the STOP statement
with its line number.
WHERE TO GO FROM HERE
If you want to do this: Turn to
Chapter
Save a program 3
Autorun a program 3
Know m ore abo ut serial por ts 4
Install a different RAM memory chip 5
Battery backing up RAM 5
Using RAM to save variables 5
Configure digital I/O lines 6
Get switch status 6
Use high current outputs 6
Connect an external opto rack 6
Installing calendar/clock module 7
Analog I/O 8
Keypad port 9
Watchdog timer 11
Also, refer to the table of contents for a listing of major
functions.
Vue de la page 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 35 36

Commentaires sur ces manuels

Pas de commentaire

Compaq Portable 386 - Notebook PC manuels

Manuels d'utilisation et guides de l'utilisateur pour Carnets de notes Compaq Portable 386 - Notebook PC.
Nous fournissons des manuels en pdf 1 Compaq Portable 386 - Notebook PC à télécharger gratuitement par type de document : Manuel de l'utilisateur






Plus de produits et de manuels pour Carnets de notes Compaq

Modèles Type de document
17XL260 - Presario - PIII 500 MHz Spécifications   Compaq 17XL260 - Presario - PIII 500 MHz Specifications [en] , 127 pages
Evo N1000 Spécifications   Compaq Evo N1000 Specifications, 204 pages
Presario V6700 - Notebook PC Manuel de l'utilisateur   Teamed for productivity - CNET Content Solutions, 4 pages
Compaq Presario,Presario 925 Informations techniques   Compaq Compaq Presario,Presario 925 System information, 130 pages
Switch 6 Guide de l'utilisateur   Compaq Switch 6 User guide, 85 pages
Presario,Presario 982 Manuel de l'utilisateur HP 500B Microtower značky HP - 4B982 - Šetříme Vaší, 5 pages
nx6320 - Notebook PC Manuel de l'utilisateur   HP Compaq nx6320 Notebook PC - Hewlett, 6 pages
Armada V300 Spécifications   Compaq Armada V300 Specifications [da] [et] [fr] [it] [nl] [pt] , 200 pages
Evo n610c - Notebook PC Spécifications   Compaq Evo n610c - Notebook PC Specifications, 196 pages
6530b - Notebook PC Manuel de l'utilisateur   Accessories for HP Compaq 6530b Notebook PC, 2 pages
AMC20493-KT5 Manuel de l'utilisateur    Manuel de référence, 164 pages
Compaq Presario,Presario 2214 Manuel de l'utilisateur   Season`s Savings [en] , 2 pages
Armada 7790 Manuel de l'utilisateur   QUICKSPECS, 3 pages
1275 Spécifications   Compaq 1275 Specifications, 96 pages
nx6320 - Notebook PC Manuel de l'utilisateur   MAGNESE Office Mains Charger for HP 90W [en] , 2 pages
AMC20493-KT5 Guide de l'utilisateur    Compaq AMC20493-KT5 User guide, 118 pages
6735s - Notebook PC Spécifications   Compaq 6735s - Notebook PC Specifications, 171 pages
N400c - Evo Notebook - PIII 700 MHz Manuel de l'utilisateur   5309 Inhalt, 71 pages
M700 - Armada - PIII 650 MHz Manuel de l'utilisateur   QUICKSPECS, 21 pages
nc6400 - Notebook PC Spécifications   Compaq nc6400 - Notebook PC Specifications, 267 pages