SCIENTIFIC TECHNOLOGIES INC.
R
6
4
General Setup Commands
Relay Outputs
Note that the outputs are solid state DC relays,
NPN (current sinking) rated 150 mA at 30 VDC
maximum.
S
OFTWARE
C
OMMANDS
Use the following commands for the relay
outputs then save your settings. No other
commands are required but array modifying
commands (section 11) may be used. If the scanner
does not respond to your commands press ESC
twice and Enter.
Relay Configuration
This commands allow you to configure Relay
1 and Relay 2 for normally open or normally
closed operation. Four commands are used: one to
set relay 1 mode, one to set relay 2, one to query
relay 1, and one to query relay 2.
Syntax:
RELAYOUT1 n
where
n
is the mode setting
for relay 1. Use
NO
for normally open (the default
value), or
NC
for normally closed.
Syntax:
RELAYOUT2 n
where
n
is the mode setting
for relay 2.
Syntax:
RELAYOUT1?
or
RELAYOUT2?
queries the
scanner for the current setting. The scanner
returns the current mode set, either NO or NC.
Example:
RELAYOUT1 NC
sets relay 1 output to normally
closed.
Relay 1 Output: Detection - Hysteresis Mode
This mode allows separate settings for turn on
size and turn off size and is normally used for
detecting vehicles.
Syntax:
RELAY HIST x y
where
x
is the turn on size
and
y
is the turn off size.
Example: RELAY HIST 10 2
Relay 1 turns on when an object is blocks 10 or
more beams. It turns off when the object blocks
5
Relay Outputs
Section 4 – General Setup Commands
The following commands are useful during
setup.
HELP?
shows a short listing of most
commands.
WHAT?
lists the current status of most
parameters.
M
EMORY
C
OMMANDS
Two commands work with the scanner’s
memory:
SAVE
and
RESTORE
.
Command Syntax:
SAVE
Action: Saves the current software parameters
to non-volatile random access memory
(NOVRAM). It also erases any parameters
previously saved.
Command Syntax:
RESTORE
Action: Copies the saved settings into the
scanner’s buffer for use.
Keep a written copy of the setup
parameters you are using!
RELAYOUT1