1 2 3 4 5 6
7
8 9
Specifications
56
ID
entity
5100
User’s Guide
scan_trigger_timer.py
This routine monitors the I/O pin. When the pen goes high, the timer is started
and the operating mode is set to
polled
. While the timer is running, I/O pin state
changes are ignored. When the timer expires, the operating mode is set to
standby. The minimum value for the timer is 10 milliseconds (ms).
Inputs: <
pin
> – (optional) Output pin number (1–4). Default is output 1.
<
time>
– (optional) Time, in ms for timer to run. Default is 1000 ms.
<
trigger logic level
> –(optional) 0 or 1. Default is trigger on 1.
Examples:
scan_trigger_timer.py
Monitors input 1, timer 1000 ms,
trigger on 1
scan_trigger_timer.py 2
Monitors input 2, timer 1000 ms,
trigger on 1
scan_trigger_timer.py 4 2000
Monitors input 4, timer 2000 ms,
trigger on 1
scan_trigger_timer.py 3 4000 0
Monitors digital input 3, timer 4000 ms,
trigger on 0
signal_read.py
This routine will turn on a digital output if a tag is successfully read. The
optional output pin number can be specified on the command line. If not
specified, a default value of 1000 milliseconds is used. The output pin 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
Summary of Contents for IDENTITY 5100
Page 1: ......
Page 8: ...Contents vi IDentity 5100 User s Guide...
Page 75: ...IDentity 5100 User s Guide...
Page 76: ...IDentity 5100 User s Guide...