Rev 3.2 Oct.05
39
!MPCWSETUP
(continued)
Set Connection Watchdog (continued)
•
If the ping is successful, the Connection Watchdog goes into “monitoring
mode”. The modem checks the Rx byte count every 10 minutes (<rxtime>
= 10). If the Rx byte count changes during the 10 minute interval, the
connection is deemed to be valid. If the Rx byte count does not change,
the modem generates traffic by pinging the server. If the Rx byte count
changes as a result of the DNS look-up, the connection is deemed to be
valid. Otherwise the connection is terminated.
•
In this example, the Connection Watchdog does NOT reset the modem
after terminating an invalid connection (<AC Reset Flag> = 0). If the <AC
Reset Flag> were set to 1, the radio component would be reset after the
modem terminated any invalid connection.
!MPDIO=<chan>,<value
>
!MPDIO?
<chan>
Set the value at a specified digital IO channel
The MP 700 Series GPS has four digital input/output channels, allowing digital
sensors and gauges to be connected to the modem. All four channels can be
used to provide input to the modem. Two of the four can be used alternatively to
provide output from the modem.
Sensors and gauges must be connected to the appropriate pins of the DB15 I/O
connector. (See the
Software Installation, Configuration, and Integration Guide
on the MP 700 Series GPS installation CD for more information about
configuring I/O devices.) The channels correspond to the pins as follows:
•
<chan>=1
Digital I/O 1—Pin 3
•
<chan>=2
Digital input 2—Pin 4
•
<chan>=3
Digital I/O 3—Pin 11
•
<chan>=4
Digital input 4—Pin 12
Continued on next page.
!MPDIO (continued)
Set the value at a specified digital IO channel (continued)
The initial configuration of the I/O channels must be done using the command
!MPDIOCFG
. Once configured, you can use
!MPDIO
to set the logic level for
channels 1 and 3, if configured as outputs. (
!MPDIOCFG
could also be used for
this purpose but would require that more parameters be entered.)
!MPDIO?
reports the logic level of all four channels, whether configured as inputs or
outputs.
The allowed
<value>
settings are
0
(logic level low) and
1
(logic level high).
Table 3-9: Command Reference Table (ASCII Alphabetic)
Command
Description
Summary of Contents for MP 700 Series
Page 1: ...MP 700 Series GPS Rugged Wireless Modem AT Command Reference 2130309 Rev 3 2...
Page 2: ......
Page 6: ...MP 700 Series GPS AT Command Reference 4 2130309...
Page 24: ...MP 700 Series GPS AT Command Reference 22 2130309...
Page 116: ...Index Rev 3 2 Oct 05 114...
Page 117: ......
Page 118: ......