background image

SGW1-IA3-MMP – Modbus Multiplexer 

 

Exemys 

www.exemys.com 

SGW1-IA3-MMP User’s Manual Rev. 1 

19 

 

A. Firmware Upgrade 

The firmware of the device can be upgraded in case of new versions with improvements, by 
accessing the serial console intended for this purpose. 
 
Connect an RS232 cable such as the one between the device and a device and follow these 
steps 
 

 

 

1)

 

Open an Exemys Console terminal type program in the COM of the corresponding 
device and verify in the terminal that the Baudrate is in 9600. 
 
The terminal type program can be downloaded from here: 

http://www.exemys.com

 

 

 

 

Содержание SGW1-IA3-MMP

Страница 1: ...SGW1 IA3 MMP Modbus Multiplexer Exemys www exemys com SGW1 IA3 MMP User s Manual Rev 1 1 ...

Страница 2: ... MMP User s Manual Rev 1 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 ...

Страница 3: ...meters ________________________________ ________________________________ ________________________________ ___________________________________ ___ ___ ___ 9 9 9 9 3 2 3 2 3 2 3 2 Serial Port Configuration Serial Port Configuration Serial Port Configuration Serial Port Configuration ________________________________ ________________________________ ________________________________ ___________________...

Страница 4: ...ndicator GND Ground Reference 1 2 Product Overview The SGW1 IA3 MMP is a Modbus communications multiplexer converter over serial ports It allows you to connect Modbus RTU ASCII masters to Modbus RTU ASCII slaves Each of the serial devices can operate with Baud Rate Data Bits Parity Bits Stop and different Modbus protocol type RTU or ASCII The SGW1 IA3 MMP orders the interrogations coming from the ...

Страница 5: ...munication Ports Communication Ports Communication Ports 4 RS232 RS485 1 USB type B Configura Configura Configura Configuration tion tion tion Serial USB console Firmwa Firmwa Firmwa Firmware upgrade re upgrade re upgrade re upgrade Via serial RS232 console LED s LED s LED s LED s Indica Indica Indica Indicators tors tors tors Power Modbus data Dimensions Dimensions Dimensions Dimensions 100 mm x ...

Страница 6: ...ower supply to terminal No 17 and the negative of the power supply to terminal No 18 as shown in the following figure 2 2 Connections SGW1 4B0 4B0 4B0 4B0 00 00 00 00 IA3 MMP SGW1 13B0 13B0 13B0 13B0 00 00 00 00 IA3 MMP CF CF CF CF RS232 ports are DTE type That is it is transmitted through the TX terminal and is received by the RX terminal If you want to connect another DTE device you must cross t...

Страница 7: ...com SGW1 IA3 MMP User s Manual Rev 1 7 2 3 LED indicators The SGW1 IA3 MMP has five indicator LEDs One of them indicates that the device is energized Power While the other four are each linked to their serial port and shows the state of communications ...

Страница 8: ...am can be downloaded from here http www exemys com console Once the driver and the terminal type program have been installed the terminal must be run connect the SGW1 IA3 MMP 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 with double click the product to be configured and pressing ENTER will show a ...

Страница 9: ...he maximum waiting time in the response of the slaves connected to the X port NOTE NOTE NOTE NOTE When the SGW1 IA3 MMP sends an order to the slave it expects a response from the slave If the slave does not respond within this time it will go to the next master Value 50 30000 ms Example of use SLVTOUTA 100 PRIORITY 0 100 ms Set the response priority level for all masters connected to the device NO...

Страница 10: ...ample of use PROTOCOLA R PKTTOUTx 3 50 Bytes Time Modbus RTU packet expiration time for port X Value 3 50 Bytes Time Example of use PKTTOUTD 4 EXCEPTIONx E D Enable or Disable the exceptions for port X E Enabled D Disabled Example of use EXCEPTIONA D WPROTECTx E D Enables or disables write protection of Modbus registers for the master connected to the port X E Enabled D Disabled Example of use WPR...

Страница 11: ...ll turn off a time after the end of the shipment This option applies only to port A on the device Command Description RTSLOGIC 0 1 Sets the RTS polarity 0 0 0 0 Inverted 1 1 1 1 Normal Example of use RTSLOGIC 1 RTSDON 0 1000 ms Configures the delay prior to sending data Value 0 1000 ms Example of use RTSDON 50 RTSDOFF 0 1000 ms Sets the delay after sending data Value 0 1000 ms Example of use RTSDO...

Страница 12: ...20 50 C 1 E Queries arriving at port A with Modbus ID between 20 and 50 are sent to port C C applying a 1 offset to the ID received and converting the query to ENRON format SRANGEDEL M F L S O E ALL Deletes a range of slaves to which a designated master has access M M M M A B C D This is the port to which the Master is connected F F F F 1 254 Lower range rank L L L L 1 254 Top rank of the range S ...

Страница 13: ...ces will be connected as follows to the device Port A Master 1 Port B Master 2 Port C First pair of slaves with ID 1 and 2 Port D Second pair of slaves with ID 1 and 2 The configuration will be as follows SRANGEADD A 1 2 C 0 SRANGEADD A 3 4 D 2 SRANGEADD B 1 2 C 0 SRANGEADD B 3 4 D 2 In this way both masters will be able to access the first pair of slaves using ID 1 and 2 and the second pair of sl...

Страница 14: ...D ALL Disables the traces by the USB console for port X Or for all ports by setting ALL Values A B C D or ALL Example of use TRACESOFF ALL TRACESFULL E D Turn on or off the aggregate of information to the TRACES This aggregated information is the content of Modbus frames expressed in hexadecimal NOTE NOTE NOTE NOTE Keep in mind that for this command to work TRACES must be enabled on at least one p...

Страница 15: ... particular port according to its characteristics as in the previous example With the BAUD BITS PARITY STOP and PROTOCOL commands you can configure the particular characteristics of each port The team will perform conversions between one COM and another if necessary It is important to take into account the response time of the slaves This time can be set on each port connected to slaves with the S...

Страница 16: ...ave Example of configuration 1 Master and 3 Slaves with different characteristics in their series ports The first command to use is MSCOM and set Port A in Master mode and the other Ports in Slaves mode In order for the device to know which port to send the Modbus query sent by the master the Modbus ID range of the slave devices of each port must be configured Use the SRANGEADD SRANGEDEL and SRANG...

Страница 17: ... in conjunction with the multiplexer mode The exchange records range from 40001 to 41000 Holding Registers The Modbus ID number of the internal slave is 240 It can be modified through the INTSLVID command Example 1 A master connected to Port A henceforth Master A needs to read 50 registers Holding Register of the master connected to Port B henceforth Master B and in turn Master B needs to read 100...

Страница 18: ... TRACESON command we will see the incoming and outgoing traffic corresponding to the port activated and the ID of the target device Then when adding the TRACESFULL command the content of the traffic expressed in hexadecimal is added to the above information In the following example the TRACESON and TRACESFULL commands of ports A and C are activated Activation of the TRACESON and TRACESFULL command...

Страница 19: ... improvements by accessing the serial console intended for this purpose Connect an RS232 cable such as the one between the device and a device and follow these steps 1 Open an Exemys Console terminal type program in the COM of the corresponding device and verify in the terminal that the Baudrate is in 9600 The terminal type program can be downloaded from here http www exemys com ...

Страница 20: ...or press the CFG button that is available Once this is done the SGW1 IA3 MMP will display the welcome message to the configuration command console SGW1 IA3 MMP Modbus Multiplexer Exemys 2 0 3 Then in the terminal go to the menu Functions Update Device 4 Locate and select the binary file bin to transfer and press the Open button to start updating the firmware of your device ...

Страница 21: ...ng the transfer of the file the progress of the process will be displayed 6 At the end of the device will be restarted to install the update preserving the configuration that was available Do not turn off the device once the message Verifying firmware is displayed this can cause irreparable damage ...

Страница 22: ...ort ort ort ort B B B B Mode SLAVE Message response time 500 ms Baud Rate 9600 Data bits 8 Parity NO Stop bits 1 Modbus type RTU Exceptions Disabled Modbus RTU packet time 3 bytes Time RTS RTS RTS RTS P P P Port ort ort ort A A A A Device Model Device Model Device Model Device Model 13B0 13B0 13B0 13B0 00 00 00 00 RTS Logic 1 RTS On 0 ms RTS Off 0 ms Slave Tables Slave Tables Slave Tables Slave Ta...

Страница 23: ...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 Click Riel DIN Riel DIN VISTA LATERAL DEL EQUIPO 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 Riel DIN Rie...

Отзывы: