2. Send programming
code "P1" (Program
data
out)
to
the
counter.
3.
Enter
the
programming
string
(43
ASCII
characters)
and
store
in
the
co
ntrollers
memory.
The
bus programming
efforts
thereafter
are
reduced
to
just
recalling
the
stored
string.
A sample program
for
HPSS
is
shown
below.
Ten
pulse
width measurements should be
printed
out.
The
pulse
width measurement
menu
is
to
be st ored
in
memory
location
"P9".
10
REM
STORE
MANUAL
SETTINGS
IN
P9
20
DIM
P9$
[43)
30
OUTPUT
710; "P1"
40
ENTER
710;
P9$
200
REM
RECALL
P9
AND
MEASURE
210
OUTPUT
710;
P9$
220
FOR
N = 1
TO
10
230
ENTER
710;
A$
240
PRINT
A$
250
NEXT
N
This programming method
is
also
simple
to
use.
Only
one programming code must be remembered
(P1)
Normal
programming
"Normal" means
that
the
counter
settings
are
specified
remotely,
not manually
as
in
the
pre-
vious examplel'l:
Mode
Bus
communication
time
P1
..
.
PS
Short
3
ASCII
characters
Bus
learn
Long
(P9
...
Poo)
43
ASCII
characters
Normal
programming
Short
to
normal
of
changes
The
advantage with
"P1
•••
PS"
or
"Bus
learn"
pro-
gramming
is
that
it
requires
a knowledge
of
very
few
programming codes
(j
ust
"LP1
•••
LP8
"
or
"P1
").
Thus
preparation
and programming time
is
reduced
to
a
minimum.
The
advantage with
"nor-
mal" programming
is
that
one
ca
n
make
use
of
the
full
programming
power
and
flexibility
inherent
in
the
counter's
smart
software.
Wit
,h "normal"
programming
service
request
interrupts,
limit
monitoring
alarms, high speed
dump
mode,
leading
zero
suppression
and
much
more
can be executed.
The
normal programming procedure
is:
1.
Set counter
to
default
position
(FREQ
A,
AUTO
trigger,
AC-coupling (A), Mess. time =
0.1s
etc.).
The
code used
is
"D".
2.
Program
the
changes
from
the
default
set-
tings
(e
.g.
5M2
for
2 seconds measuring
time).
A sample program
for
HPBS
is
shown
below.
Ten
PHASE
A
-8
measurements (code
"F'B")
with
10ms
measuring time (code
SM10E-3)
should be
printed
out.
10
OUTPUT
710;"DF8SM10E-3"
20
fO
R N = 1
TO
10
30
ENTER
710;
A$
40
PRINT
A$
50
NEXT
N
60
END
Normal programming should be
made
when
the
soft-
ware must be optimized
for
its
purpose,
e.g
.
in
ATE
systems.
Note:
When
the
counter
has been switched
to
stand
by
in
programmed
mode,
it
returns
when
switched
on
again
into
local
mode
after
the
self
test
sequence,
Setting
time
Comments
Long
Very
simple and
fast
(EAROM
involved) programming. Limited
to
8
measuring
tasks.
Normal
Easy programming.
Number
of
measuring
tasks
is
limited
only
by
the
controller's
memory
Short
to
normal
Flexible
and powerful
programming
TABLE
5.1
The
different
programming methods
are
summarized
in
the
table.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com