background image

EGW1-IA3-MB User’s Manual  

 

Exemys  

 

 

www.exemys.com 

Rev. 10 

 

    

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 

Содержание EGW1-IA3-MB

Страница 1: ...EGW1 IA3 MB User s Manual Exemys www exemys com Rev 10 1 ...

Страница 2: ...Exemys Products are in constant evolution to satisfy our customer needs For that reason the specifications and capabilities are subject to change without prior notice Updated information can be found at www exemys com Copyright Exemys 2007 All Rights Reserved ...

Страница 3: ...RON_____________________________________________________________________________ 13 4 2 4 2 4 2 4 2 Modbus Serial to Modbus TCP Modbus Serial to Modbus TCP Modbus Serial to Modbus TCP Modbus Serial to Modbus TCP_____________________________________________________ 14 4 2 1 Exceptions __________________________________________________________________________ 15 4 3 4 3 4 3 4 3 TCP to Transparent TC...

Страница 4: ..._______________________________________ 33 10 3 10 3 10 3 10 3 Monitoring Monitoring Monitoring Monitoring ___________________________________________________________________ 34 10 4 10 4 10 4 10 4 Modbus for Inputs and Outputs Modbus for Inputs and Outputs Modbus for Inputs and Outputs Modbus for Inputs and Outputs____________________________________________________ 34 A EXEMYS DEVICE LOCATOR ___...

Страница 5: ... Protocol BPS Bits per second HTTP Hypertext Transfer Protocol IP Internet Protocol LAN Local Area Network PC Personal Computer TCP Transmission Control Protocol DHCP Dynamic Host Configuration Protocol GND Ground Reference 1 2 1 2 1 2 1 2 Product Overview Product Overview Product Overview Product Overview EGW1 IA3 MB is a Modbus TCP to Modbus Serial converter and vice versa It allows communicatio...

Страница 6: ...Network Port Network Port Network Port Network Port Ethernet 10 100 Mbps RJ45 Connector Serial Serial Serial Serial Protocol Protocol Protocol Protocol Modbus RTU Modbus ASCII Transparent Serial Serial Serial Serial Port Port Port Port 1 to 4 RS 232 RS 485 RS 422 depending on model Pluggable Terminal Block connection Supported devices Supported devices Supported devices Supported devices Any Seria...

Страница 7: ... to 30 VDC Positive power supply must be connected to terminal N 5 or N 17 depending on the model and negative power supply to terminal No 6 or No 18 depending on the model as shown in the following figure 1 6 1 6 1 6 1 6 Terminal Terminal Terminal Terminal Block Block Block Block Connection Connection Connection Connection According to the model of the EGW1 IA3 MB it will have EGW1 1C0 1C0 1C0 1C...

Страница 8: ...gs Serial Port Wirings 1 7 1 1 7 1 1 7 1 1 7 1 RS RS RS RS 232 ports wiring 232 ports wiring 232 ports wiring 232 ports wiring To connect the device RS232 serial port to PC serial port or any other serial device it must be connected as can be shown in the following figure You should consider EGW1 IA3 MB is a DTE device which means it must cross wire with those of the PC ...

Страница 9: ... and outgoing TCP connections Green Green Green Green Yellow Yellow Yellow Yellow Description Description Description Description Continuously on Looking for a DHCP server second on and second off Waiting for configuration ping and or waiting serial console 90 of a second off and the remaining time on Device has an IP address and a connection bearer link This is the normal operating state 10 of a ...

Страница 10: ...will search for a DHCP server to obtain an IP address automatically We will search for it using the Exemys Device Locator software which allows us searching identifying and configuring the basic network parameters The rest of the configuration is done from the configuration web page of the device In case you do not have a DHCP server the Exemys Device Locator will find the device with IP address 0...

Страница 11: ...e Once the EGW1 IA3 MB has a valid IP address you can access the web page to configure the other parameters If your web browser is configured to search for a proxy server disable this option Type the EGW1 IA3 MB IP address in the address field of your browser or from the Exemys Device Locator press the Configure button If you configured a password the computer will ask for it when entering the web...

Страница 12: ...e device role is translating incoming queries over the Ethernet interface in Modbus TCP mode and sends them as outgoing queries to the Serial interface in Modbus Serial mode To use this mode you must set the Modbus type to use RTU or ASCII the Modbus ID range of the devices to be connected in that port baud parity etc in the selected Serial Port This configuration is done on the web page in Config...

Страница 13: ...ON ENRON From the firmware version 2 1 the EGW1 IA3 MB is added the feature conversion Modbus TCP to Modbus ENRON This feature allows you to connect a Modbus Master for example a SCADA to a Modbus ENRON slave without needing to use the ENRON driver To use this mode it must set the selected serial port in Modbus TCP to Modbus Serial Mode and enable Slave Modbus ENRON option ...

Страница 14: ...ng incoming queries through Serial interface in Modbus Serial mode and sends them as outgoing queries to the Ethernet interface in Modbus TCP mode To use this mode you must set the Modbus type to use RTU or ASCII baud parity etc in the selected Serial Port Besides the range of IDs to be accessed and the IP address of the device to send the incoming queries must be to set in the MODBUS TCP table Th...

Страница 15: ...odbus SERIAL to TCP mode independently 4 2 1 4 2 1 4 2 1 4 2 1 Excep Excep Excep Exceptions tions tions tions You can enable or disable the Exceptions parameter which enables the EGW1 IA3 MB to respond or not to exceptions in case of communication errors If the option is disabled the EGW1 IA3 MB will remain silent before the errors otherwise it will return an exception code 0x0A 0x0A 0x0A 0x0A Roa...

Страница 16: ... to to Transparent Transparent Transparent Transparent Seri Seri Seri Serial Converter al Converter al Converter al Converter In this operation mode EGW1 IA3 MB behaves like a serial server in TCP Server Mode In this mode the EGW1 IA3 MB will be listening and waiting for a client to establish a TCP connection Once this connection is established all data received on the Ethernet interface will be t...

Страница 17: ...to a Parameter common to all Modes ll Modes ll Modes ll Modes The following parameters can be configured in the device serial port Parameter Parameter Parameter Parameter Options Options Options Options COM Type RS 232 RS 485 or RS 232 RS 485 RS 422 Baud Rate 300 to 115200 bps Data Bits ASCII 7 8 RTU 8 Parity No Even Odd Stop Bits 1 2 ...

Страница 18: ...s will not apply to the built in digital I Os The commands that are blocked are the following 0x05 0x05 0x05 0x05 Force Single Coil 0x06 0x06 0x06 0x06 Preset Single Register 0x0F 0x0F 0x0F 0x0F Force Multiple Coils 0x10 0x10 0x10 0x10 Preset Multiple Regs 0x15 0x15 0x15 0x15 Write General Reference 0x16 0x16 0x16 0x16 Mask Write 4X Register 0x1 0x1 0x1 0x17 7 7 7 Read Write 4X Registers To enable...

Страница 19: ... modems erial radio modems This feature is available since firmware 2 7 2 7 2 7 2 7 This feature allows the EGW1 MB 1C0 10C IA3 IS and EGW1 MB 1C0 00 IA3 IS to control the RTS terminal to control serial radio modems To enable it go to Port A web page and configure the RTS terminal logic the time to wait to send the data after turning the terminal ON and the time to hold the terminal ON after sendi...

Страница 20: ...gured in Modbus TCP to Modbus Serial mode and the range of devices IDs with which we will communicate serially In this way we establish the Modbus TCP SERIAL communication A port for example we will use Port B configured in Modbus Serial to Modbus TCP mode but at this time we will not set anything in the Modbus TCP table as its use in 3 3 2 In this way we establish the Modbus SERIAL SERIAL communi...

Страница 21: ...EGW1 IA3 MB User s Manual Exemys www exemys com Rev 10 21 ...

Страница 22: ...l This means that each device port can be used in the way that the user needs To exemplify the above we will demonstrate a typical use example with the following configuration A port for example we will use Port A configured in Modbus SERIAL to TCP mode in the Modbus TCP Table is added randomly the range of IDs from 1 to 99 with its respective destination IP for Port A A port for example we will u...

Страница 23: ...ector on your computer This software will create a virtual COM port on your computer to use an existing software as if you were connected to the device using a physical COM port The redirector software currently recommended by Exemys for this application is the Serial IP of Tactical Software To download a 30 day trial or purchase a license contact sales exemys com For this mode you must set the EG...

Страница 24: ...001 to 41000 Holding Registers Input Output ID number and Factory Default Memory is 240 It can be modified through the Advanced section Example A master connected to Port A henceforth Master A needs to read50 registers Holding Register from a master connected by Modbus TCP henceforth TCP Master In turn the TCP master needs to read 100 registers Holding Register from Master A To do this we must con...

Страница 25: ... Status Status Status If the input interface to be monitored is TCP device will show the TCP communication state established with it The possible states are as follows Waiting Waiting Waiting Waiting Waiting for the client connection Connected Connected Connected Connected A client established the connection with the device Client IP address that made the connection is reported Serial or TC Serial...

Страница 26: ...Connected Connected Connection established with the server Closed Closed Closed Closed The connection to the server was closed This can happen when the server closes the connection when the client closes it for inactivity or the connection is down because the data does not reach the destination It can also happen when a connection is rejected by the server because the server is not waiting for a c...

Страница 27: ...us RTU Modbus RTU Modbus RTU Modbus RTU Silent interval Silent interval Silent interval Silent interval Modbus RTU packets are separated from each other by a time interval This parameter allows changing the maximum time counting after the last byte of the packet during which the EGW1 IA3 MB will assume that packet has not yet been terminated After this maximum time the EGW1 IA3 MB will assume that...

Страница 28: ...Parity Error in serial port CRC LRC Error in serial port Frame Error in serial port No response within the maximum message wait time Message response time Message response time Message response time Message response time Buffer Buffer Buffer Buffer Enables the EGW1 IA3 MB to save the received messages while waiting for the response from one already sent after the pending message process is finishe...

Страница 29: ...necessary the EGW1 IA3 MB can be restarted In this way all your connections will be closed and all your tasks will begin again as if it had just device energized 8 3 8 3 8 3 8 3 Factory Reset Factory Reset Factory Reset Factory Reset User can return the device to its original factory settings This option can be executed from the web page or from the serial command console see Appendix C Appendix C...

Страница 30: ...EGW1 IA3 MB User s Manual Exemys www exemys com Rev 10 30 ...

Страница 31: ... enable or disable the sending of traps and configure up to 2 IP Manager addresses addresses to which the SNMP traps will be sent Here you can also configure the read and read write communities You should consider that both communities cannot have the same name 9 2 9 2 9 2 9 2 MIB MIB MIB MIB This file describes the set of objects or parameters of the EGW1 IA3 MB accessible by SNMP You can downloa...

Страница 32: ...ill be configured as Outputs 10 2 10 2 10 2 10 2 Features Features Features Features consumption and connection consumption and connection consumption and connection consumption and connection The following are maximum and minimum admissible values in the use of Inputs Outputs together with examples of typical connections 10 2 1 10 2 1 10 2 1 10 2 1 Digital Inputs Digital Inputs Digital Inputs Dig...

Страница 33: ...e power supply it can use the same device power supply The output type is NPN Sourcing Par Par Par Para a a amet met met mete e e er r r r M M M Ma a a axim xim xim ximum um um um Units Units Units Units Voltage Input 50 Vdc Current 200 mA When using the digital output to operate the relay coil it is necessary to add a protection diode to avoid damage in the device output This must be connected in...

Страница 34: ...Modbus for Inputs and Outputs Inputs and Outputs Inputs and Outputs Inputs and Outputs EGW1 IA3 MB Inputs and outputs can be controlled by any master connected to the device TCP or Serial ID to read control is the Inputs Outputs Modbus ID Inputs Outputs Modbus ID Inputs Outputs Modbus ID Inputs Outputs Modbus IDthat is configured on the Advanced tab EGW1 IA3 MB will act on its inputs outputs with ...

Страница 35: ...irst time it will search for any Exemys device within the network Device Device Device Device Device model name Host Host Host Host Host name assigned to the device MAC MAC MAC MAC Device hardware MAC address Version Version Version Version Current Firmware version DHCP DHCP DHCP DHCP If YES then network parameters have been obtained from a DHCP server IP Address Netmask and Gateway IP Address Net...

Страница 36: ...ick on enable DHCP check box for device to search a DHCP server Click on OK OK OK OK button for Exemys Device Locator to send this information to the device If password is not correct it will display Failed to change settings Failed to change settings Failed to change settings Failed to change settings If password is correct the device will be restarted for configuration changes to take effect Aft...

Страница 37: ...ets Input Sockets Input Sockets Input Sockets Queries Queries Queries Queries 40035 36 Received Unsigned Long TCP1 40037 38 To convert 40039 40 Inputs outputs 40041 42 Without destiny 40043 44 Invalid TCPn 40185 86 Received TCP16 40187 88 To convert 40189 90 Inputs outputs 40191 92 Without destiny 40193 94 Invalids Output Socket Output Socket Output Socket Output Sockets s s s Queries Queries Quer...

Страница 38: ...nt IP address that made the connection is reported Note 2 Connection status has numerical values which are translated into 0 Closed Closed Closed Closed The connection to the server was closed This can happen when the server closes the connection when the client closes it for inactivity or the connection is down because the data does not reach the destination It can also happen when a connection i...

Страница 39: ...led Exemys Console Download the Exemys Console http www exemys com console Once the serial terminal program is installed connect the EGW1 IA3 MB to a RS232 port on the PC and execute the Exemys Console 1 Click on Connection Serial Port it will open a window with name of all COM Serial port Select with double click the port where device is connected Verify Baud rate in the serial por is 9600 2 Turn...

Страница 40: ...configuration password Passwordmust have a maximum of 10 characters or empty to delete it LIST Request the current device configuration HELP Displays the list of all available commands with syntax and descriptive text FACTRESET Reset to the factory settings This command must be entered 2 times for this to begin working END It saves the changes made and it ends the command console 4 To finish and s...

Страница 41: ...er an ARP table with the following command arp arp arp arp s 192 s 192 s 192 s 192 168 0 213 168 0 213 168 0 213 168 0 213 00 00 00 00 90 90 90 90 C2 C2 C2 C2 XX XX XX XX XX XX XX XX XX XX XX XX Where 192 168 0 213 192 168 0 213 192 168 0 213 192 168 0 213 is the Device IP address to set and 00 00 00 00 90 90 90 90 C2 C2 C2 C2 XX XX XX XX XX XX XX XX XX XX XX XX is the EGW1 IA3 MB MAC address you ...

Страница 42: ...p ping 192 168 0 213 ing 192 168 0 213 ing 192 168 0 213 ing 192 168 0 213 t t t t 4 Turn on the EGW1 IA3 MB and wait for a few seconds until the PINGs start responding 5 Once the IP address has been set enter the configuration webpage to set the other parameters ...

Страница 43: ...23 1 23 1 23 Floating Example 1 Toread the floating register 7010 from Enron Slave ID 1 Modbus TCP Master must read the Holding Register 7020 7021 The read value in the example is 1 23 Example 2 To write a floating value in the register 7010 to Enron Slave ID 1 Modbus TCP Master must write the Holding Register 7020 7021 The floating value in the example is 1 23 7020 7000 2 7000 7010 1B 1B 1B 1B62 ...

Страница 44: ...61 121 181 ID End 1 Port 254 4 Port 60 120 180 254 Port Type RS 232 RS 485 Baud Rate 9600 Data Bits 8 Parity NO Stop Bits 1 Write Protection Disabled RTS times 0 Modbus TCP Modbus TCP Modbus TCP Modbus TCP 1 16 Mode TCP to SERIAL Advanced Advanced Advanced Advanced Input output ID and internal Memory 240 Statistics to Internal Memory Disable Modbus RTU packet time 3 Response message time 500 Inact...

Страница 45: ...G DIN RAIL MOUNTING Device can be mounted on a DIN rail To assembly the module to the rail make the upper side of the device fit the DIN rail and then push gently until you hear a Click As shown in the figure To disassemble the device of the rail DIN pull down the metallic clip and then remove it as shown in the figure ...

Отзывы: