Digital Io Command; Port Configuration - At$Pc - Daviscomms MTD2000 Command Manual

Mobile tracking device
Table of Contents

Advertisement

18

Digital IO Command

18.1 Port Configuration – AT$PC
This command will set the four programmable digital IO ports to either input or output
port. There are total 8 IO ports in which port 1 to 4 are input port and port 5 to 8 are
programmable IO port which can be configured as either input or output port.
Note:
1. Port 3 cannot be used if driver ID option is hardware configured in factory.
2. Port 4 is typically used to connect to the ignition switch as it comes with a key on
reset feature, which allows the hardware reset button to take effect only if ignition is
switched on.
Syntax
Command
AT$PC=<Configuration>
Note: Write setting.
AT$PC?
Note: Query setting.
Parameters
Configuration
Bit presentation for ports:
Bit #
7
Port #
8
Example
Confidential
Port configuration in hexadecimal (00 to FF) with LSB and
MSB as port 1 and port 8 respectively, only port 5 to 8 are
effective.
0 – Output port
1 – Input port
Default port configuration is as follows: port 1 to 8 are input
port.
6
5
4
7
6
5
DAVISCOMMS (S) PTE LTD
MTD2000 AT Command Guide R12
Response
OK
OK
$PC: <Configuration>
3
2
1
4
3
2
0
1
68 /105

Advertisement

Table of Contents
loading

Related Products for Daviscomms MTD2000

Table of Contents