EasyManua.ls Logo

IFR FM/AM-1200A

IFR FM/AM-1200A
294 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1~
OPEN
''COM1:96~0
,N
,8
,1
,CS
,OS, LF''
AS
#1
20
PRINT
#1,
"2"+CHR$(13)
30
INPUT
"CMD:
";CMD$
40
IF
CMD$=''QUIT''
THEN
160
50
PRINT
#1,
CMD$
60
IF
RIGHT$(CMD$,1)=''?''
THEN
GOSUB
120
70
IF
CMD$
=
''MTR1''
OR
CMD$
=
''MTR2''
THEN
GOSUB
120
80
IF
CMD$
=
"MDS''
THEN
GOSUB
120
90
IF
CMD$
=
''DVMAC''
OR
CMD$=''DVMDC''
THEN
GOSUB
120
100
IF
CMD$
=
"UOK"
THEN
GOSUB
120
110
GOTO
30
120
INPUT
#1,RET$
130
PRINT
RET$
140
IF
RET$=''**''
GOTO
120
150
RETURN
16(.!
END
4-11-2
RS-232
COMMAND
PROCEDURE
AND
DATA
STRUCTURE
All FM/AM-1200S/A
functional
commands and
data
information
are
trans-
ferred
over
the
RS-232
as
uppercase
ASCII
alphanumeric
character
strings
designed
to
replace
the
front
panel
controls.
All
input
commands
sent
to
the
FM/AM-1200S/A
are
placed
in
an
internal
queue
that
will
accommodate
up
to
128
bytes
of
data.
Command
strings
may
be
packed
together,
but
the
individual
commands
must
be
separated
by
a
colon":"
delimiter.
The
colon":"
may
or
may
not
cause
the
command
to
be
executed
immediately,
depending
upon
the
type
of
external
controller
being
used.
The
following
ASCII
Characters
will
always
ter-
minate
the
command
or
series
of
commands:
ASCII
Carriage
Return
(OD)
-
CR
ASCII
Line
Feed
(OA)
-
LF
Maximum
command
string
length
including
spaces
and
delimiters
is
128
characters.
If
the
command
string
exceeds
128
characters,
everything
up
to
the
most
recent
delimiter
will
be
accepted
and
the
rest
ignored.
All
spaces
will
be
ignored
except
when
using
the"!"
command.
Returned
data
to
the
external
controller
will
not
be
packed
together
in
a
string.
Instead,
each
set
of
data
returned
will
be
on
an
individual
line
and
sent
out
in
the
order
in
which
its
command
was
sent.
That
is,
the
first
"get"
instruction
sent
in
a
command
string
will
cause
the
returned
data
to
be
on
the
first
1
ine
of
the
output;
the
second
''get''
instruction
will
cause
the
returned
data
to
be
on
the
second
line
of
the
output,
and
so
on.
Data
inputs
that
are
out
of
specific
range
will
generally
default
to
the
minimum
values
or
initial
condition
values.
4-51
02

Table of Contents