background image

SGW1-IA3-MB-NM   –   NMEA talker to Modbus slave Converter –   User’s Manual 

www.exemys.com 

Rev.4 

 

Summary of Contents for SGW1-MB-NM

Page 1: ...SGW1 IA3 MB NM NMEA talker to Modbus slave Converter User s Manual www exemys com Rev 4 1 ...

Page 2: ...nual www exemys com Rev 4 2 Exemys products are constantly evolving to meet the needs of our customers For this reason the specifications and capabilities are subject to change without notice Find updates at www exemys com Copyright Exemys 2007 All rights reserved ...

Page 3: ...____________________________________ 6 2 1 Power Supply connection ______________________________________________ 6 2 2 Serial Ports Connections_______________________________________________ 6 2 3 Led Indicators ______________________________________________________ 6 3 Configuration ______________________________________________________ 7 3 1 Modbus Configuration ________________________________...

Page 4: ... a slave that can be connected to a Modbus master The supported NMEA statements are GGA VTG MWV XDR ROT VBW DPT HDM HDT RMC RMB APB DBT MTW MTA RSA VDO SXN firmware 2 2 XDR format 2 firmware 2 3 Sentence NMEA SXN added on firmware version 2 2 Sentence NMEA XDR format 2 added on firmware version 2 3 Alternative registers for latitude and longitude GGA and RMC added on firmware version 2 4 New alter...

Page 5: ...SCII NMEA 0183 Communication Port 2 RS232 RS485 1 USB type B Configuration USB Console Firmware Upgrade Via RS232 LED Indicators Power NMEA data Modbus data Dimensions 100 mm x 22 5 mm x 112 mm Height x Width x Length Power Supply 10 a 30 Vdc 70 mA 12 Vdc 40 mA 12 Vdc Temperatures Operation 15 a 65 ºC Storage 40 a 75 ºC Warranty 1 Year technical support included ...

Page 6: ...l 6 as can be seen in the following image 2 2 Serial Ports Connections RS232 ports are DTE type That means data is transmitted through the TX terminal and is received on the RX terminal If you want to connect another DTE device you must cross the Tx and Rx terminals 2 3 Led Indicators The SGW1 IA3 MB NM has three LED indicators One of them indicates that the device is energized Power While the oth...

Page 7: ...SB can be downloaded from here www exemys com rmsrmdriver The terminal type program can be downloaded from here www exemys com console Once the driver and the terminal type program have been installed the terminal must be run connect the SGW1 IA3 MB NM to a USB port on the PC and go to the Connection USB menu a window will open with the description of all the Exemys products with USB found Select ...

Page 8: ...arity O Odd parity Example MBPARITY E MBSTOP 1 2 Modbus Port Stop Bits Values 1 or 2 Example MBSTOP 2 MBPROTOCOL R A Modbus type R Modbus RTU A Modbus ASCII Example MBPROTOCOL R MBPKTTOUT 3 50 Modbus RTU packet expiration time Values 3 to 50 byte times Example MBPKTTOUT 4 MBEXCEPTION E D Modbus port exceptions E Enabled D Disabled Example MBEXCEPTION D MBID 1 254 Modbus slave ID for internal regis...

Page 9: ...figuration NMEABAUD 1200 115200 NMEA Port Baud rate Values 1200 2400 4800 9600 14400 19200 28800 38400 57600 or 115200 Example NMEABAUD 115200 NMEABITS 7 8 NMEA Port data bits Values 7 or 8 Example NMEABITS 8 NMEAPARITY N E O NMEA Port Parity N NONE E EVEN O ODD Example NMEAPARITY E NMEASTOP 1 2 NMEA Port stop bits Values 1 or 2 Example NMEASTOP 1 NMEASEND Sends a message from the USB console dire...

Page 10: ... slave Converter User s Manual www exemys com Rev 4 10 3 3 Other commands LIST Lists the current configuration HELP Displays the list of all available commands with syntax and descriptive text FACTRESET Restart the device factory settings ...

Page 11: ...ng of the letter obtained by the device that delivers the NMEA frame Where ddmmyyyy is specified it means that the value indicated for this case is 2 digits representing the day 2 the month and 4 the year Thus the decimal number 05112012 refers to the date November 5 2012 Where hhmmss is specified it means that the value indicated for this case is 2 digits representing the hour 2 minutes and 2 sec...

Page 12: ...e version 2 4 there s an alternative format for latitude and longitude that will directly convert the DDMM MMMMM format from the NMEA sentence to three separate Modbus registers LAT 8525 264788 N 40166 Latitude Degrees 85 40167 Latitude Minutes 25 40168 69 Latitude Minutes fraction x 100 000 000 64278800 ...

Page 13: ...True track made good x10 º 40017 Magnetic track made good x10 º 40018 Ground speed knots x10 knots 40019 Ground speed Kilometers per hour x10 kph 40020 Wind angle x10 º 40021 Reference ASCII 40022 Wind speed x10 kph knots 40023 Wind speed units ASCII 40024 Status ASCII 40025 Sensor type 1 ASCII 40026 Sensor reading 1 x10 40027 Sensor units 1 ASCII 40028 Sensor type 2 ASCII 40029 Sensor reading 2 x...

Page 14: ...egrees magnetic x10 º 40053 54 UTC Time hhmmss 40055 56 UTC Date ddmmyyyy 40057 Hours hours 40058 Minutes minutes 40059 Real degrees x10 º 40060 61 Time UTC hhmmss 40062 Status ASCII 40063 64 Latitude x10 000 000 signed º 40065 66 Longitude x10 000 000 signed º 40067 Speed over ground x10 knots 40068 Track made good x10 º 40069 70 Date UTC ddmmyy 40071 Magnetic variation x10 º 40072 Variation ASCI...

Page 15: ...True ASCII 40096 Heading to steer to destination waypoint x10 40097 Magnetic True ASCII 40098 Mode ASCII 40099 Water depth x10 feet 40100 Water depth x10 Meters 40101 Water depth x10 Fathoms 40102 Water temperature x10 ºC 40103 Air temperature x10 ºC 40104 Starboard rudder sensor x10 º 40105 Status ASCII 40106 Port Rudder Sensor x10 º 40107 Status ASCII 40108 Message type 40109 Repeat indicator 40...

Page 16: ...ind direction max A 2 40153 Wind speed min S 0 x10 40154 Wind speed average S 1 x10 40155 Wind speed max S 2 x10 40156 Rain accumulation V 0 x100 40157 Rain duration Z 0 40158 Rain current intensity R 0 x10 40159 Hail accumulation V 1 x100 40160 Hail duration Z 1 40161 Hail current intensity R 1 x10 40162 Heating temperature C 2 x10 40163 Supply Voltage U 0 x10 40164 Heating voltage U 1 x10 40165 ...

Page 17: ...nt Example of the new alternative format Longitud en NMEA 12202 26957864 W 12202 26957864 W º 122 12202 26957864 W 02 100 26 226 12202 26957864 W 0 40207 Longitude Degrees 122 40208 Longitude Minutes 226 40209 Longitude Sign 0 When a is received from the NMEA device as a value it will be indicated with the value 9999 on the Modbus map The spin ratio ROT has three values of special character which ...

Page 18: ...en the computer and the SGW1 and follow the steps below The terminal console program can be downloaded from here www exemys com console 1 Open an Exemys Console terminal type program in the COM of the corresponding computer and verify in the terminal that the Baudrate is in 9600 1 Turn on the SGW1 and within the first 7 seconds type CFG and press ENTER or press the CFG button that is available Aft...

Page 19: ...www exemys com Rev 4 19 2 Then go to the menu Functions Update Device 3 Locate and select the binary file bin to be transferred and press the Open button to start the firmware update of the device 4 During the file transfer the progress of the process will be displayed ...

Page 20: ...User s Manual www exemys com Rev 4 20 5 At the end the device will be restarted to install the update preserving the current configuration Do not turn off the device until the Installed message is displayed this can cause a permanent damage to the device ...

Page 21: ... com Rev 4 21 B Factory settings Parameter Value Modbus Port A Baud rate 9600 bps Data bits 8 Parity NO Stop bits 1 Modbus type Modbus RTU Modbus slave ID 240 Exceptions Disabled Modbus RTU packet time 3 bytes time Port NMEA B Baud rate 9600 bps Data bits 8 Parity NO Stop bits 1 ...

Page 22: ... the top of the device toward it and locate the adapter slot on its top edge Press firmly onto the rail until it clicks into place a click will be heard when attaching the module to the DIN rail To remove the rail module first remove the input terminals Then insert a screwdriver into the lower lock of the device s DIN connector and force the connector down until the module disengages ...

Reviews: