C
HAPTER
2
R
EADER
F
UNDAMENTALS
R
EADER
I
NTERFACE
G
UIDE
D
OC
. C
ONTROL
# 8101938-000 R
EV
05
15
E
NTER
A
UTONOMOUS
M
ODE
(Not shown on the state diagram.)
The user puts the reader into Autonomous Mode with the
set AutoMode
command.
set AutoMode=On
puts the Reader into Autonomous Mode.
Set
AutoMode=Off
turns off Autonomous Mode.
W
AITING
S
TATE
Upon entering Autonomous Mode, the reader automatically enters the Waiting
State. While waiting for a Start Working Trigger (see below) the reader holds the
digital output lines at a value set by the
AutoWaitOutput
command. For
example,
set AutoWaitOutput=1
causes digital output line 1 to go high
while the reader is in the Waiting state.
S
TART
W
ORKING
T
RIGGER
The receipt of a trigger pattern on the digital input lines causes the reader to
move from the Waiting state to the Working state. The start condition is set by
the
AutoStartTrigger
command. The
AutoStartTrigger
command
takes two parameters, a rising edge pattern and a falling edge pattern. Each
pattern is a single integer which is a bitmap of the desired input triggers, where
input pin #1 is represented by bit 0, input pin #2 is represented by bit 1, etc.
The table below illustrates the bitmap values that correspond to different pin
combinations. This table holds for both input as well as output pin bitmaps.
Digital
Input
Value
0 1 2 3 4 5 6 7 8 9 10 11
12 13 14
15
Pin #1
-
✔
-
✔
-
✔
-
✔
-
✔
-
✔
-
✔
-
✔
Pin #2
-
-
✔
✔
-
-
✔
✔
-
-
✔
✔
-
-
✔
✔
Pin #3
-
-
-
-
✔
✔
✔
✔
-
-
-
-
✔
✔
✔
✔
Pin #4
-
-
-
-
-
-
-
-
✔
✔
✔
✔
✔
✔
✔
✔
The command,
set AutoStartTrigger=2,0
causes the reader to enter
the working state on receipt of a rising edge on pin 2, while
set
AutoStartTrigger=0,3
causes the reader to enter the working state after
the receipt of a falling edge on pins one or two.
set
AutoStartTrigger=0,0
causes the reader to immediately drop into the
Working state.
The ALR-9800 has an additional property, AutoStartPause, which causes the
reader to pause the specified number of milliseconds after receiving a start
trigger before transitioning to the working state.
W
ORKING
S
TATE
In the working state, the reader holds the digital output lines at the value defined
by the
AutoWorkOutput
command.
set AutoWorkOutput=3
holds the
first two output lines high while the reader is working. The action the reader
performs while in the working state is determined by the
AutoAction
command.
set AutoAction=Acquire
causes the reader to repeatedly
acquire TagList data using the parameters set in the
AcquireMode
and
Содержание ALR-8780
Страница 8: ......