2500_Users_Manual-.pdf - 第314页
Translation Formats General Notes Some information about data translation is listed below: Compatibility When translating data, you may use any remote source that produces formats compatible with the descriptions listed …

Translation
Formats
Instrument
Control
Codes
The
instrument
control
code
is
a
1
-digit
number
that
signals
or
controls
data
transfers.
Specifically,
the
instrument
control
code
can
be
used
to
implement
a
form
of
remote
control
that
provides
peripherals
with
flow
control
beyond
that
provided
by
software
handshaking.
When
using
computer
remote
control,
the
instrument
control
code
is
sent
immediately
preceding
the
2-digit
format
code.
The
three
values
of
the
instrument
control
code
and
associated
functions
are
described
below.
O-Handshake
Off
Input
Function:
Send
X-OFF
to
stop
the
incoming
transmission.
Send
X-ON
to
resume
transmission.
Output
Function:
Data
transmission
will
be
halted
upon
receipt
of
an
X-OFF
character;
transmission
will
resume
upon
receipt
of
an
X-ON
character.
1-Handshake
On
Input
Function:
Transmit
an
X-ON
character
when
ready
to
receive
data;
transmit
X-OFF
if
the
receiver
buffer
is
full;
transmit
an
X-ON
if
the
receiver
buffer
is
empty;
transmit
an
X-OFF
after
all
the
data
are
received.
Output
Function:
Transmit
a
PUNCH-ON
character
prior
to
data
transmission.
Data
transmission
will
be
halted
upon
receipt
of
an
X-OFF
character
and
will
resume
upon
receipt
of
an
X-ON
character.
A
PUNCH-OFF
character
is
sent
when
the
transmission
is
completed.
2-X-ON/X
OFF
Input
Function:
Send
X-OFF
to
stop
the
incoming
transmission.
Send
X-ON
to
resume
transmission.
Output
Function:
Transmit
data
only
after
receiving
an
X-ON
character.
Data
transmission
will
be
halted
upon
receipt
of
an
X-OFF
character;
transmission
will
resume
upon
receipt
of
an
X-ON
character.
Note:
X-ON
character
is
a
CTRL-Q,
or
11
hex.
X-OFF
character
is
a
CTRL-S,
or
13
hex.
PUNCH-ON
character
is
a
CTRL-R,
or
12
hex.
PUNCH-OFF
character
is
a
CTRL-T,
or
14
hex.
ProMaster
2500
User
Manual
D-3

Translation
Formats
General
Notes
Some
information
about
data
translation
is
listed
below:
Compatibility
When
translating
data,
you
may
use
any
remote
source
that
produces
formats
compatible
with
the
descriptions
listed
in
this
section.
Formats
with
Limited
Address
Some
formats
are
not
defined
for
use
with
address
fields
greater
than
Fields
64K.
Thus,
if
you
transfer
a
block
greater
than
64K,
the
address
fields
that
would
be
greater
than
64K
may
wrap
around
and
overwrite
data
transferred
in
previous
data
records.
Formats
70
through
86,
and
90
may
exhibit
this
characteristic.
Hardware
Handshaking
Hardware
handshaking
may
be
used
if
compatible
with
the
host
interface
by
connecting
the
appropriate
lines
at
the
serial
port
interface.
Hardware
handshake
(CTS/DTR)
is
enabled
as
the
default.
However,
if
those
signals
aren't
connected,
the
programming
electronics
sense
this
and
communicate
using
software
handshake
(XON/XOFF).
The
programmer
always
uses
software
handshake
regardless
of
whether
hardware
handshake
is
enabled.
Leader/Trailer
During
output
of
all
formats
except
89
(HP
64000),
a
50-character
leader
precedes
the
formatted
data
and
a
50-character
trailer
follows.
This
leader/trailer
consists
of
null
characters.
If
the
null
count
parameter
is
set
to
FF
hex,
then
the
leader/trailer
is
skipped.
To
set
the
null
count,
go
to
the
More
Commands/Configure/Edit/Communication
Parameters
screen
and
set
the
Number
of
Nulls
parameter.
If
in
CRC,
use
the
CRC
U
command
to
set
the
null
count.
Note:
Formats
10,
11,
and
89
do
not
function
properly
unless
you
select
NO
parity
and
8-bit
data.
D-4
ProMaster
2500
User
Manual

BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF BPPPPPPPPF
2
FORMAT 01 (OR 05)
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF BHHHHHHHHF
2
FORMAT 02 (OR 06)
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
B11111111F B11111111F B11111111F B11111111F
2
1
3
1
3
1
3
FORMAT 03 (OR 07)
LEGEND
Start Code - nonprintable STX - CTRL B is the optional Start Code
Characters such as spaces, carriage returns and line feeds may appear between bytes
End Code - nonprintable ETX - CTRL C
1
2
3
0074-2
Translation
Formats
ASCII
Binary
Format,
Codes
01, 02,
and
03
(or
05,
06,
and
07)
In
these
formats,
bytes
are
recorded
in
ASCII
codes
with
binary
digits
represented
by
Ns
and
Ps,
Ls
and
Hs,
or
Is
and
0s,
respectively.
See
Figure
D-l.
The
ASCII
Binary
formats
do
not
have
addresses.
Figure
D-l
shows
sample
data
bytes
coded
in
each
of
the
three
ASCII
Binary
formats.
Incoming
bytes
are
stored
in
RAM
sequentially
starting
at
the
first
RAM
address.
Bytes
are
sandwiched
between
B
and
F
characters
and
are
separated
by
spaces.
Figure
D-l
An
Example
of
ASCII
Binary
Format
o
Data
can
also
be
expressed
in
4-bit
words.
The
programmer
generates
the
4-bit
format
on
upload
if
the
data
word
width
is
4
bits.
Any
other
characters,
such
as
carriage
returns
or
line
feeds,
may
be
inserted
between
an
F
and
the
next
B.
The
start
code
is
a
nonprintable
STX,
which
is
a
CTRL-B
(the
same
as
a
hex
02).
The
end
code
is
a
nonprintable
ETX,
which
is
a
CTRL-C
(the
same
as
a
hex
03).
ProMaster
2500
User
Manual
D-5