Setup Guide

Table Of Contents
"G" – GPIO Settings
"G" – GPIO Settings
<G>[<SUBCMD>[<PARAMS>]]
The G command and sub-commands are used to control the GPIO port. These may be used to set/retrieve
GPIO pin settings or to set the reader up for triggered reading.
Using the GT command, the reader may be configured to read tags in any of the supported inventory
modes for either a fixed time after an edge transition or while a pin is held in a particular state.
Sub-Commands
Sub
Command
Description Legal Values
for SET
G
Reports current state of input and output lines.
-
G0
Write Output Port 0 (no Get) 0..1
G1
Write Output Port 1 (no Get) 0..1
GT
Triggering setup for Autonomous Reading
GT<port><active>[<type><action><time>]
<port> 0/1 trigger on INPUT0/1
<action> 0/1 = disable/enable trigger
if <action>=1, then include:
<type> 0=posEdge, 1=negEdge,
2=posLevel, 3=negLevel
<action> 0=T3, 1=T4, 2=T5, 3=T6, 4=T
<time> if pos/negEdge only; range is 0x01 to
0xFF in .1sec units (.1 to 25.5 sec)
See Description
“G” Command Examples
Get Current I/O States
READY>g
GPIN0=1
GPIN1=1
GPOUT0=0
GPOUT1=0
Turn Output Port 0 On
READY>g01
GPOUT0=1
Get Trigger Settings
READY>gt
GPTRIGINVENTORY=DISABLED
PORT=0
INVENTORYTYPE=6
TRIGTYPE=POSEDGE
TIMER=0
Configure Edge Trigger w/Timer
READY>gt1150
GPTRIGINVENTORY=ENABLED
PORT=1
INVENTORYTYPE=5
TRIGTYPE=POSEDGE
TIMER=0
Turn the Trigger Off
READY>gt00
TRIGGERTYPE=DISABLED
25