Installation manual

Regency
®
Model 4734 Access Control Expander Installation Manual (P/N 150807, Rev. A) Revised 5/98
40
5.19.2 Program Operations
The 21 program operations are listed in the following table, along with the functions they perform.
Of the 21 operations, five require additional data. These five operations are listed below:
9:GET1,
10:GET8,
11:GETC,
12:PUT1, and
13:PUT8.
To select an operation, enter the number shown beside the operation on the display, then press TEST. After
you select one of these operations, the display will prompt you for the information to be entered. If an
address is requested, look it up in Table 15.
Table 14: Programmable I/O Statement Operations
Operation What It Does
Screen Prompt
That Follows
Additional Information
Needed
1:AND
Performs the AND operation on the top
two items on the stack, then leaves the
result (which will determine whether or not
an output will be generated) on top of the
stack.
Next statement in
program.
None
2:OR
Performs the OR operation on the top two
items on the stack, then leaves the result
on top of the stack.
Next statement in
program.
None
3:XOR
Performs the XOR operation on the top
two items on the stack, then leaves the
result on top of the stack.
Next statement in
program.
None
4:ADD
Adds together the top two items on the
stack, then leaves the resulting sum on
top of the stack. Used for numerical data
only.
Next statement in
program.
None
5:SUB
Subtracts the top item on the stack from
the item below it. Used for numerical data
only.
Next statement in
program.
None
6:NOT
Changes the effect of the top item on the
stackthat is, if the top item would have
generated an output, the result of the NOT
operation (which will now be placed on top
of the stack) will not generate an output,
and vice versa.
Next statement in
program.
None
7:NEG
Takes the top item on the stack and con-
verts it to the negative of its value. Used
for numerical data only.
Next statement in
program.
None
8:EQU
Compares the top two items on the stack
and leaves the result on top of the stack.
An output will be generated only if the two
items are the same.
Next statement in
program.
None
9:GET1
Takes a single status bit from the 4734s
memory and places it on top of the stack.
$@0000
The address of the
group of eight status
bits in the 4734s mem-
ory.
BIT #(0-7):0 The single bit to get.