<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Raveon Technologies &#187; Message Formats</title>
	<atom:link href="http://www.raveon.com/data_radio_info/category/message-formats/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.raveon.com/data_radio_info</link>
	<description>Raveon Technologies Tech Blog</description>
	<lastBuildDate>Thu, 22 Dec 2011 22:03:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Identifying Digital Input States in a $PRAVE message</title>
		<link>http://www.raveon.com/data_radio_info/identifying-digital-input-states-in-a-prave-message-331/</link>
		<comments>http://www.raveon.com/data_radio_info/identifying-digital-input-states-in-a-prave-message-331/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 05:51:16 +0000</pubDate>
		<dc:creator>js</dc:creator>
				<category><![CDATA[Message Formats]]></category>

		<guid isPermaLink="false">http://ravtrack.com/GPStracking/?p=331</guid>
		<description><![CDATA[The $PRAVE message has the status of each input as represented by a single digit hexadecimal number in field 12. For example, the the $PRAVE message below, the last 3 represents the digital inputs from transponder 0001. $PRAVE,0001,0001,3308.9051,-11713.1164,195348,1,10,168,31,13.3,3,-83,0,0,,*66 In this example field 12 has value 3.  The field 12 value is the hexadecimal binary representation [...]]]></description>
			<content:encoded><![CDATA[<p>The $PRAVE message has the status of each input as represented by a single digit  hexadecimal number in field 12. For example, the the $PRAVE message below, the last <span style="color: #ff0000;">3</span> represents the digital inputs from transponder 0001.</p>
<p>$PRAVE,0001,0001,3308.9051,-11713.1164,195348,1,10,168,31,13.3,<span style="color: #ff0000;"><strong>3</strong></span>,-83,0,0,,*66</p>
<p>In this example field 12 has  value 3.  The field 12 value is the hexadecimal  binary representation of the bits.  Refer to the following  table:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="57" valign="top">
<p align="center"><strong><em>IN  2<br />
</em></strong><strong><em>(TXD)</em></strong><strong><em> </em></strong></td>
<td width="63" valign="top">
<p align="center"><strong><em>IN  1<br />
</em></strong><strong><em>(RTS)</em></strong><strong><em> </em></strong></td>
<td width="60" valign="top">
<p align="center"><strong><em>IN  0<br />
</em></strong><strong><em>(DTR)</em></strong><strong><em> </em></strong></td>
<td width="156" valign="top">
<p align="center"><strong><em>Hexadecimal  Representation</em></strong><strong><em> </em></strong></p>
</td>
</tr>
<tr>
<td width="57" valign="top">
<p align="center">0</p>
</td>
<td width="63" valign="top">
<p align="center">0</p>
</td>
<td width="60" valign="top">
<p align="center">0</p>
</td>
<td width="156" valign="top">
<p align="center">0</p>
</td>
</tr>
<tr>
<td width="57" valign="top">
<p align="center">0</p>
</td>
<td width="63" valign="top">
<p align="center">0</p>
</td>
<td width="60" valign="top">
<p align="center">1</p>
</td>
<td width="156" valign="top">
<p align="center">1</p>
</td>
</tr>
<tr>
<td width="57" valign="top">
<p align="center">0</p>
</td>
<td width="63" valign="top">
<p align="center">1</p>
</td>
<td width="60" valign="top">
<p align="center">0</p>
</td>
<td width="156" valign="top">
<p align="center">2</p>
</td>
</tr>
<tr>
<td width="57" valign="top">
<p align="center">0</p>
</td>
<td width="63" valign="top">
<p align="center">1</p>
</td>
<td width="60" valign="top">
<p align="center">1</p>
</td>
<td width="156" valign="top">
<p align="center">3</p>
</td>
</tr>
<tr>
<td width="57" valign="top">
<p align="center">1</p>
</td>
<td width="63" valign="top">
<p align="center">0</p>
</td>
<td width="60" valign="top">
<p align="center">0</p>
</td>
<td width="156" valign="top">
<p align="center">4</p>
</td>
</tr>
<tr>
<td width="57" valign="top">
<p align="center">1</p>
</td>
<td width="63" valign="top">
<p align="center">0</p>
</td>
<td width="60" valign="top">
<p align="center">1</p>
</td>
<td width="156" valign="top">
<p align="center">5</p>
</td>
</tr>
<tr>
<td width="57" valign="top">
<p align="center">1</p>
</td>
<td width="63" valign="top">
<p align="center">1</p>
</td>
<td width="60" valign="top">
<p align="center">0</p>
</td>
<td width="156" valign="top">
<p align="center">6</p>
</td>
</tr>
<tr>
<td width="57" valign="top">
<p align="center">1</p>
</td>
<td width="63" valign="top">
<p align="center">1</p>
</td>
<td width="60" valign="top">
<p align="center">1</p>
</td>
<td width="156" valign="top">
<p align="center">7</p>
</td>
</tr>
</tbody>
</table>
<p>The stock <em>RV-M7 GX</em> has up to 3 digital inputs,  using the input pins of the RS-232 serial port.  An open circuit or ground is a  0, and if they are connected to a positive voltage greater than 3V, they are a  digital 1.<strong> </strong>If all 3 pins are allowed to float (nothing connected –  same as ground) the value should be 0.  If positive voltage is applied to a pin  the pin value will be 1.  The field 12 value will be 1 or 2 or 4, depending on  which pin had the voltage applied.<strong> </strong></p>
<p><strong> </strong></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="106" valign="top">
<p align="center"><strong>RS-232 Pin</strong><strong> </strong></p>
</td>
<td width="134" valign="top">
<p align="center"><strong>Function</strong><strong> </strong></p>
</td>
<td width="228" valign="top">
<p align="center"><strong> </strong></p>
</td>
</tr>
<tr>
<td width="106" valign="top">
<p align="center">4 &#8211; DTR</p>
</td>
<td width="134" valign="top">
<p align="center">Input 0</p>
</td>
<td width="228" valign="top">
<p align="center">
</td>
</tr>
<tr>
<td width="106" valign="top">
<p align="center">7 &#8211; RTS</p>
</td>
<td width="134" valign="top">
<p align="center">Input 1</p>
</td>
<td width="228" valign="top">
<p align="center">
</td>
</tr>
<tr>
<td width="106" valign="top">
<p align="center">3 &#8211; TXD</p>
</td>
<td width="134" valign="top">
<p align="center">Input 2</p>
</td>
<td width="228" valign="top">
<p align="center">
</td>
</tr>
<tr>
<td width="106" valign="top">
<p align="center">5 &#8211; Ground</p>
</td>
<td width="134" valign="top">
<p align="center">GND</p>
</td>
<td width="228" valign="top">
<p align="center">Connect to vehicle chassis or other ground point.</p>
</td>
</tr>
</tbody>
</table>
<p>Note that the weatherproofed  (-WX) model has less RS-232 pins and only 2 digital inputs.  Inputs 1 and 2 are  valid, but input 0 is indeterminate (state can float).</p>
<p>In the RavTrack PC  software it is easy to <span style="text-decoration: underline;">not monitor this missing pin</span>, so any change  of state or change of value of this pin would not matter to the  software.  Simply configure this input as unused.</p>
<p><img class="aligncenter size-full wp-image-334" title="1aa" src="http://www.raveontech.com/data_radio_info/wp-content/uploads/2010/02/1aa.jpg" alt="1aa" width="776" height="327" /></p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="106" valign="top">
<p align="center"><strong>RS-232 Pin</strong></p>
</td>
<td width="134" valign="top">
<p align="center"><strong>Function</strong></p>
</td>
<td width="228" valign="top">
<p align="center"><strong> </strong></p>
</td>
</tr>
<tr>
<td width="106" valign="top">
<p align="center">4 &#8211; RTS</p>
</td>
<td width="134" valign="top">
<p align="center">Input 1</p>
</td>
<td width="228" valign="top">
<p align="center">
</td>
</tr>
<tr>
<td width="106" valign="top">
<p align="center">3 &#8211; TXD</p>
</td>
<td width="134" valign="top">
<p align="center">Input 2</p>
</td>
<td width="228" valign="top">
<p align="center">
</td>
</tr>
<tr>
<td width="106" valign="top">
<p align="center">5 &#8211; Ground</p>
</td>
<td width="134" valign="top">
<p align="center">GND</p>
</td>
<td width="228" valign="top">
<p align="center">Connect to vehicle chassis or other ground point.</p>
</td>
</tr>
</tbody>
</table>
<p>On the M7 series of transponders, if an input is left floating/unconnected, the transponder will read it as a digital 0 (low), and report it this way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.raveon.com/data_radio_info/identifying-digital-input-states-in-a-prave-message-331/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

