Interactive Reader Language
9-11
9
W2 :Leave door open for 2 seconds.
FXXXX0000 :Lock door.
G.START :Return to beginning.
:**********************************************************************
:This subroutine compares the scanned badge with the valid badge *
:numbers. *
:**********************************************************************
:
.CHECK
G$0="B00280".GOOD
G$0="B00314".GOOD
G$0="B00313".GOOD
B101010 :If the badge is invalid, respond with beep and
P"NOT A VALID BADGE":message.
P"ENTRY DENIED"
W2 :Wait 2 seconds.
G.START :Return to beginning.
E
Sample Program 2
This program performs the same functions as Sample 1, with the following
exceptions:
•
The 9560 is connected to a host computer that stores the “valid” badge
numbers.
•
The sense inputs are monitored. If the alarm input is high, access is denied.
•
If you hold the door open, the 9560 beeps and prompts you to close it.
You can use this programs as is, line by line, with or without the comments.
Program Listing #2: Controlling Access to a Restricted Area with a Host and Sense Inputs
.START :Label for start of loop.
D$0="" :Initialize register for badge number.
P"ENTER BADGE" :Prompt user to scan badge.
P"" :Move previous line to top of display.
A;3000 :Accept input; wait up to 30 seconds.
G$0=".HOUSKEP" :If no input, do housekeeping.
:**********************************************************************
:This subroutine prepares the input and sends it to the host. *
:**********************************************************************
:
.BADGE
I$0"--" :Add end of badge marker.
TA :Append time to badge number.
P"WAITING FOR HOST" :Give feedback to user.
XMP,$0;1000 :Transmit badge number to host.
Summary of Contents for Transaction Manager 9560
Page 1: ...nugget c o d e 3 9 helconital 9560TransactionManager P N 059724 005 User s Manual...
Page 4: ......
Page 14: ......
Page 22: ...nugget c o d e 3 9 helconital...
Page 28: ......
Page 30: ...nugget c o d e 3 9 helconital...
Page 48: ...nugget c o d e 3 9 helconital...
Page 62: ......
Page 64: ...nugget c o d e 3 9 helconital...
Page 76: ...nugget c o d e 3 9 helconital...
Page 108: ...nugget c o d e 3 9 helconital...
Page 132: ......
Page 134: ......
Page 191: ...Configuration Commands UPC EAN 7 59 7 6 Scan this label Exit Configuration Save Settings...
Page 194: ......
Page 196: ...nugget c o d e 3 9 helconital...
Page 226: ......
Page 228: ...nugget c o d e 3 9 helconital...
Page 246: ......
Page 248: ...nugget c o d e 3 9 helconital...
Page 254: ......
Page 256: ...nugget c o d e 3 9 helconital...
Page 262: ......
Page 264: ......
Page 272: ......
Page 278: ......
Page 280: ......
Page 298: ......
Page 308: ......