background image

EGW1-IA3-MB-DF1 – Modbus TCP a DF1 User’s Manual 

 

 Exemys 

www.exemys.com 

Rev. 1 

 

 
 
 
 
 

 

 
 
 

 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 
 
 
 
 

 
 
 
 
 

 

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

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

Страница 2: ...m Rev 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: ... _____________________________________________ 10 3 3 Modbus TCP configuration ____________________________________________ 10 3 4 DF1 configuration __________________________________________________ 11 3 5 Translation Tables page ______________________________________________ 13 4 Operating modes ___________________________________________________ 15 4 1 Modbus TCP a DF1 converter _______________...

Страница 4: ...Resolution 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 General description EGW1 IA3 MB DF1 is a Modbus TCP to DF1 converter It allows communication over Ethernet with devices like alarm panels HMI Human Machine Interf...

Страница 5: ...otocol DF1 Transparent Serial Port 1 RS 232 on Pluggable Terminal Block connection Device Management HTTP Server password protected RS 232 Serial Console Firmware Update From Web Page Led Indicators Status Data Link Measurements 100mm x 22 5mm x 112mm Height x Width x Length Power Supply 10 to 30 VDC Consumption 12VDC 70mA 24VDC40mA Temperatures Operation Temperature 15 Cto 65 C Storage Temperatur...

Страница 6: ...stallation 2 1 Connecting the power supply EGW1 IA3 MB DF1 allows a power supply from 10 to 30 VDC Positive power supply must be connected to terminal N 1 and negative power supply to terminal No 2 as shown in the following figure 2 2 Terminal Block Connection EGW1 100 00 IA3 MB DF1 ...

Страница 7: ...32 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 DF1 is a DTE device which means it must cross wire with those of the PC To connec the device to a PLC s serial port Micrologix 1000 follow this diagram ...

Страница 8: ...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 second off and the remaining time on It has no IP address and cannot find the DHCP server It will search the DHCP server for in 60 seconds Flashing very fast Lack of Ethernet link Cable ...

Страница 9: ... is connected this 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 devic...

Страница 10: ... case you must enter admin as the user and then the password that was set If you want to change it you can do it from the Administrator menu 3 3 Modbus TCP configuration On this web page you can configure 1 Network parameters EGW1 MB DF1 default IP address is 0 0 0 0 Thus unless you set a static IP address it will attempt to get an IP address from a DHCP server The device tries to negotiate an IP ...

Страница 11: ...ween requests and replies may result longer than expected since other command s could be already queued In other words in heavy loaded environments you might notice timeouts in your Modbus TCP masters 4 Embedded Slave The device has a Modbus TCP slave that can receive requests from an external master to get operation statistics See Apendix B for further details You may disable the embedded slave i...

Страница 12: ...1 this field and the one described above do not need to be changed 4 Requests Timeout This timeout defines the round trip time measured between the incoming request is removed from the TCP IP buffer and the appropriate answer is ready to be sent back to the Modbus TCP master When the buffering feature is enabled see TCP buffering in the previous page the queue time is not considered a part of this...

Страница 13: ...Usually File Number 7 is associated with a default N File though other N Files could be configured using the application software provided with your PLC 2 B Files This table stores the Bit File used to keep 1 bit variables Up to two B Files can be added to the table This might seem a scarce resource but actually it is not Have in mind that each 1 bit location is mapped to a different Modbus TCP Co...

Страница 14: ... by the device For example if you insert a record into the first position of the N Table the first Element is mapped to Holding Register 40192 the second Element is mapped to Holding Register 40193 and so on Thus you will have to configure your Modbus TCP master s to make polls within those boundaries in order to obtain valid answers ...

Страница 15: ...f the PLCs above to the EGW1 MB DF1 Henceforth a real situation is proposed It might differ slightly from your actual configuration though we think of an study case as the best way to get in touch with your new gateway There is PLC that runs a program We want to make some data available to one Modbus TCP master by means of the EGW1 MB DF1 These boards have the following I O capacities Table 1 IO C...

Страница 16: ... fixed N section lets you add and remove N Files Each element in an N File is 16 bits wide B section lets you add and remove B Files Each element in a B File is 1 bit wide S section stands for the S File the area where many PLCs store statistics data Going on with the example after inserting the proper data the page will look like it is shown in Figure 7 Figure 2 Translation Tables filled with PLC...

Страница 17: ...tion either Coil Status o a Input Status generically one Status location The multiple coils write command only allows a write to a single coil Modules with less than one word use one complete Modbus Register Requests to Register locations up to address 64 are assumed to be requests for the modules Requests to Status locations up to address 1024 are assumed to be requests for the modules The module...

Страница 18: ...EGW1 IA3 MB DF1 Modbus TCP a DF1 User s Manual Exemys www exemys com Rev 1 18 ...

Страница 19: ...istics EGW1 MB DF1 keeps an internal statistic related to successful and failed transactions Think of this feature as a powerful tool when debugging your system This service is available not only through this web page but it also could be monitored through the embedded Modbus TCP slave ...

Страница 20: ... 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 6 3 Factory Reset The 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 6 4 Firmware update Device firmware can be updated in case of new versions with improvements Pressin...

Страница 21: ...EGW1 IA3 MB DF1 Modbus TCP a DF1 User s Manual Exemys www exemys com Rev 1 21 ...

Страница 22: ...o the same network where the Exemys devices is being configured When Exemys Device Locator is executed for the first time it will search for any Exemys device within the network Device Device model name Host Host name assigned to the device MAC Device hardware MAC address Version Current Firmware version DHCP If YES then network parameters have been obtained from a DHCP server IP Address Netmask a...

Страница 23: ...IP address Netmask or Gateway or you can click on enable DHCP check box for device to search a DHCP server Click on 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 If password is correct the device will be restarted for configuration changes to take effect After a few seconds the device will restart res...

Страница 24: ...0015 30016 Errors reported by the PLC 30017 30018 Valid requests 30019 30020 Registers shown above in bold letters represent the totals i e a request is either malformed discarded because the TCP buffering feature is disabled or valid By the other hand the addition of the remaining registers compounds the valid requests We call valid requests to those that can be processed disregarding whether the...

Страница 25: ...e 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 on the EGW1 IA3 ...

Страница 26: ...ange the configuration password Password must 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 fi...

Страница 27: ...sical address The MAC address is printed on the case Assume the following scenario Desired IP address 192 168 0 53 MAC address 00 0b fa 30 03 7b The command ARP depends slightly on the Operating Systems as shown in Table 7 Table 2 ARP entries for typical Operating Systems If you are running this OS Insert an ARP entry by typing Windows all arp s 192 168 0 53 00 0b fa 30 03 7b Unix all arp s 192 16...

Страница 28: ...s and Protected typed logical write with three address fields DF1 commands and it does not count on specific PLC information such as processor model or firmware version Here we provide some basic information to activate the downward compatibility feature with RSLogix 5000 To map an address 1 In RSLogix 5000 software open the project file for the controller whose data you want to access 2 From the ...

Страница 29: ... 0 0 0 0 DHCP Netmask 0 0 0 0 Gateway 0 0 0 0 Keep Alives 30 seconds TCP buffer Disabled Modbus TCP Built Modbus slave ID 240 Exceptions Enabled DF1 Baud Rate 19200 Parity NO Source address 0 Destination address 1 Message timeout 1000 milliseconds Error detection CRC File size 16 Transparent Baud Rate 19200 Parity NO TCP port 10000 ...

Страница 30: ...e 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 ...

Отзывы: