User's Manual
Table Of Contents
- Preface
- Table of Contents
- Reader Overview
- Reader Equipment Installation
- Reader Startup Tool (RST) Software Installation
- Reader Operation
- Reader Startup Tool (RST)
- Embedded Reader Configuration Tool (RCT)
- Configuring Digital Inputs and Outputs
- Specifications
- Reader Specifications (General)
- Reader Specifications (FCC)
- Environmental Specifications
- Power Supply Specifications
- RS-232 Specifications
- Ethernet LAN Specifications
- Antenna Cable Specifications
- External Antenna Specifications (FCC)
- Bulkhead Connector/Interface Cable Pinout
- Battery Specifications (Optional)
- Safety Instructions
- Disposal of the IDentity 5200 Reader
- Reader Maintenance
1 2 3 4 5 6
7
8 9
Configuring Digital I/O
IDentity 5200 User Guide
59
signal_read.py
This routine will activate a digital output if a tag is successfully read. The
optional output pin number can be specified on the command line. If not
specified, output pin 1 is selected and a default value of 1000 milliseconds is
used. The output will remain high for n ms, where n is either the default of 1000
ms, or the value supplied on the command line. Minimum value for n is 10 ms.
Inputs: <pin> – (optional) Output pin number (1–4). Default is output 1.
<time> – (optional) Time, in ms, to keep the output high. Default is
1000 ms (1 sec).
<logic level> – (optional) Logic level for digital out On. 0 or 1. Default
is 1 (On).
Examples:
signal_read.py Turns on output 1 for 1000 ms on tag reads
signal_read.py 2 Turns on output 2 for 1000 ms on tag reads
signal_read.py 1 5000 Turns on output 1 for 5000 ms on tag reads
signal_read.py 1 500 Turns on output 1 for 500 ms on tag reads
signal_read.py 1 800 0 Turns on digital output 1,logic level 0, for
800 ms on tag reads