![3M 1000 Скачать руководство пользователя страница 91](http://html1.mh-extra.com/html/3m/1000/1000_user-manual_443859091.webp)
1 2 3 4 5 6 7
8
9
Configuring Digital I/Os
3M Compact RFID Reader 1000 User’s Guide
79
8.4.2.
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
active
. 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
8.4.3.
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, output pin 1 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
Содержание 1000
Страница 1: ...3M Compact RFID Reader 1000 User s Guide ...
Страница 2: ...ii 3M Compact RFID Reader 1000 User s Guide ...
Страница 12: ...Contents xii 3M Compact RFID Reader 1000 User s Guide This page intentionally left blank ...
Страница 86: ...1 2 3 4 5 6 7 8 9 Reader Configuration Tool 74 3M Compact RFID Reader 1000 User s Guide ...
Страница 111: ...Appendix B USB Port Setup 3M Compact RFID Reader 1000 User s Guide 99 8 Click the Change Settings button ...
Страница 120: ...3M Compact RFID Reader 1000 User s Guide This page intentionally left blank ...
Страница 121: ...3M Compact RFID Reader 1000 User s Guide ...