User's Manual

1 2 3 4 5 6
7
8 9
Configuring Digital I/Os
INfinity 610 User’s Guide
69
7 Configuring Digital Inputs and Outputs
7.1. Digital Inputs
The digital inputs (DIN1 – DIN4) can be used as general purpose inputs or
to trigger the reader for tag reading. Unused or open digital inputs are
floating inside the reader.
To activate the input, pull it low (0 Vdc) with an external device or
connection to ground that can sink 2.5 mA. No voltage higher than +24 Vdc
or lower than 0 Vdc should ever be connected to the input. See Figure 5 for
an example of a typical motion sensor installed as a tag read trigger device.
7.2. Digital Outputs
The digital outputs (DOUT1 – DOUT4) can be used as general purpose
outputs, to indicate tag reading activity, or to indicate the reader is
transmitting (RF On). Digital outputs can be pulled high.
No voltage higher than +40 Vdc or lower than 0 Vdc should ever be
connected to a digital output. The reader activates the output by pulling it
low (0 Vdc) and can sink current such that power dissipation is 1W.
7.3. Digital I/O Monitoring and Control Scripts
Several digital I/O monitoring and control scripts are provided with the
reader to allow you to monitor the digital I/Os and take specific actions.
These Python application scripts can be used as is or modified to suit your
particular application. For detailed information on loading Python scripts,
refer to Chapter 5 – Embedded Reader Applications of the INfinity 610
Protocol Reference Guide.
7.3.1. scan_trigger.py
This routine monitors the state of the digital input pin specified as the input
parameter. If the state of the pin is low, the operating mode is set to standby. If
the I/O pin state changes to high, the operating mode is set to active.
Inputs: <pin> – (optional) Input pin number (1–4). Default is digital in 1.
<trigger logic level> –(optional) 0 or 1. Default is trigger on 1.
Examples:
scan_trigger.py Monitors digital input pin 1
scan_trigger.py 1 Monitors digital input pin 1
scan_trigger.py 4 Monitors digital input pin 4
scan_trigger.py 3 0 Monitors digital input pin 3, trigger on 0
Digital I/O Module
An optional Digital
I/O Module is
available for the
INfinity 610. Refer
to Appendix A for
more information.