Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
SGW1-MB-NM User’s <strong>Manual</strong><br />
<strong>Exemys</strong><br />
<strong>Exemys</strong> products are in permanent evolution to satisfy the needs customers’ needs. For this<br />
reason, specifications and capabilities are subject to change without notice.<br />
Please find updated information at www.exemys.com<br />
Copyright © <strong>Exemys</strong>. All Rights Reserved.<br />
R 4<br />
www.exemys.com R4 2
SGW1-MB-NM User’s <strong>Manual</strong><br />
<strong>Exemys</strong><br />
Introduction<br />
About this manual<br />
Purpose of this manual<br />
The purpose of this manual is to provide the instructions to quickly and simply install and operate<br />
the SGW1-MB-NM<br />
General Description of the Product<br />
The SGW1-MB-NM is a NMEA to Modbus converter. The device will read incoming NMEA sentences<br />
on one of its serial ports. Then it will parse the sentence and put that information into a Modbus<br />
register. The Modbus registers can be read with any standard Modbus master device.<br />
NMEA supported sentences are: GGA, VTG and MWV<br />
Power supply connection<br />
As you can see on the image the power source of the SGW1-MB-NM doesn’t have a polarity. I you<br />
are using a DC power source you can connect either the + or – terminal to terminal 1 and the<br />
other one on terminal 2.<br />
Serial ports connection<br />
The SGW1-MB-NM is a DTE. That means that it will send data out of its Tx terminal and receive<br />
data on its Rx terminals. If you connect it to another DTE you should cross Tx and Rx terminals.<br />
www.exemys.com R4 3
SGW1-MB-NM User’s <strong>Manual</strong><br />
<strong>Exemys</strong><br />
The SGW1-MB-NM has three serial ports, each of them with a particular function.<br />
COM A<br />
This is the console port. You can use this port to configure the device as described on the<br />
Command Console section. Please follow this diagram to assemble a cable to connect the device<br />
to a computer’s RS232 port.<br />
COM B<br />
You must connect the GPS or other NMEA device to this serial port. On the next diagram you’ll find<br />
a connection example. Please read your NMEA device’s manual to connect it properly.<br />
www.exemys.com R4 4
SGW1-MB-NM User’s <strong>Manual</strong><br />
<strong>Exemys</strong><br />
COM C<br />
This is the Modbus slave port. You must connect your Modbus master device to this port. It’s a<br />
RS485 port.<br />
LED indicators<br />
LED “L1” will blink each time the devices receives a Modbus query.<br />
LED “L2” will blink each time the devices receives a NMEA sentence.<br />
Modbus registers<br />
On the next table you will find how each NMEA sentence is mapped into Modbus registers. If your<br />
NMEA device is not sending one of the listed sentences you will read zeros.<br />
GGA<br />
40001 UTC Time (low register)<br />
40002 UTC Time (high register)<br />
40003 Latitude (low register)<br />
40004 Latitude (high register)<br />
40005 Longitude (low register)<br />
40006 Longitude (high register)<br />
40007 GPS Quality<br />
40008 Number of satellites<br />
40009 Horizontal Dilution<br />
40010 Altitude (low register)<br />
40011 Altitude (high register)<br />
40012 Unit Altitude<br />
40013 Geoidal separation<br />
40014 Units of geoidal separation<br />
40015 Age of differential GPS data<br />
VTG<br />
40016 True track made good<br />
40017 Magnetic track made good<br />
40018 Ground speed, knots<br />
40019 Ground speed, Kilometers per hour<br />
www.exemys.com R4 5
SGW1-MB-NM User’s <strong>Manual</strong><br />
<strong>Exemys</strong><br />
MWV<br />
40020 Wind angle<br />
40021 Reference R=relative and T=true<br />
40022 Wind speed<br />
40023 Wind speed units<br />
40024 Status<br />
From here you will find detailed information for each NMEA sentence and Modbus register.<br />
GGA<br />
UTC 40002-40001<br />
It’s a 32 bits integer. The time is expressed using two digits for hour, two for minutes and two for<br />
seconds.<br />
Ex. The decimal value 102654 means 10:26:54<br />
Latitude 40004-40003<br />
It’s a 32 bits signed integer. The latitude is expressed in degrees and its decimal fraction times<br />
10,000,000.<br />
Ex. The decimal value 465845500 means 46.58455º North<br />
Longitude 40006-40005<br />
It’s a 32 bits signed integer. The longitud is expressed in degrees and its decimal fraction times<br />
10,000,000.<br />
Ex. The decimal value 685400 means 0.06854º East<br />
GPS Quality 40007<br />
It’s a 16 bits integer<br />
Number of satellites 40008<br />
It’s a 16 bits integer<br />
Horizontal dilution 40009<br />
It’s a 16 bits integer (times 10)<br />
Altitude 40011-40010<br />
It’s a 32 bits signed integer. The altitude is expressed in feet or meters and its decimal fraction<br />
times 10.<br />
Ex. The decimal value 2356 means 235.6 feet/meters.<br />
Unit Altitude 40012<br />
It’s a 16 bit ASCII value (8 msb are zero) representing the altitude unit.<br />
Geoidal Separation 40013<br />
www.exemys.com R4 6
SGW1-MB-NM User’s <strong>Manual</strong><br />
<strong>Exemys</strong><br />
It’s a 16 bits integer (times 10)<br />
Units of Geoidal Separation 40014<br />
It’s a 16 bit ASCII value (8 msb are zero) representing the separation unit.<br />
Age of differential GPS data 40015<br />
It’s a 16 bits integer representing a age times 10.<br />
VTG<br />
True Track Made Good 40016<br />
It’s a 16 bits integer (times 10)<br />
Magnetic Track Made Good 40017<br />
It’s a 16 bits integer (times 10)<br />
Ground Speed, knots 40018<br />
It’s a 16 bits signed integer. The speed is expressed in knots and its decimal fraction times 10.<br />
Ground Speed, kilometers per hour 40019<br />
It’s a 16 bits signed integer. The speed is expressed in kph and its decimal fraction times 10.<br />
MWV<br />
Wind Angle 40020<br />
It’s a 16 bits signed integer. The angle is expressed in degrees and its decimal fraction times 10.<br />
Wind Speed 40021<br />
It’s a 16 bits signed integer. The speed is expressed in corresponding unit and its decimal fraction<br />
times 10.<br />
Wind Speed Units 40022<br />
It’s a 16 bit ASCII value (8 msb are zero) representing the speed unit.<br />
Status 40023<br />
It’s a 16 bit ASCII value (8 msb are zero) representing the status.<br />
Command Console<br />
The console will allow you to modify the device’s configuration. You must connect the SGW1 to a<br />
computer’s RS232 serial port and open a terminal program like Hyperterminal.<br />
Important: The serial port must be configured at 9600 bps, 8 data bits, no<br />
parity, 1 stop bit (9600,8,N,1)<br />
www.exemys.com R4 7
SGW1-MB-NM User’s <strong>Manual</strong><br />
<strong>Exemys</strong><br />
After powering the device on you should see this welcome message.<br />
SGW1-MB-NM NMEA to Modbus converter - <strong>Exemys</strong> (1.0):<br />
--------------------------------------------------<br />
><br />
Typing the following commands you will be able to configure the Modbus and NMEA serial ports.<br />
After each command type : and the desired value.<br />
MBBAUD<br />
MBPARITY<br />
MBTYPE<br />
MBID<br />
MBPKTTOUT<br />
NMEABAUD<br />
NMEAPARITY<br />
NMEABITS<br />
NMEASEND<br />
NMEALISTEN<br />
NMEAVERB<br />
FACTRESET<br />
LIST<br />
HELP<br />
Modbus port Baud rate<br />
1200,2400,4800,9600,14400,19200,28800,33600,38400,57600,115200<br />
Modbus port Parity<br />
N for none, E for even, O for odd<br />
Modbus type<br />
R for RTU, A for ASCII<br />
Modbus slave ID<br />
1 to 247<br />
Modbus RTU packet time out (don’t change this value unless you know exactly what<br />
it means)<br />
3 to 50<br />
NMEA port Baud rate<br />
1200,2400,4800,9600,14400,19200,28800,33600,38400,57600,115200<br />
NMEA port Parity<br />
N for none, E for even, O for odd<br />
NMEA port data bits<br />
7,8<br />
Send a direct message to the NMEA device (use it to configure your NMEA device)<br />
Type the desired message alter the colons<br />
Enables NMEA to console pass through (all NMEA sentences received will be<br />
repeated on the console port, use it for initial setup)<br />
Enables NMEA parsing verbose (You will see on the console all the parsed values<br />
each time the devices receives an NMEA sentences)<br />
Sets the device to factory defaults<br />
Lists the configuration<br />
Display all the available console’s commands<br />
www.exemys.com R4 8
SGW1-MB-NM User’s <strong>Manual</strong><br />
<strong>Exemys</strong><br />
Technical Specifications<br />
• Communication protocols:<br />
• Communication ports:<br />
• NMEA sentences:<br />
• Management:<br />
• System firmware:<br />
• Indicators:<br />
• Dimensions / Weight:<br />
• Power supply:<br />
• Environmental:<br />
• Guarantee / Support:<br />
Modbus RTU, Modbus ASCII, NMEA 0183<br />
2 RS232 Industrial plugabble terminal blocks.<br />
1 RS485 Industrial plugabble terminal blocks.<br />
GGA, GLL (GPS), MWV (Anemometers) *<br />
RS232 Serial console.<br />
Downloadable via RS232..<br />
NMEA data<br />
Modbus data<br />
Power<br />
4.49 x 3.94 x 0.89 in. (HxWxL).<br />
(114 x 100 x 22.5 mm).<br />
0.31 Lbs (0.140 Kg).<br />
10 to 30 Volts DC.<br />
200 mA max.<br />
Operating temperature: 23 to 149 ºF (-5 to 65 ºC).<br />
Storage temperature: -40 to 167 ºF (-40 to 75 ºC).<br />
1-year guarantee.<br />
Technical support included.<br />
* If you need other NMEA sentence contact our tech support team.<br />
Ordering information<br />
PART NUMBER<br />
RS232<br />
RS485<br />
SGW1-2100-IA-MB-NM 2<br />
1<br />
www.exemys.com R4 9
SGW1-MB-NM User’s <strong>Manual</strong><br />
<strong>Exemys</strong><br />
www.exemys.com R4 10