User's Manual

1 2 3 4 5 6
7
8 9
Configuring Digital I/O
60
IDentity 4100 User Guide
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