EasyManua.ls Logo

ATrack AU7 - ATSIOCG Command Reference

ATrack AU7
15 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Confidential Document
© ATrack Technology Inc. All Rights Reserved. Page 13 of 15
4
4
.
.
A
A
T
T
$
$
I
I
O
O
C
C
G
G
C
C
o
o
m
m
m
m
a
a
n
n
d
d
R
R
e
e
f
f
e
e
r
r
e
e
n
n
c
c
e
e
Command Description
The 16-pin female power I/O cable has a dark green wire which can be used to identify this unique
configurable I/O port. This port can be configured or queried through the AT$IOCG command. It is
recommended to disconnect the I/O connection prior to changing the I/O characteristic in order to avoid any
damage to the I/O port.
Syntax
Write Command
AT$IOCG=<IO1>
Response
$OK
Read Command
AT$IOCG=?
Response
$IOCG=<IO1>
Parameter Description
Parameters
Description
Data Type
Default
<IO1>
The default state of this port is OUT4. You may change it
to AN3 by typing AT$IOCG=2
1: Digital Output 4 (OUT4)
2: Analog Input 3 (AN3)
U8
1
Example
(1) Change Digital Output 4 to Analog Input 3
AT$IOCG=2
(2) Change Analog Input 3 to Digital Output 4
AT$IOCG=1
(3) Check the current state of the port
AT$IOCG=?
Remark
MEMO SERIAL SMS GPRS

Related product manuals