Sierra Wireless RAVEN 1X 20070914 Manual Do Utilizador

Página de 203
Configuration Commands
Rev 3.0B Feb.08
 
158
Figure 1-20:  AceManager : I/O
*ANALOGINn?
Query individual analog inputs. The analog inputs report the voltage 
in volts.
n=1‐4 Input number 
*DIGITALINn?
Query individual digital inputs. The digital inputs report 
either a 0 (open) or 1 (closed).
n=1‐4 Input number
*IOSTATE=n,s
Query the full set of digital inputs, analog inputs, and relay 
outputs, or set the relay outputs.
n=1‐4 Input number 
s=OPEN or CLOSED
When you query the inputs (AT*IOSTATE?), they will all be 
listed with their current state. Example: 
DI1   OPEN
DI2   CLOSED
DI3   OPEN
DI4   OPEN
DO1   OPEN
DO2   CLOSED
AI1   0.35 volts
AI2   12 volts
AI3   6.8 volts
AI4   1.3 volts
*RELAYOUTn=x
Set or query the relay outputs.