background image

 

  

Page 

51 

February 2010

 

3.13.2  Serial Gateway 

Serial Gateway functionality is available for both RS-232 and RS-485 ports independently, and 

enables serial data to be routed via the wired or wireless network connection. Serial Gateway 

functionality is similar to radio modem functionality, allowing point-to-point and multipoint serial 

data transfer. 
Each WI-MOD-E serial port may be configured as Server, Client, or Multicast Group. When 

configured as Server, the module will wait for a connection to be initiated by a remote client. When 

configured as Client, the module will automatically attempt to connect to the specified remote 

server. When configured as Multicast Group, the module will broadcast data to all members of the 

same Multicast Group. 
Some of the possible Serial Gateway topologies are illustrated below. As can be seen, it is possible 

for serial data from a WI-MOD-E to be transferred to one or more WI-MOD-E serial ports, or to be 

encapsulated within a TCP/IP socket for availability on an Ethernet network. Conversely, data 

encapsulated in a TCP/IP socket can be reproduced at a WI-MOD-E serial port. Both WI-MOD-E 

serial ports and the hard wired Ethernet port can be in use at the same time. 

 
 

Summary of Contents for WI-MOD-E-100

Page 1: ...Weidmuller Inc Richmond VA 23236 Tel 800 849 9343 Fax 804 897 4136 Web www weidmuller com User Manual WI MOD E 100 WI MOD E 300 Ethernet Modems...

Page 2: ...on For continued protection against risk of fire replace the internal module fuse only with the same type and rating CAUTION Antennas used with this device must be installed to provide a separation di...

Page 3: ...Weidmuller Inc first 1 A radio license is not required in some countries provided the module is installed using the aerial and equipment configuration described in the WI MOD E Installation Guide Che...

Page 4: ...r Use of the module not in accordance with this User Manual or Abuse misuse neglect or damage by external causes or Repairs alterations or modifications undertaken other than by an authorized Service...

Page 5: ...NFIGURATION 22 3 4 CONFIGURING THE UNIT FOR THE FIRST TIME 22 3 4 1 Set PC to same network as WI MOD E 22 3 4 2 Set WI MOD E to same network as PC 25 3 5 NETWORK CONFIGURATION 27 3 6 ETHERNET DATA 29...

Page 6: ...ART 68 4 2 DIAGNOSTIC INFORMATION AVAILABLE 69 4 2 1 Connectivity 69 4 2 2 Monitor Communications 70 4 2 3 Statistics 71 4 2 4 Network Traffic Analysis 71 4 3 TESTING RADIO PATHS 71 4 4 UTILITIES 72 4...

Page 7: ...ever appropriate driver applications are required in the host devices to handle the different data format The WI MOD E does provide connection functionality between serial ModBus RTU devices and Ether...

Page 8: ...this example it doesn t mater which unit is the Access Point The second diagram shows an existing LAN being extended using WI MOD E s In this example the Access Point should be configured at the LAN e...

Page 9: ...dresses for the Ethernet and wireless sides are different In the above example the wireless link is part of LAN A with the Client unit acting as a Router between LAN A and LAN B Alternately the Access...

Page 10: ...n The WI MOD E requires an antenna and a power supply Power the WI MOD E and make an Ethernet connection to your PC for further information on how to do this refer to section 3 4 Set the WI MOD E addr...

Page 11: ...OD E module should be effectively earthed via the GND terminal on the WI MOD E module this is to ensure that the surge protection circuits inside the WI MOD E module are effective 2 2 Antenna Installa...

Page 12: ...n of maximum signal solves this problem However where the radio path changes because the WI MOD E is mounted on moving equipment or if there is moving equipment in the area then the solution is to use...

Page 13: ...C UV Stabilized insulating tape The first layer of tape allows the joint to be easily inspected when trouble shooting as the vulcanizing seal can be easily removed Where antennas are mounted on elevat...

Page 14: ...agi is transmitting to another Yagi then the elements at each end of the wireless link need to in the same plane horizontal or vertical Directional radomes should be installed with the central beam ho...

Page 15: ...e connected to the Main Ground point of the installation in order to provide efficient surge protection for the module refer to the Installation Diagram 2 4 Serial Connections 2 4 1 RS232 Serial Port...

Page 16: ...85 communication medium is shared only one of the units on the RS485 cable may send data at any one time Thus communication protocols based on the RS 485 standard require some type of arbitration RS48...

Page 17: ...Page 17 February 2010 HOST WI MOD E HOST RS485 CONNECTIONS 120 RS485 SUPPLY RS232 DIP SWITCH FOR 120 120 HOST HOST WI MOD E RS485 CONNECTION USING TERMINATING RESISTOR ETHERNET DIO DEFAULTS DIP SWITCH...

Page 18: ...tely 5mA is provided to maintain reliable operation of driving relays The digital input is connected between the DIO terminal and common COM The I O circuit includes a LED indicator which is lit when...

Page 19: ...k is indicated via the Link LED For an Access Point the Link LED will be OFF while no links have been established Once one or more links have been established the Link LED is ON For a Client the Link...

Page 20: ...Supply voltage too low Radio RX GREEN flash Radio receiving data Radio RX RED flash Weak radio signal Radio TX Flash Radio Transmitting Radio LINK On On when a radio communications link is established...

Page 21: ...is in a central 22 MHz wide lobe centered around the channel frequency however there are also side lobes extending either side If we ignore the side lobes and consider each WiFi message as a 22MHz wid...

Page 22: ...may be obtained freely via the Microsoft website Configuration of IP address gateway address and subnet mask may also be accessed via the RS 232 serial port Accessing Configuration for the first time...

Page 23: ...Open Network Settings on your PC under Control Panel The following description is for Windows XP earlier Windows operating systems have similar settings Open Properties of Local Area Connection Selec...

Page 24: ...ng Tools Internet Options Connections Tab LAN Settings Proxy Server bypass proxy for local addresses Enter the default IP address for the WI MOD E http 192 168 0 1XX where XX is the last two digits of...

Page 25: ...position b Connect the RS232 port on the WI MOD E to the RS232 port on the PC using a straight through serial cable c Open a terminal package such as HyperTerminal with 19200bps data rate 8 data bit 1...

Page 26: ...help type the help command f Set Boot Netmask to the same settings as the computer you have the Ethernet cable connected to This may be performed with the command bnm Type the netmask g Set Boot Gatew...

Page 27: ...on the connected wired Ethernet device s before connecting to an existing LAN consult the network administrator A system of WI MOD E s must have at least one Access Point acting as a master to one or...

Page 28: ...of the WI MOD E on its wired Ethernet port This should be set to the IP address you require Ethernet IP Subnet Mask The IP network mask of the WI MOD E on its Ethernet port This should be set to the I...

Page 29: ...ion keys must not be all zeros i e 00 00 00 00 00 Passphrase When WPA Encryption is selected 128bit Encryption keys are internally generated based on the Passphrase and System Address SSID The Passphr...

Page 30: ...ss links may be set up by enabling the bridge Spanning Tree Protocol see section 3 9 Spanning Tree Protocol for more details 3 or 4 Address Mode There are two different operating modes that affect bri...

Page 31: ...configuring routing rules see section 3 11 Routing Rules 3 8 Radio Configuration The WI MOD E can be configured for different radio transmission rates A reduction in rate increases the reliable range...

Page 32: ...ill be transmitted in more than one message or fragment Fallback Probation Counter When one of the fallback data rates is selected the radio data rate may be upgraded to the next highest rate after th...

Page 33: ...gured with the lowest priority 0 will become the root node in the network and will direct traffic between each of its branches The root node is typically the unit that handles the majority of traffic...

Page 34: ...interface that is used for connections to associated clients All 6 WDS interfaces on the one Access Point may be bridged if required WDS bridge interfaces have the advantage that redundant paths are p...

Page 35: ...o been enabled for the default wireless interface the default WEP key will also be inherited One of the most common uses for WDS is to extend the range of the wireless network using repeaters The diag...

Page 36: ...can all exchange data with each other as can all of their clients as if they were all on the same wired segment It can bee seen that there are redundant paths and therefore the possibility for loops...

Page 37: ...configuration effort but does not have the overhead of using the bridge Spanning Tree Protocol so is suited to fixed installations that do not require redundancy As mentioned previously configuration...

Page 38: ...o WDS interface network 169 254 0 x It is a requirement that the interfaces at each end point of a WDS link have the same network address so by using a different network address to that of the default...

Page 39: ...k address as unit B therefore we wish to have the WDS interface link to unit D bridged with the default interface Because we don t specify a router IP address for the third entry the WI MOD E automati...

Page 40: ...uration BPDU information Time selectable in 125msec increments and default interval is 20 second Bridge Priority The bridge priority when the Spanning Tree Algorithm is enabled Defaults to 32768 with...

Page 41: ...WEP key will be inherited Passphrase When WPA Encryption is selected enter the WPA passphrase for this WDS link here Router IP Leave this field blank if this WDS interface is to be bridged with the de...

Page 42: ...router that will The above network diagram illustrates a situation where routing rules may need to be configured In this example the WI MOD E clients need only specify the Access Point as their defau...

Page 43: ...ers of a routing rule Name A name to describe the routing rule Max 32 characters Destination The destination network or host IP address to specify a network address set the host address to 0 i e for a...

Page 44: ...telist to allow traffic for listed devices and protocols The Filter operates on two rules listed below 1 A Blacklist has priority over a whitelist Traffic matching detail in a blacklist will be discar...

Page 45: ...ower The WI MOD E will retain its configuration however will load up at IP address 192 168 0 1XX netmask 255 255 255 0 with the radio and filter disabled The XX in the IP address is the last two digit...

Page 46: ...o also configure both an ARP and an ICMP filter for the same IP Address range The ARP filter is required whenever the sending device does not have a fixed IP to MAC Address translation table entry i e...

Page 47: ...his is similar to bridging for a single device with some exceptions One of these exceptions is the inability to handle name server searches of the network via this serial link For example you would en...

Page 48: ...WI MOD E 100 WI MOD E 300 Wireless Ethernet User Manual WI MOD E Manual v1 10 Page 48 2 On the New Connection Wizard click Next 3 Set up an advanced connection 4 Connect directly to another computer...

Page 49: ...2010 5 Set PC as guest 6 Set Computer Name 7 Select a COM port 8 Select availability 9 Click Finish 10 Select properties of this new connection by right clicking on connection 11 General Tab click on...

Page 50: ...utton 14 On Properties form click Advanced button 15 On Advanced TCP IP Settings form General Tab uncheck field in PPP link stating Use IP header compression 16 Configuration is now complete Click on...

Page 51: ...itiated by a remote client When configured as Client the module will automatically attempt to connect to the specified remote server When configured as Multicast Group the module will broadcast data t...

Page 52: ...The data format desired Data formats of 8N1 7E1 7O1 7E2 7O2 are supported Character Timeout Enter the maximum delay in msec between received serial characters before packet is sent via network Server...

Page 53: ...configured Maximum Request Retries The ModBus TCP to RTU Gateway may be configured to operate on either the RS 232 or RS 485 port It does not support operation on both ports at the same time Enable RS...

Page 54: ...5000 x 16bit general purpose registers are provided for ModBus including the onboard Digital Input Output and are shared for both Client and Server ModBus TCP Client Master and ModBus TCP Server Slave...

Page 55: ...ard ModBus TCP Server are directed either to from the onboard general purpose I O registers The ModBus TCP Server is shared with the ModBus TCP to RTU Gateway so that the ModBus Device ID is used to d...

Page 56: ...cate with the serial ModBus RTU device D The configuration of unit B is shown below accessible via the I O Transfer configuration page It can be seen that ModBus TCP Client has been enabled with a 500...

Page 57: ...ions status for this mapping will be stored The second mapping reads 8 registers from serial unit D into onboard registers in unit B Note that in this case the specified Device ID 6 is the ModBus Addr...

Page 58: ...d ModBus transaction directed to from the given register has not been completed for longer than the Comm s Fail Timeout Comm s Fail Timeout The period of time after which onboard I O registers will be...

Page 59: ...efficiently the WI MOD E would need to have detailed knowledge of the protocol comprising that data Alternatively if the protocol is not known by the module then any data frame arriving from a given...

Page 60: ...l being used by the remote devices is not a master slave type protocol then data being sent by any remote device can be broadcast to all other connected remote devices This is the least efficient mode...

Page 61: ...is not required Send Keep alive TCP IP messages can be used to maintain the status of inactive remote device connections as an alternative to an inactivity time If this option is enabled then TCP keep...

Page 62: ...ster Slave protocol mode The main difference between the configuration of this entry and that of the ModBus aware server configuration is that the ModBus Mode option is not selected Consequently the M...

Page 63: ...a module configuration is viewed and changed in a web format which is an Ethernet application you can view or change the configuration of a remote module via the wireless link provided the remote modu...

Page 64: ...and WI MOD E Ensure configuration PC and WI MOD E are setup to communicate on the same network Set dipswitch to SETUP mode Power up unit and wait for LINK led to cease flashing Adjust PC network setti...

Page 65: ...o SETUP c Connect straight through serial cable to WI MOD E and power up unit d When prompted strike the Enter key to abort automatic boot e Set IP address of WI MOD E to 192 168 0 200 with command bi...

Page 66: ...0 MASK 255 255 255 0 192 168 0 200 Network B Configuration All devices on Network B should be configured so their gateway IP address is that of the WI MOD E Access Point as 169 254 102 54 Access Point...

Page 67: ...Operating Mode as Client Device Mode should be set to Bridge Set the Gateway IP address to 169 254 102 54 Set the Ethernet IP address to 169 254 102 53 network mask 255 255 255 0 Set the Wireless IP...

Page 68: ...een OK LED on the front panel indicates correct operation of the unit This LED turns red on failure as described above When the OK LED turns red shutdown state is indicated On processor failure or on...

Page 69: ...l fail to be authorized if the encryption keys are incorrect The received signal strength background noise and radio data rate is listed for each Client or Access Point by their MAC Address The readin...

Page 70: ...acon messages occur very frequently they have been filtered out from the Monitor Communications display for convenience Monitor communications lists the frame type of each transmission and various sta...

Page 71: ...wired Ethernet a better idea of regular traffic can be discovered Network Analysis programs make configuration of a filter for the WI MOD E a simple task 4 3 Testing Radio Paths The general procedure...

Page 72: ...you are trying to reach is actually operating If for example a user can t ping a host then the user will be unable to send files to that host Ping operates by sending a packet to a designated address...

Page 73: ...d node in the network to cancel use Ctrl C A good test for the network once it is first set up is to use PING repeatedly from one PC s IP address to the other PC s IP address This gives a good example...

Page 74: ...es adapter type and so on In the above example ipconfig was entered in the command prompt The reply back shows the PC s IP address Subnet mask and the gateway it is connected to Other ipconfig command...

Page 75: ...a PLC connected to the PC also Arp n lists all the commands available for this function 4 4 4 ROUTE Route is used for the Router function This is where you are joining 2 different networks together v...

Page 76: ...IP 192 168 2 051 Subnet Mask 255 255 255 0 In the Network A PC a routing rule is to be set This will allow Network A B to have access to each other This is entered under cmd prompt Route ADD 192 168 2...

Page 77: ...upply Nominal supply 9 to 30VDC Overvoltage and reverse voltage protected Average current drain 240 mA 12V 150mA 24VDC Current drain when transmitting 440 mA 12V 280mA 24VDC Ethernet Port 10 100 BaseT...

Page 78: ...rate bit sec configurable 1200 2400 4800 9600 14400 19200 38400 57600 76800 115200 7 or 8 data bits Stop start parity bits configurable System Parameters System address 1 to 31 character text string W...

Page 79: ...ire must be upgraded using the FlashUpdate utility and can only be performed local to the module The FlashUpdate utility should also be used if firmware versions of modules to be upgraded are unknown...

Page 80: ...he unit A reset is necessary to run the new firmware This is useful for maintaining radio link whilst performing upgrades to remote units 6 The following dialog box may be displayed as a warning Click...

Page 81: ...t through ethernet cable is typically a blue colour Alternatively connect the module to PC via a network switch or hub as some configurations of Windows can encounter difficulty upgrading without a hu...

Page 82: ...message Select Unblock so that FlashUpdate program may operate If any other firewall software is operating disable it 7 Copy new firmware files to a known location on the hard drive of your PC Do not...

Page 83: ...to which can be found from step 4 above 12 Click on Upgrade button in FlashUpdate program 13 Follow instructions from confirmation window 14 Click OK Power down module wait approximately 1 second and...

Page 84: ...less Ethernet User Manual WI MOD E Manual v1 10 Page 84 15 Programming will commence 16 If programming was successful a dialog box is displayed showing this 17 Switch dipswitch to RUN position and cyc...

Page 85: ...pin eight at the other end They cross over from one side to the other CSMA CA CSMA CA is a listen before talk method of minimizing but not eliminating collisions caused by simultaneous transmission b...

Page 86: ...k WEP uses an encryption key that automatically encrypts outgoing wireless data On the receiving side the same encryption key enables the computer to automatically decrypt the information so it can be...

Page 87: ...ar network on the Internet and an identifier of the particular device which can be a server or a workstation within that network IPX SPX IPX short for Internetwork Packet Exchange a networking protoco...

Page 88: ...vice has its own specific MAC address hard coded into it This unique identifier can be used to provide security for wireless networks When a network uses a MAC table only the 802 11 radios that have h...

Page 89: ...g port TCP A protocol used along with the Internet Protocol IP to send data in the form of individual units called packets between computers over the Internet While IP takes care of handling the actua...

Page 90: ...or international geographic area Also used to distinguish between phone based data networks and Wi Fi Phone networks are considered WANs and Wi Fi networks are considered Wireless Local Area Networks...

Reviews: