MTD2000 AT Command Guide R12
Confidential
DAVISCOMMS (S) PTE LTD
72 /105
Note:
1. If the output port is used as current source, the current direction is from device to the
load when output is set to HIGH (activate output). In this case, set the output to
LOW will deactivate the output.
2. If the output port is used as current sink, the current direction is from load to the
device when output is set to LOW (activate output). In this case, set the output to
HIGH will deactivate the output.
3. If the user is trying to set an input port, the device will send out an unsolicited
response to indicate invalid output port.
Syntax
Command
Response
AT$OUT=<Index>,<Value>
Note: Write setting.
OK
Parameters
Index
Port 1 to 8, only output ports are effective (port 1 to 4 are input port,
port 5 to 8 are depending on the port configuration)
Value
0 – LOW
1 – HIGH
Example
Command
Response
AT$PC?
Note: Query port configuration.
OK
$PC: 0F
AT$OUT=5,1
Note: Set output port 5 to HIGH.
OK
AT$OUT=8,1
Note: Set output port 8 to HIGH.
OK
AT$PS
Note: Query port status.
$PS: 90