CEL-MAR ADA-14040 User manual

User manual
ADA-14040
RS-485 / RS-422 to Wi-Fi (802.11b) Wireless Serial Ser er with
MODBUS GATEWAY
1
io_ada-14040mg_v1.17_en
ADA-14040
Copyright © 2001-2017 CEL-MAR sp. .

Contents
1. GENERAL INFORMATION...................................................................................................................................................................... 4
1.1. WARRANTED INFORMATION....................................................................................................................................................... 4
1.2. GENERAL CONDITIONS FOR SAFE USE.................................................................................................................................... 4
1.3. CE LABEL....................................................................................................................................................................................... 4
1.4. ENVIRONMENTAL PROTECTION................................................................................................................................................. 4
1.5. SERVICE AND MAINTENANCE..................................................................................................................................................... 4
1.6. PACK CONTENTS.......................................................................................................................................................................... 4
2. PRODUCT INFORMATION..................................................................................................................................................................... 4
2.1. PROPERTIES................................................................................................................................................................................. 4
2.2. DESCRIPTION................................................................................................................................................................................ 5
2.3. WIRELESS NETWORK COMMUNICATIONS (WLAN).................................................................................................................5
2.3.1. COMMUNICATIONS IN THE MODE TCP/UDP SOCKETS...................................................................................................5
2.3.2. COMMUNICATIONS IN THE VIRTUAL SERIAL PORT MODE (RealPort)...........................................................................5
2.3.3. COMMUNICATIONS IN THE SERIAL BRIDGE MODE.........................................................................................................5
2.3.4. COMMUNICATIONS IN THE INDUSTRIAL AUTOMATION MODE (Modbus Gateway).......................................................5
2.3.5. OTHER COMMUNICATION TYPES...................................................................................................................................... 5
2.4. ISOLATION..................................................................................................................................................................................... 6
3. INSTALLATION....................................................................................................................................................................................... 6
3.1. ASSEMBLING................................................................................................................................................................................. 7
3.2. CONNECTION TO WI-FI WIRELESS NETWORK (WLAN)...........................................................................................................7
3.2.1. CONNECTION TO PC BY THE USE OF WIRELESS ADAPTER WI-FI...............................................................................7
3.2.2. CONNECTION TO COMPUTER VIA NETWORK DEVICES ACCESS-POINT TYPE, ROUTER WI-FI...............................7
3.2.3. CONNECTION TO COMPUTER VIA INTERNET BY THE USE ROUTER WI-FI / DSL........................................................8
3.2.4. CONNECTION FOR FUNCTIONING IN MODE TCP/UDP SERIAL BRIDGE.......................................................................9
3.2.5. CONNECTION OF THE WIRELESS SERIAL SERVER TO FUNCTIONING IN MODBUS GATEWAY MODE..................10
3.3. CONNECTION TO RS485/RS422 NETWORK............................................................................................................................11
3.3.1. CONNECTION TO 4-WIRE RS422 BUS.............................................................................................................................11
3.3.2. CONNECTION TO 4-WIRE RS485(4W) BUS.....................................................................................................................11
3.3.3. CONNECTION TO 2-WIRE RS485 (2W) BUS....................................................................................................................11
3.3.4. GND TERMINAL CONNECTION......................................................................................................................................... 12
3.3.5. LINE TERMINATION............................................................................................................................................................ 12
3.4. POWER SUPPLY CONNECTION................................................................................................................................................ 12
4. ACTIVATION......................................................................................................................................................................................... 12
5. CONFIGURATION................................................................................................................................................................................. 13
5.1. INITIAL CONFIGURATION USING ADAFINDER SOFTWARE...................................................................................................13
5.1.1. ADAFINDER INSTALLATION..............................................................................................................................................13
5.1.2. NETWORK SETTING.......................................................................................................................................................... 13
5.2. CONFIGURATION AND MANAGEMENT WITH USE OF INTERNET BROWSER.....................................................................15
5.2.1. NETWORK CONFIGURATION............................................................................................................................................ 16
5.2.1.1. IP ADDRESS SETTINGS............................................................................................................................................ 16
5.2.1.2. WLAN CONFIGURATION........................................................................................................................................... 16
5.2.1.3. WLAN SECURITY SETTINGS.................................................................................................................................... 16
5.2.1.4. AUTHENTICATION SETTINGS.................................................................................................................................. 17
5.2.1.5. NETWORK SERVICES SETTINGS............................................................................................................................ 17
5.2.1.6. IP FORWARDING SETTINGS....................................................................................................................................17
5.2.1.7. SOCKET TUNNEL SETTINGS.................................................................................................................................... 17
5.2.1.8. ADVANCED NETWORK SETTINGS..........................................................................................................................17
5.2.2. SERIAL PORT CONFIGURATION....................................................................................................................................... 17
5.2.2.1. PORT PROFILE (OPERATING MODE)...................................................................................................................... 17
5.2.2.1.1. REALPORT (VIRTUAL PORT ).......................................................................................................................... 18
5.2.2.1.2. TCP SOCKETS................................................................................................................................................... 18
5.2.2.1.2.1. TCP SERVER AND CLIENT......................................................................................................................18
5.2.2.1.2.2. 'ENABLE TCP KEEP-ALIVE' CONFIGURATION.......................................................................................19
5.2.2.1.2.3. SERIAL PORT TRANSMISSION PARAMETERS......................................................................................20
5.2.2.1.3. UDP SOCKETS.................................................................................................................................................. 20
5.2.2.1.3.1. UDP CLIENT & SERVER CONFIGURATION IN CASE OF MASTER DEVICE........................................20
5.2.2.1.3.2. UDP CLIENT & SERVER CONFIGURATION IN CASE OF SLAVE DEVICE...........................................21
5.2.2.1.3.3. SERIAL PORT TRANSMISSION PARAMETERS......................................................................................21
5.2.2.1.4. SERIAL BRIDGE................................................................................................................................................. 21
5.2.2.1.4.1. SERIAL PORT TRANSMISSION PARAMETERS......................................................................................22
5.2.2.1.5. INDUSTRIAL AUTOMATION (MODBUS GATEWAY)........................................................................................22
5.2.2.1.5.1. COMMUNICATION WITH DEVICES MODBUS-MASTER TYPE..............................................................22
5.2.2.1.5.2. CONFIGURATION FOR COMMUNICATION WITH MODBUS-SLAVE TYPE DEVICE............................24
5.2.2.1.5.3. SERIAL PORT TRANSMISSION PARAMETERS......................................................................................26
5.2.3. SYSTEM SETTINGS............................................................................................................................................................ 26
5.2.4. USERS CONFIGURATION.................................................................................................................................................. 26
5.2.4.1. CHANGING USER MANE AND PASSWORD............................................................................................................26
5.2.4.2. ADDING NEW USER WITH LIMITED PERMISSIONS ASSOCIATED.......................................................................26
2
ADA-14040

5.2.5. MANAGMENT...................................................................................................................................................................... 27
5.2.5.1. SERIAL PORTS MANAGEMENT................................................................................................................................ 27
5.2.5.2. CONNECTIONS MANAGMENT.................................................................................................................................. 27
5.2.6. ADMINISTRATION............................................................................................................................................................... 27
5.2.6.1. FILE MANAGEMENT................................................................................................................................................... 27
5.2.6.2. BACKUP & RESTORE CONFIGURATION.................................................................................................................27
5.2.6.3. UPDATE FIRMWARE..................................................................................................................................................27
5.2.6.4. FACTORY DEFAULT SETTINGS............................................................................................................................... 27
5.2.6.5. SYSTEM INFORMATION............................................................................................................................................ 27
5.2.6.6. REBOOT...................................................................................................................................................................... 27
5.2.6.7. LOGOUT – ENDING THE MANAGEMENT.................................................................................................................27
6. USING VIRTUAL PORT SERVICE [REALPORT]................................................................................................................................. 27
6.1. VIRTUAL PORT DRIVER INSTALLATION IN WINDOWS XP.....................................................................................................27
6.2. REALPORT CONFIGURATION IN WINDOWS XP......................................................................................................................28
7. FACTORY DEFAULT............................................................................................................................................................................ 30
8. TROUBLESHOOTING........................................................................................................................................................................... 30
9. VERSIONS............................................................................................................................................................................................ 31
10. SPECIFICATION................................................................................................................................................................................. 31
3
ADA-14040

1. GENERAL INFORMATION
Thank you for your purchase of CEL-MAR Company product. This product has been completely tested and is covered by two year
warranty on parts and operation.
If any questions or problems arise during installation or use of this product, please do not hesitate to contact Technical Support at +48
41 362-12-46 or e-mail support@cel-mar.pl.
1.1. WARRANTED INFORMATION
ADA-14040 serial server is covered by a two year warranty from date of sale. In case of being damaged it will be repair or the
damaged component will be replace. The warranty does not cover damage caused from improper use, materials consumption or any
unauthorized changes. If the product does not function (is damaged), or not operate in accordance with the instructions, will be
repaired or replaced.
All warranty and no warranty repairs must be returned with paid transport and insuring to the CEL-MAR Company.
CEL-MAR Company under no circumstances won't be responsible for ensuing damage from improper using the product or as a result
of random causes: the lightning discharge, the flood, the fire and the like.
CEL-MAR Company is not be held responsible for damages and loss including: loss of profits, loss of data, pecuniary losses ensuing
from using or the impossibility of using this product.
In specific cases CEL-MAR Company discontinue all warranties and in particular do not follow the user manual and do not accept
terms of warranty by the user.
1.2. GENERAL CONDITIONS FOR SAFE USE
The device should be installed in a safe and stable places (eg, electroinstallation cabinet), the powering cable should be arranged so
as not to be exposed to trampling, attaching, or pulling out of the circuit.
Do not put device on the wet surface.
Do not connect devices for nondescript powering sources,
Do not damage or crush powering wires.
Do not make connection with wet hands.
Do not adapt, open or make holes in casings of the device!
Do not immerse device in water or no other liquid.
Do not put the fire opened on device sources: candles, an oil lamps and the like.
Complete disable from the supply network is only after disconnecting the power supply circuit voltage.
Do not carry out the assembly or dis-assembly of the device if it is enabled. This may result to short circuit and damage the device.
The device can not be used for applications that determine human life and health (eg. Medical).
1.3. CE LABEL
The CE symbol on the device CEL-MAR means compatibility with electromagnetic compatibility Electromagnetic
Compatibility Directive EMC 2014/30/WE. Declaration of Conformity is available by contact with Technical Service
(email: support@cel-mar.pl; phone: +48 41 362-12-46).
1.4. ENVIRONMENTAL PROTECTION
This label on the device inform about putting expended device with other waste materials. Device should send to the
recycling. (In accordance with the act about the Electronic Appliance Expended from day 29 of July 2005)
1.5. SERVICE AND MAINTENANCE
The ADA-14040 does not require the servicing and maintenance.
Technical support is available at number +48 41 362-12-46 in 8.00-16.00, from Monday to Friday or e-mail support@cel-mar.pl.
1.6. PACK CONTENTS
The device is delivered with: User Manual, antenna and ADANet software CD.
2. PRODUCT INFORMATION
Attention !
Class A device designed for installation in commercial and light industrial. In residential environment may cause interference with
radio-electric, in which case the user will be required to take appropriate measures for their elimination.
2.1. PROPERTIES
●Operatng with the data rates up to 11Mbps on the 2,4GHz frequency in the wireless network (IEEE 802.11b standard),
●Baud rate in wireless network 1, 2, 5.5, 11 Mbps,
●Modulation CCK(11/5 Mbps), DQPSK(2 Mbps), DBPSK(1Mbps),
●Sensitivity of receiver: -82dBm for 11Mbps, -87dBm for 5.5Mbps, -89dBm for 2Mbps, -92dBm for 1Mbps,
●Channels number: 11 (USA/Canada), 13 (Europa), 14 (Japonia),
●Antenna connection via SMA connector,
●Wireless network security: WEP (64/128-bit encryption), WPA (128-bit encryption), WPA2 (128-bit encryption), PEAP, PSK (pre-
shared key mode),
●Protocols: TCP, UDP, DHCP, SNMP, SSL/TLS, Telnet, Rlogin, LPD, HTTP/HTTPS, SMTP, ICMP, IGMP, ARP,
●WWW sever implemented for configuration,
●Drivers of virtual port COM,
●Configuration of net services according to user personal setting,
●Static or dynamic IP address (added by DHCP server),
●Diagnostics of serial and network port,
4
ADA-14040

●Encoded transmission: SSL v3.0/TLS v1.0 - DES (56-bit), 3DES (168-bit), AES (128/256-bit),
●Operating in modes: virtual serial port, serial bridge TCP, serial bridge UDP, TCP sockets, UDP sockets, MODBUS Data Gateway,
●Operating on 2 or 4-wire RS485 Bus, and 4-wire RS422 Bus,
●Baud rate of RS485/422 ( bps): 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, 9600, 14400, 19200, 28800, 38400,
57600, 115200, 230400,
●RS485/422 Data format: number of data bits: 5, 6, 7, 8; Parity control: non, parity, non-parity, Constantly 1, Constantly 0; Stop
Bits : 1, 2,
●Transparent for all protocols which data format is compatible with above specification of RS485/422: MODBUS, DNP, PROFIBUS
and other,
●Implemented protocol converter MODBUS-TCP to MODBUS-RTU/ASCII (MODBUS Data Gateway),
●Stable external power supply 10 - 30 VDC,
●up to 4W power consumption,
●~3kV= optoisolation in signal channel between Wi-Fi and RS485/RS422 interface,
●1kV= or 3kV= galvanic isolation between RS485/422 interfaces and power supply,
●Connection of RS485/RS422 interface via screw terminal block,
●Implemented on RS485/RS422 interface short-circuit protection and surge,
●Protection against power supply reverse connection,
●DIN 43880 standard - mounting in typical electro-installation unit,
●Rail mounting according to DIN35 / TS35 standard,
●Dimensions (W x D x H) 53mm x 62mm x 90mm,
●Antenna dimensions: length 110mm, diameter 9mm.
2.2. DESCRIPTION
ADA-14010 Wireless Serial Server transmits data between devices equipped with the RS485/RS422 interface via the wireless network
WLAN. Functioning in Wi-Fi network can be in the virtual serial port, serial bridge TCP, serial bridge UDP, TCP sockets, UDP sockets,
MODBUS Data Gateway.
The MODBUS Data Gateway converts MODBUS-RTU master/slave protocol and MODBUS-ASCII master/slave to MODBUS-TCP
protocol and inversely. This allows to integrate the MODBUS-RTU/ASCII devices with MODBUS-TCP devices in a single network.
ADA-14040 supports protocols such as TCP, UDP, DHCP, SNMP, SSL/TLS, Telnet, Rlogin, LPD, HTTP/HTTPS, SMTP, ICMP, IGMP,
ARP. The Server has implemented WWW server for remote configuration and management via internet browser. The baud rate is up
to 230,4kbps via the RS485/422 interface without the interference into the format of transmitted data. For operating ADA-14040 uses
signals such as RX+, RX-, TX+/A, TX-/B.
Can be connected 32 devices to RS485 Bus created on the base ADA-14040, operate in half duplex or full duplex mode on 4-wire
RS485 Bus.
It is adapted to supply an external voltage source in scope from 10V= to 30V= and 4W power. Converter has protection against power
supply reverse connection and short-circuit protection and surge on RS485/422 Bus. ADA-14040 has also galvanic separation
between power supply and Wi-Fi interfaces and RS485/RS422 interfaces and additionally optoisolation between RS485/422 and WiFi.
The range of transmission in the wireless network Wi-Fi (IEEE 802.11b):
- in buildings from 30m to 150m,
- in open area to 300m,
The transmission range can be increased after the application of additional directional antennas.
Together with the ADA-14040 we provide the drivers, which after installation, create in operating system additional COM port on the
next free number e.g. COM3. It can be use as standard COM port but it isn't hardware port but virtual, create in Windows system. This
is the reason why some applications running in DOS and use this port, can operate improperly.
2.3. WIRELESS NETWORK COMMUNICATIONS (WLAN)
2.3.1. COMMUNICATIONS IN THE MODE TCP/UDP SOCKETS
Communication in the mode TCP/UDP sockets allows an application (SCADA, MMI) to transfer data to the serial port of ADA-14040
via Wi-Fi network, by the use client and server TCP/UDP services.
2.3.2. COMMUNICATIONS IN THE VIRTUAL SERIAL PORT MODE (RealPort)
Communication in the virtual serial port mode allows an application (SCADA, MMI) to transfer data to the serial port of ADA-14040 via
Wi-Fi network, by the use virtual COM port , created in an operating system.
2.3.3. COMMUNICATIONS IN THE SERIAL BRIDGE MODE
Communication in the serial bridge mode allows transferring data via Wi-Fi network between serial port of the servers port in one-to-
one topology or one-to-many by the use client and server TCP/UDP services.
2.3.4. COMMUNICATIONS IN THE INDUSTRIAL AUTOMATION MODE (Modbus Gateway)
Communication in the MODBUS Gateway (IA) allows converting MODBUS-RTU master/slave protocol and MODBUS-ASCII
master/slave protocol to MODBUS-TCP protocol and inversely. It's let to integrate MODBUS-RTU/ASCII devices with MODBUS-TCP
devices in a single network.
2.3.5. OTHER COMMUNICATION TYPES
The ADA-14040 port server can be configured in other communication types, like:
–terminal mode,
–modem emulation mode,
–console mode,
–user mode.
5
ADA-14040

Howe er, in the case of RS485/RS422 port ser er will not be able to work properly in these modes, as they relate to the full
RS232 interface.
Fig 1. ADA-14040 iew Fig 2. View of Wi-Fi and power connectors
2.4. ISOLATION
ADA-14040 converter has 2-way galvanic isolation, depend on version of device, described at section VERSIONS.
Fig. 3. Isolation diagram
3. INSTALLATION
This chapter will show how correctly connect ADA-14040 to RS485/RS422 network, Wi-Fi network and power supply.
To reduce disturbance from environment, it is recommended to:
– use shielded twisted multipair type cables, which shield should be connected to the grounding on one end of the cable,
– lay signal cables at a distance not less than 25 cm from power cables,
– use suitable diameter cable for power supply on account of voltage drop,
– use the interference eliminators for powering the converters installed in the range of some building,
– not powering the converters form power-circuit of devices generate large impulse disturbance like contactors, relays,
inverters.
6
ADA-14040
Power Supply
10 - 30VDC
Wi-FiRS485/RS422
2-WAY ISOLATION
ADA-14040
RS-485 / RS-422 to Wi-Fi
WIRELESS SERIAL SERVER
PWRTXRX
RS-485/422
RS485 RS422
MODE
(RS485/RS422)
NC
GND
RX–
RX+
(SW1)
TX+ /A
TX- /B
NC
NC
ACT LINK
(Wi-Fi)
RST
V +
V -
10 – 30
VDC
53mm
- +
10mm 10mm
90mm
62mm
RS-485 4-wires
or RS-422
RS-485
2-wires
Power supply
10-24-30 VDC
ACT
Network activity
transmitting / receiving
LINK
Connection activity
SMA connector
of Wi-Fi interface

3.1. ASSEMBLING
The ADA-14040 case is adapted to assembly on TS-35 (DIN35) rail. To install the device on TS-35 should be the upper part of the
casing put hooks on the terminal and then press the bottom of the cover until you hear a characteristic "Click" sound.
Attention !
Do not install Wi-Fi de ices at a distance of less than 20cm from each other.
3.2. CONNECTION TO WI-FI WIRELESS NETWORK (WLAN)
Connection of ADA-14040 to WI-FI wireless network (WLAN) can be done by the use of devices like ACCESS-POINT, ROUTER Wi-Fi
or directly to computer, equipped with Wi-Fi card or other ADA-14040 port server.
In the connector of Wi-Fi interface of port server are two diodes (fig.2):
–ACT green, signalling the state of data transferring or receiving,
–LINK orange, signalling the active network connection.
Wireless Serial Server ADA-14040 can be use like :
–virtual serial port [RealPort],
–TCP serial bridge,
–UDP serial bridge,
–Modbus Data Gateway.
The factory default settings of ADA-14040 is:
- to connect to any free wireless network Wi-Fi. Therefore should be set the lowest, free channel of wireless transmission in the setting
of devices like ACCESS-POINT, ROUTER Wi-Fi, Wi-Fi card.
- to downloading the IP address from DHCP server. Therefore if there is not the DHCP server, to change IP address should be used
ADAFinder software (see p.5.1).
Details of the connection to wireless network will be described in the bellow chapters.
3.2.1. CONNECTION TO PC BY THE USE OF WIRELESS ADAPTER WI-FI
If there is not Access-POINT or Wi-Fi Router, the ADA-14040 can be connected directly to computer by the use of wireless network
adapter as on the figure below. Recommended network adapters USB to Wi-Fi:
–PENTAGRAM HORNET P6132-30,
–PENTAGRAM HORNET P6132-08,
–or other, operating in mode: Client Wi-Fi or Access Point (AP).
For configuration of the ADA-14040 wireless serial server, set wireless network adapter in the Access Point mode and make the
configuration as below:
–SSID adapter name: no name,
–channel: 1,
–authentication: non,
–encryption: non.
Power the ADA-14040 and when will connect to wireless network adapter run the ADAFinder software and make the initial
configuration according to pt. INITIAL CONFIGURATION USING ADAFINDER SOFTWARE.
Fig 4. Connection between ADA-14040 and PC
3.2.2. CONNECTION TO COMPUTER VIA NETWORK DEVICES ACCESS-POINT TYPE, ROUTER
WI-FI
Figure below shows correct connection of ADA-14040 to wireless network WLAN\LAN, by the use ACCESS-POINT, ROUTER Wi-Fi.
This type of connection allows the Wireless Serial Server functioning with PC in virtual serial port mode (RealPort) or TCP/UDP
sockets.
7
ADA-14040
PC with wireless network
adapter
ADA-14040
WIRELESS CONNECTION Wi-Fi
(802.11b/g)
„Ad-Hoc” TYPE

Fig 5. Connection ADA-14040 to WLAN/LAN network, functioning in irtual serial port mode or TCP/UDP sockets
3.2.3. CONNECTION TO COMPUTER VIA INTERNET BY THE USE ROUTER WI-FI / DSL
Figure below shows correct connection of ADA-14040 to PC via INTERNET by the use wireless network with devices like ROUTER
Wi-Fi / DSL type. This type of connection allows the Wireless Serial Server functioning with PC in virtual serial port mode (RealPort) or
TCP/UDP sockets.
Fig 6. Connection to functioning in irtual serial port mode (RealPort) or TCP/UDP sockets ia INTERNET
8
ADA-14040
ADA-14040
Wi-Fi ROUTER or
ACCESS POINT / ETHERNET
Wireless Local Area network
(802.11b/g)
LAN ETHERNET
RS485 interface devices
RS485 bus
PC with wireless network
adapter
RS485 bus
INTERNET
A - LOCATION
TCP/UDP sockets
Virtual port
Modbus RTU/ASCI
Modbus TCP
ROUTER
Wi-Fi / DSL
Public IP address
ADA-14040
RS485 interface devices
PC with SCADA/HMI
software and wireless
network adapter
B - LOCATION
ROUTER
Wi-Fi / DSL
Public IP address

3.2.4. CONNECTION FOR FUNCTIONING IN MODE TCP/UDP SERIAL BRIDGE
Figures below show correct connection of ADA-14040 to wireless network and INTERNET network to functioning in TCP serial bridge
mode or UDP.
Fig 7. Connection to functioning in TCP/UDP serial bridge mode, one-to-one in LAN network
Fig 8. Connection to functioning in TCP or UDP serial bridge mode ia INTERNET network
9
ADA-14040
RS485 bus RS485 bus
ADA-14040
static IP address
Wireless network (802.11b/g), connection Ad-Hoc type between ADA-14040
serial servers
Functioning in tcp serial bridge mode or udp
RS485 interface devices
RS485 interface devices
RS485 bus RS485 bus
INTERNET
ADA-14040 ADA-14040
RS485 interface devices
B - LOCATION
ROUTER
Wi-Fi / DSL
Public IP address
RS485 interface devices
A - LOCATION
ROUTER
Wi-Fi / DSL
Public IP address

Fig 9. Connection to functioning in UDP serial bridge mode, one-to-many in WLAN network
3.2.5. CONNECTION OF THE WIRELESS SERIAL SERVER TO FUNCTIONING IN MODBUS
GATEWAY MODE
Figure below shows correct connection of ADA-14040 to wireless network Wi-Fi (WLAN) to operating in Industrial Automation Mode
(MODBUS Gateway). This type of connection allows to integrate MODBUS-TCP devices and MODBUS-RTU/ASCII devices in one
network.
Fig 10. Integration MODBUS-TCP with MODBUS-RTU/ASCII in one network by the use ADA-14040 with MODBUS Gateway
10
ADA-14040
RS485 bus
RS485 bus
RS485
Urządzenie
z interfe sem
RS232 MASTER
device
ADA-14040
static IP address
Wireless network (802.11b/g), connection Ad-Hoc type between ADA-14040
serial servers
Functioning in UDP serial bridge mode
RS485 interface devices
RS485 interface devices
ADA-14040
static IP address
RS485 bus
MODBUS-RTU/ASCII
ROUTER Wi-Fi / ETHERNET
ADA-14040
MODBUS Gateway
ADA-14040
MODBUS Gateway
RS485
MODBUS-RTU/ASCII
PLC
MASTER
MODBUS-TCP
MODBUS-TCP
LAN ETHERNET
LAN \ WLAN
Created by the use of
ROUTER
PC with SCADA/HMI
software

3.3. CONNECTION TO RS485/RS422 NETWORK
RS485/RS422 interface is available in ADA-14040 on screw terminal block, labelled as: Tx+/A, Tx-/B, Rx+, Rx-, GND.
ADA-14040 allows operation on the RS422 and RS485 Bus. Both buses require proper wiring.
3.3.1. CONNECTION TO 4-WIRE RS422 BUS
Before connection 4-wire RS422 Bus, should be set the MODE switch on the front panel of ADA-14040 in RS422 mode. Connect
wires of bus to terminals TX+/A, TX-/B, RX+, RX-, like below.
Fig 11. Example connection of de ice with RS422 interface to ADA-14040
3.3.2. CONNECTION TO 4-WIRE RS485(4W) BUS
Before connection 4-wire RS485 Bus, should be set the MODE switch on the front panel of ADA-14040 in RS485 mode. Connect
wires of bus to terminals TX+/A, TX-/B, RX+, RX- , like below.
Fig 12. Example connection of de ice with RS485(4W) interface to ADA-14040
3.3.3. CONNECTION TO 2-WIRE RS485 (2W) BUS
Most of the devices with RS485 interface, use 2-wire RS485 Bus for data transmission.
Before connection 2-wire RS485 Bus, should be set the MODE switch on the front panel of ADA-14040 in RS485 mode. Connect
wires of bus to terminals TX+/A, TX-/B, like below.
11
ADA-14040
RS422
Tx+
Tx-
GND
Rx+
Rx-
Rt
Rt
Rx+
Rx-
GND
Tx+
Tx-
Vss+
Vss-
SMA
Vss-
Vss+
Device with RS422
interface
Wi-Fi RS422
Power Supply
ADA-14040
Rt
Rt
Rt
Rt
Rx+
Rx-
GND
Tx+ /A
Tx- /B
Vss+
Vss-
Wi-Fi
Vss-
Vss+
ADA-14040
SMA
connector
RS485(4W)
connector
Power Supply

Fig 13. Example connection of de ice with RS485(2W) interface to ADA-14040
3.3.4. GND TERMINAL CONNECTION
Connection of GND terminals of RS485/422 interfaces, devices connected to RS485/422 bus, should be done in the case of a
potential difference of the signals grounds on interfaces RS485 / RS422, which prevents proper data transmission.
Cannot connect to the GND terminal - cables screens, PE circuit of electrical installation, signals grounds of other de ices.
3.3.5. LINE TERMINATION
The application of Line Termination (terminator) Rt = 120 ohms on the ends of the Bus, will reduce electrical reflection in long data
line at high baud rate. It is not needed below 9600Bd. For over 1000m @ 9600Bd or 700m @ 19200Bd the line termination should be
used, if there are problems with proper transmission.
Example connection of Rt are shown on Fig. 10, 11, 12.
ADA-14040 Wireless Serial Server has two implemented terminators, connect to terminals Tx+/A – Tx-/B and Rx+ - Rx- by the use
SW1 microswitch (see table below).
SW1 section Description
SW1-1 ON – connection Line Termination 120 W to terminals Tx+/A - Tx-/B
OFF – disconnection Line Termination 120 W from terminals Tx+/A - Tx-/B
SW1-2 ON – connection Line Termination 120 W to terminals Rx+ - Rx-
OFF – disconnection Line Termination 120 W from terminals Rx+ - Rx-
3.4. POWER SUPPLY CONNECTION
The power supply to the ADA-14040 should be DC (regulated) from the scope 10 V= to 30V= and nominal power more then 4W.
Power cable from DC power supplies to device must not be longer than 3m. Observe the polarity, connect positive (+) of DC power
supplies to V+ and negative (-) end to V- terminal. ADA-14040 has the protection from opposite connection power supply.
4. ACTIVATION
If connection was made properly green LED PWR on front panel of converter should lit, if not check polarization of connected power.
When data is transmitted LEDs on RJ45 connector and RX, TX should blink. This LED are show below:
LED Description
Power
PWR Signalization of Power Supply
RS485/RS422 interface
RX Signalization of data receiving by ADA-14040 from RS485/RS422 port
TX Signalization of data transmission from ADA-14040 through RS485/RS422 interface
Wi-Fi wireless interface
Yellow Lights continuously – indicates the connection between ADA-14040 and the Access Point.
Flashing of low frequency - indicates work in "ad hoc" mode.
Flashing at a high frequency - network searches.
Green Signalling data transmission
12
ADA-14040
Rt
Vss+
Vss-
Vss-
Vss+
ADA-14040
Rx+
Rx-
GND
Tx+ /A
Tx- /B
Wi-Fi
SMA
connector
RS485(4W)
connector
Power Supply

5. CONFIGURATION
Should be configured network services and network setting of ADA-14040 Wireless Serial Server. Below are described the steps of
software installation and network setting configuration of converter.
5.1. INITIAL CONFIGURATION USING ADAFINDER SOFTWARE
5.1.1. ADAFINDER INSTALLATION
The initial configuration of network setting at the Wireless Serial Server can be made by using ADAFinder or ADAWiz software. The
installation is automatically after insert the CD (compact disc) to an optical drive. If the autorun doesn't start, should run the file
setup.exe located in main CD catalogue. After installation the software ADAFinder and ADAWiz are available in Start->Programs-
>CEL-M R-> D Net.
Before running ADA Finder software should be set the option [Obtain an IP address automatically] in TCP/IP protocol configuration
of Wi-Fi network adapter - it let find the Wireless Serial Server in WLAN network. Run ADAFinder software.
5.1.2. NETWORK SETTING
The ADAFinder is use for configuration of the Serial Server's network setting.
Before running the ADAFinder should be disabled the System FireWall!
After running, the program is searching local network (LAN , WLAN) and if find the ADA-14040, will add them to the list of available
port servers [De ices:] Fig.14.
To change the network setting of ADA-14040, should:
–select the converter from the list [De ices:] and press [Configure IP Settings],
–in windows [Set IP Address] select option 'Automatically obtain network settings ia DHCP' (default setting) or 'Manually
configure network setting'. In case of manual configuration should be enter IP Address of the converter, Subnet Mask, Default
Gateway and the Password (default: dbps) of the ADA-14040 administrator for authorization of changes.
–press [Apply], the configuration will be saved to the serial server and will restart. After message 'Operation made successfully',
press [Refresh List] in ADAFinder window. After re-searching the lists of available port servers [De ices:] will be refreshed.
Other buttons of the program main menu:
–selecting the serial server from the list and pressing [Reboot De ice], will make programmable reset – new configuration of
network setting will be activated,
–selecting the serial server from the list and pressing [De ice Information], will show a window information about the settings,
–selecting the serial server from the list and pressing [Open Web Interface], will run Internet browser and open the configuration
page of the serial server.
13
ADA-14040

Fig 14. Base configuration network by the use ADAFinder software
Fig 15. View of ADAFinder configuring IP address window
14
ADA-14040

5.2. CONFIGURATION AND MANAGEMENT WITH USE OF INTERNET BROWSER
Integrated WWW server to ADA-14040 enable to easy configuration and diagnostics of LAN and WAN network devices with use
Internet browser.
For configuration open the Internet Browser and type the address http://<con erter-ip-address>/admin/administration.htm. The
login windows will open. Enter User name and Password as follow:
Username: root
Password: dbps
If the the Username and the Password are correct will open the page as below.
Fig 16. The page for configuration and management of ADA-14040 by the use internet browser
15
ADA-14040

5.2.1. NETWORK CONFIGURATION
5.2.1.1. IP ADDRESS SETTINGS
To make a changes of default setting or new configuration of ADA-14040, select on left panel Configuration -> Network and then on
right [WiFi IP Settings] (Fig.17) and make the selection: Obtain an IP address automatically using DHCP or Use the following IP
address (in this case, enter IP Address of the server, Subnet Mask, Default Gateway), press [Apply] for save. After the message
Changes ha e been sa ed successfully, from left menu select Administrator -> Reboot on right press [Reboot], will be
programmable reset of the server and new configuration of network setting will be activated.
Fig 17. Page of Network Configuration
5.2.1.2. WLAN CONFIGURATION
To make a changes of default setting or new configuration of ADA-14040, select on left panel Configuration -> Network and then on
right [WiFi LAN Settings].
Enter in [Network name] or [SSID] the name of the network to which the server will be connected. If the [Network name] will be
empty, the ADA-14040 will connect to first find wireless network.
The type of connection to wireless network can be configured by options like:
[• Connect to any a ailable wireless network]
[• Connect to access point (infrastructure) networks only]
[• Connect to peer-to-peer (ad-hoc) networks only]
From list [Country] select the country, this choice will reduce settings of channels to the list of legally defined for the country.
From list [Channel] select the channel on which the server will operate. Selection the Auto-Scan from list will cause searching of all
available frequencies until the Server will not find available wireless networks Access Point type or Ad-Hoc to which can connect.
Selection [Enable Short Preamble] let enlarge capacity/ efficiency of wireless network - if the network supports the Short Preamble.
5.2.1.3. WLAN SECURITY SETTINGS
To make a changes of default setting or new configuration of ADA-14040, select on left panel Configuration -> Network and then on
right [WiFi Security Settings]. In this section can be configured security and access authorization to W-Fi network in many ways.
The serial server automatically will choose and specify the mode of authentication and encryption method at accessing to Wi-Fi
network.
If wireless network uses Open System structure, an unsecured, should not be switched the factory settings.
Attention !
The settings of WPA protection need wireless network based on de ices Access Point type and are not a ailable in networks
Ad-Hoc (peer-to-peer) type.
WPA-PSK protection is a ailable only if is entered the name of network in [Network Name] or SSID.
Section [WiFi Security Settings] consists of:
• Network Authentication
• Data Encryption
• WEP Keys
• WPA PSK
• Username/Password
Attention !
For detailed information about configuration this section are a ailable after logging on the port ser er.
16
ADA-14040

5.2.1.4. AUTHENTICATION SETTINGS
To make a changes of default setting or new configuration of ADA-14040, select on left panel Configuration -> Network and then on
right [WiFi 802.1x Authentication Settings]. These options are only configurable when [WEP with 802.1x authentication] or [WPA
with 802.1x authentication] are enabled on the [WiFi Security Settings] tab.
Attention !
For detailed information about configuration this section are a ailable after logging on the port ser er .
5.2.1.5. NETWORK SERVICES SETTINGS
To make a changes of default setting or new configuration of ADA-14040, select on left panel Configuration -> Network and then on
right [Network Ser ices Settings]. This section is used to enable or disable many of network services or configuration of TCP/UDP
ports on which they operate.
Attention !
For detailed information about configuration this section are a ailable after logging on the port ser er .
5.2.1.6. IP FORWARDING SETTINGS
To make a changes of default setting or new configuration of ADA-14040, select on left panel Configuration -> Network and then on
right [IP Forwarding Settings]. This section is used to manage of IP routing (forwarding) of packets between network interfaces.
Static routes may be configured and added to the IP routing table to provide additional packet routing rules.
Attention !
For detailed information about configuration this section are a ailable after logging on the port ser er .
5.2.1.7. SOCKET TUNNEL SETTINGS
To make a changes of default setting or new configuration of ADA-14040, select on left panel Configuration -> Network and then on
right [Socket Tunnel Settings]. This section is used to connect two network devices - one on the ADA-14040 RS485/RS422 to Wi-Fi
Wireless Serial Server's local network and the other on the remote network.
Attention !
For detailed information about configuration this section are a ailable after logging on the port ser er .
5.2.1.8. ADVANCED NETWORK SETTINGS
To make a changes of default setting or new configuration of ADA-14040, select on left panel Configuration -> Network and then on
right [Ad anced Network Settings]. This section is used to fine tune the network connection and network interfaces. The default
settings will typically work in most situations.
Attention !
For detailed information about configuration this section are a ailable after logging on the port ser er .
5.2.2. SERIAL PORT CONFIGURATION
The configuration of serial port of the ADA-14040 server includes: port description, setting of port profile (operating mode) and setting
of serial transmission parameters (baud rate, data bits, parity, stop bits).
Select on left panel Configuration -> Serial Ports and then on right [Port 1], will open the configuration details page, includes:
- Port Profile Settings,
- Basic Serial Settings,
- Advanced Serial Settings,
5.2.2.1. PORT PROFILE (OPERATING MODE)
Select on right panel Serial Port Configuration -> Port Profile Settings and then press Change Profile... will open the page Select
Port Profile for selection of port profiles (fig. 18).
Configuration of profile used in typical solutions will be presented in next chapters.
Attention !
For detailed information about configuration this section are a ailable after logging on the port ser er .
17
ADA-14040

Fig 18. Selection serial port profile page
5.2.2.1.1. REALPORT (VIRTUAL PORT )
Choosing RealPort (Virtual Port, Fig. 18) is configured the serial port of ADA-14040 server, for communication with virtual port COM of
computer. Press [Apply] for save. After installing drivers of virtual port COM in operating system, data sending by application to this
port are transferred through WLAN/WAN to ADA-14040 server and are present on his serial port. The drivers RealPort installation is
presented in chapter 6. Normally RealPort service allows for one connection through WLAN/WAN, between computer and server port.
Connection from other computers to the server will be not taken, what will cause the error message.
5.2.2.1.2. TCP SOCKETS
Choosing TCP Sockets is configured the serial port of ADA-14040 server, for communication with PC by the use of TCP socked.
Data sending by application to TCP socked are transferred through network. Press [Apply] for save.
5.2.2.1.2.1. TCP SERVER AND CLIENT
After saving the TCP Sockets profile, will open section TCP Ser er Settings (picture below), includes configuration of:
–port for Telnet service; standard 2001,
–port for serial port service; standard 2101 (through this port are transferred data to serial port of server),
–port for security access to serial port service; standard 2601 (through this port are transferred data to serial port of server),
and possibility of selection Enable TCP Keep Ali e – connection will be kept, even if the data is not transmitted over the network.
18
ADA-14040

Fig 19. Example configuration TCP ser er
For configuration of TCP Client Settings (Fig 20), select Automatically establish TCP connections, connection between client and
TCP server will be automatically. Then select Always connect and maintain connection option and in section Establish
connection to the following network ser ice enter IP address of device to which TCP client will send data, select service and enter
port. There is also possible to select an option Enable TCP Keep-Ali e – connection will be kept, even if the data is not transmitted
over the network.
For saving the configuration press [Apply].
5.2.2.1.2.2. 'ENABLE TCP KEEP-ALIVE' CONFIGURATION
Option Enable TCP Keep-Ali e keeps connection between server and client, even if the data is not transmitted over the network and
reconnection in case of interruption.
Configuration of this option can be made by selection Configuration > Network > Ad anced Network Settings > TCP Keep-Ali e
Settings. In this section can be configured:
- Idle Time – specifies the period of time (scope 10 sec. - 24 hours) that a TCP connection has to be idle before a keep-alive is sent.
- Probe Inter al – the time in seconds between each keep-alive probe (scope 10 – 75 sec.),
- Probe Count – the number of times TCP probes the connection to determine (scope 5 – 30 trials).
Fig 20. Example configuration of TCP client
Attention !
Default port of serial port ser ice is 2101.
If on the local network conflict with other network ser ice using the same port, change number of port into another for the
ser ice ser er of serial bridge and client in the ser er port configuration.
19
ADA-14040

5.2.2.1.2.3. SERIAL PORT TRANSMISSION PARAMETERS
For proper operation of ADA-14040 with device connected to his serial port, should be set the same transmission parameters for both
devices.
Select Basic Serial Settings and enter Baud Rate, Data Bits, Parity, Stop Bits, the same parameter like has device connected to
the Wireless Serial Server.
5.2.2.1.3. UDP SOCKETS
Choosing UDP Sockets is configured the serial port of ADA-14040 server, for direct communication with PC or other device
connected to the network by the use of TCP socked. Data sending by application or other device/s to this port are transferred through
WLAN/WAN to ADA-14040 server and are present on his serial port. Press [Apply] for save.
5.2.2.1.3.1. UDP CLIENT & SERVER CONFIGURATION IN CASE OF MASTER DEVICE
After saving the UDP Sockets profile, will open section UDP Ser er Settings with operating parameters like on picture below. Set an
access to UDP server on e.g. 2101 port. Then select Automatically send serial data in section UDP Client Settings, this
automatically send received data by the use UDP client service to the SLAVE device connected to LAN/WAN through e.g. ADA-
13020, ADA-13028L, ADA-13040, ADA-13110, ADA-14040.
On lists Send data to the following network ser ices are addresses of network devices and ports to which will be send data. In
field:
- Description - enter e.g. location of the converter and SLAVE device,
- Send To - enter IP address of e.g. converter, connected to SLAVE device,
- UDP Port - enter the number of port on which is working UDP Server of converter connected to SLAVE device and press [Add]
In the section Send data under any of the following conditions is recommended to set parameters like on picture bellow.
For saving the configuration of UDP client and server for MASTER device, press [Apply].
Fig 21. Example configuration of ADA-14040 UDP ser er&client connected to MASTER de ice
20
ADA-14040
Table of contents
Other CEL-MAR Server manuals