Kenwood MS-1660 Instruction Manual page 22

Digital memory scope
Table of Contents

Advertisement

2. Device commands
R 1 :
Sends 2 K bytes of data (binary) from memory A
to the controller
representation.
R 2 :
Sends 2 K bytes of data (binary) from memory B
to the controller
representation.
W 1 :
Transfers 2 K bytes of data (bindary) from the
controller to memory A in 2-digit hexadecimal
A S C I I representation.
W 2 :
Transfers 2 K bytes of data (binary) from the
controller to memory B in 2-digit hexadecimal
A S C I I representation.
N O T E :
The commands must be given in uppercase characters.
Lowercase characters are assumed to be different charac-
ters.
3. Delimiters
1
During talk
Sends C R L F + E O I .
2 During listen
Receives C R L F or C R L F + E O I
4 . Data format
All data is coded in A S C I I representation, using two
bytes of A S C I I notation to express one byte of binary
data, except for status bytes. This requires a 4K-byte
area for the controller to fetch the A S C I I code data as
they are. T h e controller,must therefore provide a 4 K -
byte area. (An example of such a controller is the HP-
9 8 2 6 ) .
[ E X A M P L E ]
Send/receive data contents: 0 0 0 1 0 2
Transfer data contents: 3 0 3 0 3 0 3 1 3 0 3 2
5.
S R Q status byte (hexadecimal notation)
1 4 0 :
Command line overflow
The message " L I N E O V E R " is sent.
2 4 1 :
Non-existing command sent
T h e message " N O C O M M A N D " is sent.
3 4 4 :
Number sent not in hexadecimal
The message " N U M B E R E R R O R " is sent.
4 4 8 :
Transfer data to controller upon receipt of R1
or R 2 .
22
in 2-digit hexadecimal A S C I I
in 2-digit hexadecimal A S C I I
4 6 4 6
6. Remote operation
T o set the MS-1660 into remote operation, follow these
steps:
1 Check to be sure that the W R I T E L E D s are off and the
R E A D L E D is on.
2 Set M O D E @
to a position other than X - Y .
3 Set S A M P L I N G C L O C K B @ ) to G P - I B .
N O T E :
The local mode is restored simply by turning S A M P L I N G
C L O C K B @
off the G P - I B position, unless the MS-1660
is in local lockout state.
7. Address switch
A D D R E S S switch (52) (on rear panel) has eight bit posi-
tions but only uses the low-order five bit positions for
address setting. T h e high-order three bits must always
be held on the lower side. Each bit position is " 1 " when
set to the upper side.
8. Programming
A S C I I characters are used for all commands and data.
For example, the procedure for sending the contents of
memory A to the controller is as follows:
1
In the controller, a 2K-byte area is reserved. ( A 1-
byte data requires 2 bytes because the A S C I I nota-
tion is used.)
2
I F C is sent to the MS-1660.
3
D C L is sent to the controller.
4 M L A is sent to the MS-1660.
5 The " R 1 " command is sent to the controller.
6 The controller checks receipt of S R Q and confirms
that the S R Q has a status byte of 4 8 (hex).
sending M T A to the MS-1660, the controller is
then designated as the listener to accept the data
F F
in the area reserved in step 1 .
When the controller sends data to the MS-1660. steps 1
through
4 area the same as above. If the data is to be
written into memory A , however, the following steps are
taken:
5 The " W l " command is sent from the controller to
the MS-1660.
6 2 K bytes of data are transferred from the controller
using the A S C I I notation.
When writing data into memory B , steps 5 and
the same as above, except for the commands: " R 2 "
instead of " R 1 " , and " W 2 " instead of " W 1 " .
Note that all data are in A S C I I notation.
After
6 are

Advertisement

Table of Contents
loading

Table of Contents