Operating Manual INSYS WLAN bridge WLAN serial Version 1.01 / 10.
Copyright © 2004 INSYS MICROELECTRONICS GmbH Any duplication of this manual is prohibited. All rights on this documentation and the devices are with INSYS MICROELECTRONICS GmbH Regensburg. Restrictions of Statutory Guarantee This handbook contains a concise description. The compilation of the text has been made with the utmost care. Despite all efforts, there may be deviations compared with the actual functions. No guarantee can therefore be given for the accuracy of the contents.
Content I 0 IMPORTANT SAFETY INSTRUCTIONS..........................1 1 SCOPE OF DELIVERY....................................................1 2 GENERAL INFORMATION ABOUT WIRELESS LAN .......2 2.1 INSYS WLAN SERIAL AND INSYS WLAN BRIDGE..........................2 2.1.1 2.1.2 INSYS WLAN serial ..............................................................................2 INSYS WLAN bridge.............................................................................2 2.
II Inhalt 3.8 FIRMWARE..............................................................................10 4 INSTALLATION ..........................................................11 4.1 SAFETY INSTRUCTIONS DURING INSTALLATION ..............................11 4.2 CONNECTION OVERVIEW...........................................................11 4.3 INSTALLATION STEPS ................................................................12 5 IMPLEMENTATION AND CONFIGURATION INSYS WLAN BRIDGE ...............
Content III 6.2 CONFIGURATION VIA TERMINAL PROGRAM ..................................30 6.2.1 6.2.2 6.2.3 AT Commands for Default Settings ..................................................30 Serial Interface..................................................................................30 WLAN Network Structure .................................................................31 6.3 REMOTE CONFIGURATION VIA TELNET .........................................31 6.4 FIRMWARE UPDATE ...................
Important Safety Instructions 0 Important Safety Instructions The BSI (German Federal Office for IT Safety) has drawn up an information brochure “Wireless LAN Safety” (Sicherheit im Funk-LAN), which clearly describes the set-up as well as safety aspects of the WLAN according to IEEE 802.11b. http://www.bsi.de/literat/doc/wlan/wlan.pdf Attention! Before implementing the system, please inform yourself about the currently effective safety regulations.
2 General Information About Wireless LAN 2 General Information About Wireless LAN 2.1 INSYS WLAN serial and INSYS WLAN bridge The INSYS WLAN serial and INSYS WLAN bridge are communication devices for industrial applications. They are designated for the use on the DIN rail in the switchboard. In the Wireless LAN, the transmission of data takes place with up to 11 Mbit/s, according to the industrial standard IEEE 802.11 b.
General Information About Wireless LAN 2.2.1 Infrastructure Mode All WLAN devices connect to an AccessPoint which routes data between the connected devices and to a wire-bound LAN. Several AccessPoints can establish a joint WLAN (with the same SSID code) and also allow transparent handover. The infrastructure mode is the standard operating mode. 2.2.2 Adhoc Mode WLAN devices can also merge without a dedicated master and form an adhoc network (peer-to-peer communication).
4 Technical Data 3 Technical Data 3.1 General 3.1.1 Features • • • • • • • • • • • Mounting on DIN rail Power Supply 10…60 V DC, 5% ripple Wireless LAN Standard IEEE 802.11b Radio frequency 2.4 GHz Transmission rate up to 11 Mbit/s Encryption 64 Bit or 128 Bit WEP Level on V.24 interface according to V.28 (only INSYS WLAN serial) Protected V.24/V.
Technical Data 3.2 5 Front Elements Front view INSYS AUX Ant. MAIN Ant. Power RF Link DCD / Link RX / TX Signal RS 232 10 Base-T Reset WLAN The INSYS WLAN devices are equipped with important display elements. Besides the “Power LED”, the LEDs “RF Link”, “DCD/Link” and “RX/TX” indicate the most important operating states.
6 3.3 Technical Data Terminal Layout The terminals are designed as screw terminals and are located on the top and bottom of the cover. View of the cover top 1 GND INSYS WLAN serial 2 50...80 VDC INSYS WLAN bridge 3 10...60 VDC 4 GND 5 GND 6 Reset 7 GND 8 Input 1 9 Input 2 10 GND INSYS MICROELECTRONICS GmbH Internet: www.insys-tec.de Sales: insys@insys-tec.de Support: support@insys-tec.
Technical Data 7 Layout of the terminals on the cover bottom Terminal 11 12 13 14 15 16 3.4 Labeling OUT 1-NC OUT 1 OUT 1-NO OUT 2-NC OUT 2 OUT 2_NO Description Output 1 – normally closed contact Output 1, COM Output 1 – normally open contact Output 2 – normally closed contact Output 2, COM Output 2 – normally open contact Power Supply Power supply: Power input: 10…60 V DC, 5% ripple In addition, a second power supply range 50…80 V DC is possible.
8 Technical Data Description of the signals on the 9-pin D-SUB connector Pin Description Function CCITT V-24 EIA RS232 DIN 66020 E/A DCE to DTE 1 DCD Data Carrier Detect 109 CF M5 O 2 RXD Receive Data 104 BB D2 O 3 TXD Transmit Data 103 BA D1 I 4 DTR Data Terminal Ready 108 CD S1 I 5 GND Ground 102 AB E2 6 DSR Data set ready 107 CC M1 O 7 RTS Request to send 105 CA S2 I 8 CTS Clear to send 106 CB M2 O 9 RI Ring Indication 125 CE M3 O Sup
Technical Data 9 Description of the RJ45 jack signals Signal RxRx+ TxTx+ Connection to RJ45 6 3 2 1 3.5.3 Antenna Connection The connection of the antennas takes place via two built-in reverse SMA plugs. The main antenna is connected to the right connector (Main Ant.) and at the left connector (AUX Ant.) an auxiliary antenna can be connected in addition. The main antenna is used to transmit and receive; the auxiliary antenna is only used to receive.
10 Technical Data The maximum current load is 1 A DC or 0.5 A AC. Terminal Labeling 11 OUT 1-NC 3.6 12 13 OUT 1 OUT 1-NO 14 OUT 2-NC 15 16 OUT 2 OUT 2_NO Description Output 1 – normally closed contact Output 1, COM Output 1 – normally open contact Output 2 – normally closed contact Output 2, COM Output 2 – normally open contact Transmission Standards / Protocols IEEE 802.11b • ARP, ICMP, TCP/IP, UDP/IP (INSYS WLAN serial) • ARP, IP, ICMP, TCP/IP, UDP/IP, http, DHCP (INSYS WLAN bridge) • 3.
Installation 11 4 Installation 4.1 Safety Instructions During Installation When repairing and installing electric systems and devices, the according VDE regulations must be observed. The BSI (German Federal Office for IT Safety) has drawn up an information brochure “Wireless LAN Safety” (Sicherheit im Funk-LAN), which clearly describes the set-up as well as safety aspects of the WLAN according to IEEE 802.11b. http://www.bsi.de/literat/doc/wlan/wlan.
12 4.3 Installation Installation Steps 1. Mounting on DIN rail: Simple snap-on 2. Attaching the antenna(s) Simple screw-on; please do not bend the antenna. 3. Connecting the RS232 or the Ethernet connection Plug the enclosed RS232 interface cable (INSYS WLAN serial) or the network cable (INSYS WLAN bridge) into the cover front and connect it with the PC. 4. Connecting the Power Supply: a) Connecting the ground wire GND (terminal 1) b) Connecting the power supply 10..
Implementation and Configuration INSYS WLAN bridge 13 5 Implementation And Configuration INSYS WLAN bridge 5.1 WLAN Network Structure For a network structure according to IEEE 802.11b, the included devices must be coordinated regarding the following settings: Description Radio channel (only for adhoc network) Clear text name of the radio network (SSID) Architecture: Infrastructure or adhoc WEP Encryption Gateway for the local network segment Network mask for the local network segment Own IP address 5.
14 Implementation and Configuration INSYS WLAN bridge If, however, the reset key is briefly pressed five times in succession, a complete device reset will take place and the INSYS WLAN bridge is reset to default factory settings. This will enable the device to be reset to default factory settings without having to establish a connection to the device.
Implementation and Configuration INSYS WLAN bridge 15 the PC can be reset to the previous IP address. The PC and the INSYS WLAN bridge can then be reconnected normally with the network. Note: At all events, avoid the LAN connection of the AccessPoints and the LAN connection of the INSYS WLAN bridge being connected to the same network.
16 Implementation and Configuration INSYS WLAN bridge IP address: Set (static mode) or allocated (DHCP mode) IP address of the INSYS WLAN bridge Firmware version: Firmware version number 5.4.4 Wireless Settings On this page, the parameters for the WLAN interface are set: Station mode: Determination of the WLAN architecture (see Chap. 2.2) “adhoc” (peer-to-peer) or “infrastructure” version 1.01 / 10.
Implementation and Configuration INSYS WLAN bridge 17 SSID: Enter the WLAN network SSID (default “WLANDEMO”). An empty input field indicates a connection with any available network. Channel: Radio channel when using the adhoc mode. In adhoc mode, all involved stations must be set to the same channel. This channel may not be used by other WLAN networks in the reception area at the same time (default “6”). In infrastructure mode the channel is assigned by the AccessPoint.
18 Implementation and Configuration INSYS WLAN bridge The INSYS WLAN bridge supports two possibilities for IP address allocation: “Static” and “DHCP”. When the option “Static” (default) is activated, the IP addresses are configured manually. The configuration is done in the displayed window (IP address, subnetwork mask, standard gateway).
Implementation and Configuration INSYS WLAN bridge 19 5.4.7 Administration On this page, the access protection for the web interface is set with a user name and password. The default settings for user name and password are both empty, i.e. there is no user name and no password. In addition, this page offers the opportunity, to restart the INSYS WLAN bridge or to restore the factory defaults. 5.4.8 Bridging Function “Layer 2.5 NAT” The bridging function “Layer 2.
20 Implementation and Configuration INSYS WLAN bridge its own MAC address as response and saves IP and MAC of the device “behind” it in a table. With this, the INSYS WLAN bridge virtually passes itself off as the required end device and thus receives all packets which were meant for the end device. These packets are then forwarded to the end device “behind” the INSYS WLAN bridge . 5.5 Firmware Update This page will enable you to update the firmware of the INSYS WLAN bridge in a simple way.
Implementation and Configuration INSYS WLAN serial 6 Implementation and Configuration INSYS WLAN Serial. The initial operation may take place comfortably by using the configuration software HSComm under Windows as well as directly by entering the AT commands into a terminal program. 6.1 Configuration Software HSComm The software HSComm allows the configuration of the INSYS WLAN serial under Windows without explicit knowledge of the AT commands and their parameters.
22 Implementation and Configuration INSYS WLAN serial Interface Setting of the serial interface which is used at the configuration PC. The baud rate and the format (data bits, stop bit, parity) have to match the settings of the serial interface at the INSYS WLAN serial. If a remote configuration is performed via WLAN, select Telnet and enter the IP address of the device that is being configured.
Implementation and Configuration INSYS WLAN serial 23 6.1.1.3 Status Bar The status bar at the lower window border of the HSComm displays the settings and activities of the serial interface. 6.1.1.4 Buttons Read The current settings of the INSYS WLAN serial are read and displayed on the user interface of the HSComm WLAN. Reset A device reset is performed in the INSYS WLAN serial. Default settings The factory settings (defaults) are loaded. Attention! The IP address is reset as well.
24 Implementation and Configuration INSYS WLAN serial 6.1.2 Basic Settings 6.1.2.1 Serial Interface The settings of the serial interface of the INSYS WLAN serial must match the parameter settings of the device to be connected. This concerns the transmission rate (baud rate) and the data format (number of data bits, number of stop bits, and parity). Baud Rate and Data Format The baud rate and data format settings can be set in the according pull-up menus. The default factory settings are 19200 baud, 8N1.
Implementation and Configuration INSYS WLAN serial 25 Handshake The handshake controls the data flow at the serial interface while the data rate is too high at the moment. Hardware handshake uses the separate control lines RTS/CTS of the serial interface. Without handshake, overflowing data is ignored. Attention! Handshake must be deactivated when the INSYS WLAN serial is operated with a device that does not support the according handshake.
26 Implementation and Configuration INSYS WLAN serial 6.1.3 Network 6.1.3.1 IP Settings Devices in IP networks use three details to identify connections to other subnetworks. These are details to identify the own device, the own network segment, and the gateway. All IP addresses consist of a sequence of 4 numbers in a range of values from 0 to 255. For private networks without direct Internet connection, numbering areas such as 192.168.*.* are reserved.
Implementation and Configuration INSYS WLAN serial 27 IP Address The own address of the INSYS WLAN serial, e.g. 192.168.100.218 Port The port specifies the applications which will be performed within the internet protocol (IP). The serial interface of the INSYS WLAN serial is represented at the IP address and the port in the WLAN. Network Mask Part of the address which describes the network segment. The subnetwork 255.255.255.0 , for example, marks the first three numbers 192.168.100 of the address 192.
28 Implementation and Configuration INSYS WLAN serial Network Name SSID Enter the WLAN network SSID (default “WLANDEMO”). An empty input field indicates a connection with any available network. Safety/WEP Activating the buttons “64 bit WEP” or “128 bit WEP” will switch on WEP encryption as well as Shared Key Authentication. The following lengths are allowed: 64 bit and 128 bit. WEP Key Up to 4 WEP keys may be stored.
Implementation and Configuration INSYS WLAN serial In detail, the following information is provided: Channel: Currently used channel Tx Transfer Rate: Currently reached data rate Received Signal Level: Current quality of the received signal level Signal-To-Noise Ratio: Current signal-to-noise ratio: AccessPoint MAC: MAC address of the remote terminal (adhoc) or of the AccessPoint 6.1.3.
30 Implementation and Configuration INSYS WLAN serial The connection is automatically established when Telnet is selected in the menu “Interface”. The IP address as well as the user name and the correct password of the device to be configured must be entered in advance. 6.2 Configuration Via Terminal Program The configuration of the INSYS WLAN serial can be performed directly by entering AT commands in a terminal program. 6.2.
Implementation and Configuration INSYS WLAN serial 31 6.2.2.1 AT Commands for the Serial Interface Command Description AT*S Determine baud rate AT*U Determine data format AT&K Data flow control between the PC and the modem ATE Command echo AT&S DSR behavior AT&C DCD (CT109) behavior AT&D DTR (CT108/2) behavior In Chapter 7 you will find a complete description of the AT commands and their parameters. 6.2.3 WLAN Network Structure For a network structure according to IEEE 802.
32 Implementation and Configuration INSYS WLAN serial Example: Terminal program TeraTerm Pro. After the connection has been established successfully, a terminal window is opened and the user is asked to enter the user name and the password. The default factory setting for both entries is: insys Attention! The user name and the password are case sensitive! After the user name and the password have been correctly verified, AT commands can be sent to the INSYS WLAN serial via this terminal window.
Implementation and Configuration INSYS WLAN serial 33 Example: Query the settings of the INSYS WLAN serial (AT&V) 6.4 Firmware Update Attention! Before the firmware is uploaded, hardware handshake (RTS/CTS) must be activated at the terminal program and the INSYS WLAN serial. The command AT** will start the upload process and the device will prepare itself for receiving the firmware. After the response Send file now the firmware (file with the ending HEX) is sent as a text file.
34 Command Overview INSYS WLAN serial 7 Command Overview INSYS WLAN serial 7.1 AT commands 7.1.1 Syntax of Standard AT Commands The AT standard is a line-oriented command language. Each command consists of three elements: Prefix, body and end character. The prefix always consists of the letters “AT“. The body consists of a name and pertinent values, if applicable. If a pertinent value is optional, this is indicated by square brackets ([...]). The end character is (=0X0D) by default.
Command Overview INSYS WLAN serial 35 Command AT#AUT= Description Set authorization Explicit authentication at the AccessPoint before the data exchange AT#AUT=0 Shared Key off (default) AT#AUT=1 Shared Key on The setting AT#AUT is immediately stored in the permanent memory (independent from the command AT&W). The setting will only take effect with Reboot (AT#RBT).
36 Command AT&F Command Overview INSYS WLAN serial Description Load factory settings Factory settings (defaults) are loaded. By entering the command sequence AT&F&W, the module can be returned to the factory settings (excluding the network settings). All settings, which can be stored using AT&W, are affected by AT&W (not the network settings, see also AT&W). However, not all settings that were saved using AT&W are changed, only the currently active settings.
Command Overview INSYS WLAN serial Command AT&K Description Data flow control AT&K AT&K0 AT&K3 AT&K8 AT#KEEP 37 sets the function of the data flow control. switches the data flow control off (default). switches the hardware data flow control (RTS/CTS) on Activates the controlled half duplex operation on the serial interface for RS485 In this mode, the CTS signal is deactivated (high), while the device sends data at the serial interface.
38 Command AT#PING Command Overview INSYS WLAN serial Description Send PING AT#PINGa.b.c.d sends an echo request (PING) to a remote terminal (similar to the standard TCP/IP program). If an echo is received within a timeout period of 2 seconds, the required time is displayed. AT#PING is used to check if an IP number can be reached. If AT#PING fails, no connection can be established to the specified IP number. The reason could be a wrong configuration or a firewall between the two network subscribers.
Command Overview INSYS WLAN serial Command AT#RAT= 39 Description Set data rate (in Mbps) AT#RAT=1 AT#RAT=2 AT#RAT=3 AT#RAT=4 AT#RAT=5 AT#RAT=6 AT#RAT=7 "Fixed 1 Mbps" "Fixed 2 Mbps" "Auto Fallback" (default) "Fixed medium rate" "Fixed high rate" "Auto fallback standard" "Auto fallback medium" The setting AT#RAT is immediately stored in the permanent memory (independent from the command AT&W). The setting will only take effect with Reboot (AT#RBT). AT#RBT AT#RESET ATS0= Reboot The device is rebooted.
40 Command Overview INSYS WLAN serial Command ATS4= Description Character for line feed – LF ATS4=n n=0...127 Determination of the character as ASCII code n=10 Default setting The setting is not stored with AT&W in the permanent memory. ATS5= Character for backspace – BS ATS5=n n=0...127 Determination of the character as ASCII code n=8 Default setting The setting is not stored with AT&W in the permanent memory.
Command Overview INSYS WLAN serial Command AT#SSID= 41 Description Define SSID AT#SSID=“WLAN_DEMO“ The setting AT#SSID is immediately stored in the permanent memory (independent from the command AT&W). The setting will only take effect with Reboot (AT#RBT).
42 Command ATU Command Overview INSYS WLAN serial Description Select UDP mode For the next connection ATU selects the UDP mode. This setting applies to ATD commands without a specific protocol (e.g. ATD192.168.100.200:1234 or for incoming calls. AT*U Select data format AT*U sets the data format at the serial interface.
Command Overview INSYS WLAN serial Command Description AT#WKY= Define TX WEP key 43 Selection of the currently used WEP key that was defined with AT#KEY. AT#WKY=0 (default) AT#WKY=1 AT#WKY=2 AT#WKY=3 The setting AT#WKY is immediately stored in the permanent memory (independent from the command AT&W). The setting will only take effect with Reboot (AT#RBT). ATX Dummy command Command with an optional parameter without effect implemented for compatibility to the modem – response “OK”.
44 Command Overview INSYS WLAN serial Command Description +++ Escape sequence If the sequence “+++” is sent during an active connections with at least 1 second pause before and after the sequence, the module will terminate the connection. Unlike the modem, no online command mode is supported. 7.