Campbell 21X Manual do Operador Página 34

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 191
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 33
SECTION
1. FUNCTIONAL
MODES
1.8.1
TRANSFER
TO
COMPUTER/PRINTER
This
section describes
commands
1 and 2
(Table
1.8-1). TERM
(PC208
Software)
automaticaily
uses
these
commands for
uploading
and downloading
programs.
SENDING ASCII
PROGRAM INFORMATION
Command 1 is
to send the
program
listing
in
ASC|l.
At
the
end of
the
listing,
the 21X sends
control
E
(5
hex
or
decimal)
twice.
Except when
in telecommunications,
the baud rate code
must
be
entered
after
command 1.
Table
1.8-4 is
an example of the
program
listing
sent in response
to command
1
(the
actual
listing is
in
one
column but
is
printed
in two
columns
to
save
space).
Note
that
the
listing
uses
numbers
for
each
mode:
The numbers for
*A, *8,
and
*C
modes
are
10, 1 1
,
and
12,
respectively.
TABLE 1.8-4.
Example Program
Listing
From
*D
Command 1
MODE 1
SCAN
RATE
2
1:P17
1:1
1:P0
2:P14
1:1
2:1
3:5
4:1
5:1
6:2
7:1
8:O
3:P92
1:0
2:5
3:10
MODE 1
SCAN RATE 2
4:P71
1:2
2:1
LOAD
PROGRAM
FROM
ASCII
FILE
Command
2 sets
up
the 21X to load a serial
ASCII
program.
The
format is
the
same
as sent
in response
to command
1
(Table
1.8.4).
Excepl
when in
telecommunications,
the baud
rate
code
must
be entered
after command 2.
A download
file need not follow
exactly
the
same format that
is used when
listing
a
(i.e.,
some of the characters sent
in the listing
are not
really
used when a
program
is loaded).
Some
rules
which must be followed are:
"M"
must
be the
first
character other than a
carriage
return
(CR)
or line
feed
(LF).
The
"M" serves the
same
function as
"*"
does
from the keyboard.
The
order
that
the
Modes are sent
in
does not matter
(i.e.,
the
information for Mode 4 could be sent before
that
for Mode 1).
"S"
is necessary
prior
to the execution
interval
(Scan
rate).
The colons
(:)
are
used
to
mark the start
of
actualdata.
5:P0
MODE
2
SCAN RATE O
MODE
3
MODE
4
1:0
2:O
MODE
10
1:28
2:64
3:19328
4:934
MODE 12
1:0
2:O
MODE
2
SCAN RATE O
1.
2.
3.
1-8
Vista de página 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 190 191

Comentários a estes Manuais

Sem comentários