8.
PROGRAMMING WITH USE
OF
PRE-PROGRAMMING AND
DIFFERENT EXECUTION MODES
8.1. PRE-PROGRAMMING
Each slave unit has a block-memory
in
which functional commands (that have
to
be
used repetitively) can
be
pre-loaded. This block-memory has 20 memory positions,
each of which can contain up
to
a full slave setting. The commands stored, can be
recalled from the memory positions serially or randomly by using INITIATE
commands (see
8.4.).
8.2. LOADING THE BLOCK-MEMORY
The block-memory is loaded
by
sending the commands to
be
stored, preceded by
"Pn"
indicating the memory position
at
which the data have
to
be
stored.
Examples:
"AID201;P3,CLOSE
O,OPEN
5" functional commands "CLOSE
O,OPEN
5"
are stored
in
block-memory position
3
(P3).
"AID201;PO,CLOSE 0-9;P1,0PEN
10-19
" "CLOSE 0-9" is stored
in
block-memory
position
0
(PO),
"OPEN
10-19
"
in
block-memory position 1
(P1).
8.3. CLEARING THE BLOCK-MEMORY
The block-memory
is
automatically cleared
at
reset or at a mode change of the unit.
It also can be cleared
by
sending "AIDnnn;R2". Individual positions of the block-
memory can be cleared
by
sending 'empty' commands
("Pn"
not followed by
commands).
Examples:
8
"AID218;P10"
"AID218;P10-15"
"AID218;R2"
clears block-memory position
10.
clears block-memory positions
10
up
to
incl.
15.
clears the total block-memory with
general slave command "R2".