background image

Flow  Control                 Flow control  is used by some serial devices to regulate the flow of data by turning on/     
off  flags  that  are used  to  tell  the  connected  serial devices  to  start  or  stop  transmitting  data.  The RS-232 
supports  CTC/RTS hardware flow  control.

 

Serial Gateway

 

Mode

 

 

• 

Server

—When configured  as a server, the modem will wait for a TCP connection 

to be initiated  by a remote client.

 

• 

Client

—When configured  as a client, the modem will automatically attempt

 

to connect  to a specific  remote server that matches the configured  device IP

 

address and port

 

Character  Timeout       Enter the maximum delay (in msec) between receiving the last serial character on the 

serial port  and the radio transmitting  the whole packet.  Data will be sent when this 
time is exceeded.

 

 

Packet  Size                  The Maximum number of received bytes that  will be buffered  before the packet  is 

sent. Data will be sent when packet  size is exceeded.

 

 

Listen  Port                    Only available when 

“Server”  is selected as the Serial Gateway Mode. Enter a TCP

 

port  number on which the server must listen for incoming  connections.  Default is 24.

 

 

Remote  Device  Port    Only available when 

“Client”  is selected as the Serial Gateway Mode. Enter the TCP

 

port  number configured  on the Listen Port of the remote Server. Default will be 24

 

Remote  Device  IP 
Address

 

 

Only available when 

“Client”  is selected in the Serial Gateway Mode. Enter the IP

 

address of the remote server you want to communicate  with.

 

Save Changes              Save changes to non-volatile  memory.

 

Save Changes  and

 

Activate

 

 

Save changes to non-volatile memory and activate the process.

 

 

Modbus  TCP/RTU Converter

 

The Modbus  TCP/RTU converter function  of the WI-MOD-xxx-E-5W allows an Ethernet Modbus  TCP client (master) 
to communicate  with  a serial Modbus  RTU slave. The WI-MOD-xxx-E-5W makes this possible by internally 
performing the necessary protocol  conversion. The conversion is always performed  by the WI-MOD-xxx-E-5W that 
is directly  connected  to the Modbus  serial device. Only this module needs to have Modbus  TCP/RTU Conversion 
enabled.

 

 

Figure 39 demonstrates  how a Modbus/TCP  client (master) can connect  to one or more Modbus  RTU slave devices. 
In this example the WI-MOD-xxx-E-5W access point  is configured  with  the RS-232 serial port  set for 

“Modbus  TCP/ 

RTU 

Converter.” When configured  with this Port Type, the module converts the Modbus/TCP  query from the client 

into  a Modbus  RTU frame and forwards  it out the appropriate  serial port  to the slave device. When the serial device 
responds the query is received on the serial port,  it is then converted  into a Modbus/TCP  response and forwarded 
via the network  to the Modbus/TCP  client.

 

 

The Modbus  TCP/RTU Converter may be configured  to operate on either the RS-232 or RS-485 port.

 

 

 

 

Figure  39  Modbus  TCP/RTU Converter

Summary of Contents for WI-MOD-400-E

Page 1: ...ess Ethernet Modem and Device Server User Manual 1 Rev Version 1 1 Industrial Wireless Ethernet Modem and Device Server User Manual WI MOD 400 E WI MOD 950 E Version 1 1 July 2015 Read and Retain for...

Page 2: ...f the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency ener...

Page 3: ...us area GNU Free Documentation License Copyright C 2009 WEIDMULLER WEIDMULLER is using a part of Free Software code under the GNU General Public License in operating the WI MOD xxx E 5W product This G...

Page 4: ...te or automatic operation For example This equipment is remotely controlled and may start without warning Isolate at the switchboard before attempting adjustments The WI MOD xxx E 5W module is not sui...

Page 5: ...ction is a standard RJ 45 connection that will operate at up to 100 Mbps The module will transmit the Ethernet messages on the wireless band at rates between 1 and 19 2 Kbps depending on model band en...

Page 6: ...point could be used as a repeater unit to connect two WI MOD xxx E 5W clients that do not have direct reliable radio paths There is no special repeater module any WI MOD xxx E 5W module can function a...

Page 7: ...t network for example extending an existing Ethernet LAN Figure 5 Bridge A router connects devices on different LANs The IP addresses for the Ethernet and the wireless sides must be different In this...

Page 8: ...ch explains the power antenna serial Ethernet and I O connections required for successful operation 2 Power the WI MOD xxx E 5W and set up an Ethernet connection to your PC For detailed steps see 4 1...

Page 9: ...ccessfully transmit up to 50 km 31 miles with a directional antenna attached To achieve the maximum transmission distance the antennas should be raised above intermediate obstructions so that the radi...

Page 10: ...losses are Antenna Gain dBi Dipole 2 dBi Collinear 5 or 8 dBi Directional Yagi 6 15 dBi Cable Type Loss dB per 30m 100 ft RG58 Cellfoil Cable kits 3m 10m 20m 1dB 2 5dB 4 8 dB RG213 per 10m 33 ft 1 8...

Page 11: ...direction of transmission to benefit from the gain of the antenna Parabolic antennas should be mounted according to the manufacturer s instructions with the parabolic grid at the back and the radiatin...

Page 12: ...with the supply voltage and radio power level The power requirements for the WI MOD xxx E 5W unit are shown in the table below The positive side of the supply must not be connected to ground The supp...

Page 13: ...r using a standard straight through cable the device is a DCE Figure 13 Serial Cable DB 9 Connector Pinouts Pin Name Direction Function 1 DCD Out Data Carrier Detect 2 RXD Out Transmit Data serial dat...

Page 14: ...enabled or fitted Figure 15 Multidrop Serial Fail safe Biasing Fail safe biasing is a simple voltage divider that is connected to the RS 485 bus and pulls the terminal voltages high or low when the c...

Page 15: ...dix B Figure 17 USB Connections 2 5 Input and Output Connections The WI MOD xxx E 5W has a single physical on board I O channel that can be configured as either digital or analog via the module s Web...

Page 16: ...peration For example if the output is activated while the DIO is being read the indication will show the input as being on 1 Figure 19 DIO Output Digital Input When used as an input the I O channel su...

Page 17: ...attempts to link using a two step process authentication and association During authentication the client and access point check whether their configurations permit them to establish a link Once the...

Page 18: ...will flash constantly RS 485 Red flash Data received to RS 485 serial port IO Green Digital input is on IO Red Digital output is active IO Off Digital output off and input is open circuit Analog inpu...

Page 19: ...rates Reducing the data rate can increase the reliable communication range of the module For example if the received signal level is low the data rate could be reduced to improve communications It is...

Page 20: ...rnet port The module s default configuration settings are as follows Operating mode Client Device mode Bridge IP address 192 168 0 1XX where XX is the last two digits of the serial number the default...

Page 21: ...1 Rev Version 1 1 5 Select Internet Protocol TCP IP and click Properties Figure 22 Local Area Connection 6 On the General tab enter IP address 192 168 0 1 and subnet mask 255 255 255 0 and then click...

Page 22: ...server ensure that Internet Explorer will bypass the proxy server for local addresses This option may be modified by opening Tools Internet Options Connections Tab LAN Settings Proxy Server bypass pr...

Page 23: ...tion parameters These parameters must be specified before the modem can be used Radio configuration parameters include transmit and receive frequency channel step size and the transmit power level as...

Page 24: ...Reset to restart the modem The Main Screen of the WI MOD xxx E 5W webpage will now show the correctly configured model locale and frequency as shown in the example in Figure 26 Transmit Power Level A...

Page 25: ...s ESSID A WI MOD xxx E 5W wireless network is comprised of modules with the same system address Only modules with the same system address will communicate with each other The system address is a text...

Page 26: ...menu see Figure 27 is displayed by clicking Full Configuration on the home page that appears when you log onto the module When prompted enter the username and password the default username is user and...

Page 27: ...be taken when connecting the modem to existing networks When configured as a bridge default all broadcast messages appearing at the module s wired Ethernet port will be transmitted over the radio The...

Page 28: ...word or phrase as well as upper and lower case For example WiReLeSs TeChNoLoGy 2010 For more information on WPA2 see WPA2 Encryption on page 32 Device Mode Allows you to choose whether the module wil...

Page 29: ...to reduce broadcast traffic sent over the radio For information on creating filters see 4 10 Filtering on page 49 By default a transparent bridge does not handle loops within the network There must be...

Page 30: ...ion page see 4 8 Repeaters on page 44 DHCP Client Configuration DHCP Dynamic Host Configuration Protocol allows DHCP clients to automatically obtain their IP address at start up This simplifies networ...

Page 31: ...restarted before the changes take effect Save Changes and Reset Save settings to non volatile memory and reboot the WI MOD xxx E 5W module Once the module has completed the reboot sequence all changes...

Page 32: ...specify the radio configuration settings for your country of operation and license The factory default parameters of the radio are set to values that allow the radio to be powered up safely without in...

Page 33: ...nfigured in the Frequency Step Size field For example 450 00500 450 01000 450 01500 450 02000 and so on for a frequency step size of 5 kHz or 450 00625 450 01250 450 01875 450 02500 and so on for a fr...

Page 34: ...configure the onboard serial ports The WI MOD xxx E 5W has one RS 232 port and one RS 485 port available for serial communications with other devices These ports are completely independent of each ot...

Page 35: ...vice that is connected and communicating via the port Baud rates range from 110 to 230400 baud Data Format Defines the data bits parity and start stop bits used to communicate with the serial device F...

Page 36: ...output register 16 Write Registers Write to an Analog Output register Destination Register Enter the starting I O register number in the destination device that the Modbus mapping will transfer I O to...

Page 37: ...o 230400 baud Data Format Defines the number of data bits parity and start stop bits used to communicate with the serial device Flow Control Flow control is used by some serial devices to regulate the...

Page 38: ...a by turning on off flags that are used to tell the connected serial devices to start or stop transmitting data The RS 232 supports CTC RTS hardware flow control Modbus Slave Device ID Address of the...

Page 39: ...Client Mode Port Type Select Serial Gateway from the drop down list Data Rate Select the data rate to match that of the serial device that is connected and communicating via the port Baud rates avail...

Page 40: ...IP Address Only available when Client is selected in the Serial Gateway Mode Enter the IP address of the remote server you want to communicate with Save Changes Save changes to non volatile memory Sav...

Page 41: ...unicate with the serial device Flow Control Flow Control is used by some serial devices to regulate the flow of data by turning on off flags that are used to tell the connected serial devices to start...

Page 42: ...flagging a Comms Failure Figure 42 Modbus RTU Serial Port Configuration Because the Unite B module is also communicating with a Modbus RTU slave device Device 5 it will need to have an RTU Master Mapp...

Page 43: ...wireless interface A WDS bridge interface allows traffic to be bridged to another access point on the same IP network WDS bridge interfaces do not require additional IP address configuration because t...

Page 44: ...ll connect to For AP mode clients must configure their WEP Key 1 to the same value as this key and select the Default WEP Key to be WEP Key 1 Save Changes Save changes to non volatile memory The modul...

Page 45: ...is recommended that the encryption method be equal to or greater than the main system in order to maintain system security In addition since it is a bridged network the Spanning Tree Protocol is disab...

Page 46: ...l all be the same for each site as shown in Figure 50 This setup can be replicated many times which will allow roaming stations full connectivity across the network Figure 50 System Network Settings 4...

Page 47: ...e to deliver traffic to LAN B and LAN C it needs to have routing rules configured that specify the respective WI MOD xxx E 5W client routers as next hop routers gateways to networks B and C Note that...

Page 48: ...this checkbox to enable the rule You can deselect the checkbox to disable a routing rule without needing to re enter the information at a later time Save Changes Save changes to non volatile memory T...

Page 49: ...PC to the whitelist Failure to add this address will prevent the configuration PC from making any further changes to configuration Design of the filter may be simplified by monitoring network traffic...

Page 50: ...the modems in a router configuration instead of a bridge If after configuring the modem with filtering you no longer have access to the modem it probably means the computer IP or MAC address was not...

Page 51: ...s to specific devices through the use of blacklists blocking of traffic that matches a rule and whitelists allow traffic that matches a rule To configure IP address filters click Filtering from the me...

Page 52: ...rimarily used for identifying MAC addresses when only the IP address or some other Network layer address is known Large networks tend to get a high proportion of broadcast messages ARP filters are use...

Page 53: ...xxx E 5W also has an on board Modbus TCP server and Modbus TCP client that provide connectivity for a range of Modbus applications The Modbus TCP client and the Modbus TCP server can be enabled simul...

Page 54: ...ve and Activate Changes Save to non volatile memory and restart to activate changes Modbus TCP Client The Modbus TCP client enables the WI MOD xxx E 5W to connect to one or more Modbus TCP servers To...

Page 55: ...Function Code for the transaction 01 Read Coil Reads the on off status of a digital output in the slave device for example DO status 0X register 02 Read Discrete Reads the on off status of a digital i...

Page 56: ...s you do not need to enter in the full Modbus address for example 30001 or 10001 Only the I O address is needed because the function code determines what type of command is being used For example if y...

Page 57: ...d Modbus TCP server at Unit C Server IP address 192 168 0 200 is the IP address of Unit C which is the Modbus TCP server we are reading from Server Port is the TCP port used Response Timeout 1000 ms s...

Page 58: ...ion To configure the I O channel as an analog make sure that Analog Input is selected in the Mode field on the External I O Mode Configuration page see the previous section After saving the changes cl...

Page 59: ...10002 and VSupply setpoint is located at register 10003 Upper Setpoint This parameter is the upper control point value that is used in conjunction with the lower setpoint to turn on and off the analog...

Page 60: ...If Fail safe State option is selected the output will be on if the Fail safe State option is deselected the output will be off When an update or a COS message is received the fail safe timer is restar...

Page 61: ...ire 16 bit value of any register or alternatively the most significant bit of a register may be accessed as a discrete value The main use for the general purpose I O registers is for intermediate stor...

Page 62: ...gister location 30321 16 20 30001 See Appendix D for a more detailed address map of the serial expansion I O modules When adding expansion I O modules to the WI MOD xxx E 5W there are two built in reg...

Page 63: ...invalidated on failure Fail Value Sets the value that the register is set to when a fail occurs Invalid Register State All registers within the module can have various states depending on the type of...

Page 64: ...er default username user and password user 8 On the home page menu click Quick Start 9 On the Quick Start page configure the following a Configure the Transmit Power Level Transmit Data Rate Frequency...

Page 65: ...e of Routed Network LAN A Configuration In this example network A is connected to the Internet via a router at IP address 192 168 0 1 Devices on LAN A that require a connection to devices on LAN B sho...

Page 66: ...to WPA2 on the Quick Start page You need to configure an encryption key passphrase Record the key as it also needs to be the same on all radios in the example e Change the IP addresses to 192 168 0 20...

Page 67: ...nfigure units as described in the Extending a Wired Network on page 65 Place the access point at the remote intermediate repeater location Additional repeaters can be added using Wireless Distribution...

Page 68: ...ircuit dim 4 mA bright 20 mA The green OK LED on the front panel indicates that the WI MOD xxx E 5W is operating correctly A red OK LED can indicate a number of conditions When the module is reset to...

Page 69: ...s Indicates whether the connected devices have compression turned on or off Compression is described in 4 6 Radio Configuration on page 33 Connected For Shows the current link time that the client has...

Page 70: ...transfer a file measuring the time it takes to send Iperf Throughput Test Uses a MS DOS based application that is run on a PC or laptop at each end of the radio link and measures the data throughput...

Page 71: ...ile No Compression 404 sec 0 33 Kbps 185 sec 0 72 Kbps 134 KB jpg file With Compression 215 sec 0 62 Kbps 183 sec 0 73 Kbps Iperf Throughput Test A more thorough test is to perform a throughput test t...

Page 72: ...he current IP routes configured in the module IP statistics Displays various of statistics for each interface TCP UDP Statistics Shows the number of TCP and UDP connections currently established Memor...

Page 73: ...nel Utilization on a Live System Channel utilization can be used on a live system and is the simplest method for determining how busy the channel is and how much spare capacity the channel has for add...

Page 74: ...ise level for the last 60 seconds Figure 78 Background Noise Seconds Figure 79 shows the Channel utilization for each minute over a one hour period Each minute is calculated from the running average o...

Page 75: ...selection on the Custom Survey page shows the total percentage of transmitted frames over a 60 second period in chart one and the total percentage of received frames over a 60 second period in chart...

Page 76: ...dem and Broadcast messages Radio Hold Off Percentage of time that the radio has spent holding off from transmitting data possibly because the channel is busy RX to This Radio Percentage of time receiv...

Page 77: ...information about the radio link can help us determine what is causing the increase in traffic The Chart 2 Radio Holdoff shows that the radio is holding off from transmitting around 36 of the time wh...

Page 78: ...Interval Wait time between Ping requests Default is 5 seconds and typically will not need to be changed unless using repeaters 5 8 IO Diagnostics Click I O Diagnostics on the menu read and write the...

Page 79: ...2 the offset is 2 x 20 40 If it has an address of 18 the offset is 18 x 20 360 Each expansion I O module has the following diagnostic registers Add the offset to the fixed register number to get the a...

Page 80: ...heard other RS 485 traffic 81 0x0129 Problem accessing local memory Could not access register location possibly because the register is not initialized 5 9 Monitor Radio Comms The Monitor Radio Comms...

Page 81: ...or an internal handle number used for transmitted messages If the number is 65535 it indicates its an ACK transmission Data Length Total length of the transmitted or received message Data Data packet...

Page 82: ...can be saved and emailed to WEIDMULLER if requested Click Clear System Log to erase the log file and start fresh Read Configuration File This option shows the module configuration in XML format This...

Page 83: ...o the module s default IP address which is displayed on the label on the bottom of the module 5 12 Module Information Use the Module Information page to change the username and password and the module...

Page 84: ...user will be unable to send files to that host Ping operates by sending a packet to a designated address and waiting for a response The basic operation of Ping can be performed by following these ste...

Page 85: ...information including your address DNS server addresses adapter type and so on Figure 92 Ipconfig In the example in Figure 92 the ipconfig command was entered at the command prompt The reply shows the...

Page 86: ...as the gateway Setting up a default gateway address on the modem This is a link to an IP address that knows how to get to the required subnet This is a fallback address If the modem does not know wher...

Page 87: ...o edit manipulate and delete routing rules Route PRINT Shows all active routes on PC Route ADD Adds a routing table to network format Route IP Address Mask Subnet Mask Route IP Address Route DELETE De...

Page 88: ...100baseT via LED Serial Port RS 232 DB 9 female DCE RTS CTS DTR DCD RS 485 2 2 pin terminal block non isolated Data Rate Bps 1200 2400 4800 9600 14400 19200 38400 57600 76800 115200 230400 Bps Serial...

Page 89: ...7 3 x 4 5 x 1 4 Housing IP20 powder coated aluminum Mounting DIN rail Terminal Blocks Removable max conductor 12 AWG 2 5 mm2 Temperature Rating 40 to 70 C 40 to 120 F Humidity Rating 0 99 RH nonconde...

Page 90: ......

Page 91: ...n of the USB drive and re configure the drive if necessary 1 Plug USB drive into the USB port on the PC and wait until Windows recognizes the drive and completes the driver installation 2 Open the Win...

Page 92: ...eeded in cleaning the disk DISKPART list disk Disk Status Size Free Dyn Gpt Disk 0 Online 232 GB 0 B Disk 1 Online 1911 MB 1910 MB 7 Enter the command create partition primary to create a partition on...

Page 93: ...USB Drive 3 Make sure that Quick Format is not selected and then click Start Figure 96 Quick Format To perform a full firmware upgrade 1 Copy the supplied firmware files to the root directory on the...

Page 94: ...astic cover on the front of the Module to reveal a USB port and push button Reset switch Figure 99 Front Access Panel 5 Plug the USB drive into the USB A port and press the Reset button During the upg...

Page 95: ...versions behind the desired version it may be necessary to upload multiple patch files 1 Access the module s Web Server For instructions see 4 1 Connecting and Logging On on page 22 2 Click Full Confi...

Page 96: ...power up 4 Open the plastic cover on the front of the module and connect the USB cable to the USB B socket Connect the other end of the cable to a free USB socket on the PC Figure 102 USB Ports When...

Page 97: ...Rev Version 1 4 1 97 97 Rev Version 1 4 1 Figure 105 Using Ping Command to Connect Figure 106 Using Web Browser to Connect...

Page 98: ...reassigned Without DHCP an IT manager would need to manually enter in all the IP addresses of all the computers on the network When DHCP is used whenever a computer logs onto the network an IP address...

Page 99: ...re The address is permanently assigned to the hardware so limiting a wireless network s access to hardware such as wireless cards is a security feature employed by closed wireless networks But an expe...

Page 100: ...at is either dynamically assigned at startup or permanently assigned All TCP IP messages contain the address of the destination network as well as the address of the destination station This enables T...

Page 101: ...012 Offset WI EX IO 11 pulsed input count 30017 Offset Modbus Error counter for this 115S module 30018 Offset Modbus Last Error code for this 115S module See Appendix E for Modbus error codes 30019 Of...

Page 102: ...r code for this 115S module See Appendix E for Modbus error codes 30019 Offset Modbus Lost Link counter for this 115S module 30020 Offset Module type 0x0301 769 error status 40001 40008 Offset Analog...

Page 103: ...protocol is unaware of the significance of any particular value of any particular register 65384 FF04 Slave Device Failure An unrecoverable error occurred while the server or slave was attempting to p...

Page 104: ...3 mW 11 dB 316 mW 25 dB 16 mW 12 dB 398 mW 26 dB 20 mW 13 dB 500 mW 27 dB 25 mW 14 dB 630 mW 28 dB 32 mW 15 dB 800 mW 29 dB 40 mW 16 dB 1 0 W 30 dB 50 mW 17 dB 1 3 W 31 dB 63 mW 18 dB 1 6 W 32 dB 79 m...

Page 105: ...PC 2 Extract the zip file to the root directory on your PC C directory The extracted folder contains the main Iperf application and the Jperf graphical interface 3 Copy this folder to the second PC o...

Page 106: ...width throughput of the test as 19 2 Kbps We recommend that you run the test several times to get an average Figure 109 Iperf Results JPerf Application Jperf is a graphical interface that runs over th...

Page 107: ...dress of the server PC Leave the Port field at the default and click Run Iperf The test will run and then display the measured bandwidth throughput over time You can run this test as often as needed t...

Page 108: ...heir rights We protect your rights with two steps 1 copyright the software and 2 offer you this license which gives you legal permission to copy distribute and or modify the software Also for each aut...

Page 109: ...works But when you distribute the same sections as part of a whole which is a work based on the Program the distribution of the whole must be on the terms of this License whose permissions for other l...

Page 110: ...you may not distribute the Program at all For example if a patent license would not permit royalty free redistribution of the Program by all those who receive copies directly or indirectly through yo...

Page 111: ...ROGRAM AS IS WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE THE ENTIRE RISK AS TO...

Page 112: ......

Page 113: ...ller Canada 10 Spy Court Markham Ontario L3R 5H6 Main 905 475 1507 Toll Free 1 800 268 4080 Toll Free Fax 1 877 300 5635 Fax Admin 905 475 5855 Technical Support support weidmuller ca www weidmuller c...

Reviews: