ADA-13040MG User manual ADA-13040MG ETHERNET to RS485/RS422 Converter with MODBUS GATEWAY Copyright © 2001-2014 CEL-MAR sp.j. 1 io_ada-13040MG_en_v1.
ADA-13040MG Contents 1. GENERAL INFORMATION...................................................................................................................................................................... 4 1.1. WARRANTED INFORMATION ...................................................................................................................................................... 4 1.2. GENERAL CONDITIONS FOR SAFE USE....................................................................................
ADA-13040MG 6. USING VIRTUAL PORT SERVICE [REALPORT] ................................................................................................................................ 25 6.1. VIRTUAL PORT DRIVER INSTALLATION IN WINDOWS XP....................................................................................................25 6.2. REALPORT CONFIGURATION IN WINDOWS XP......................................................................................................................25 7.
ADA-13040MG 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 from date of sale. 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 The ADA-13040MG converter is covered by a two year warranty from date of sale.
ADA-13040MG • • • • • • • • • • Power supply 10 - 30 VDC stable min.
ADA-13040MG 2.3.3. COMMUNICATIONS IN THE SERIAL BRIDGE MODE Communication in the serial bridge mode allows to transfer data via Ethernet network between serial port of the Servers ports in oneto-one topology or one-to-many by the use of client and server TCP/UDP services. 2.3.4.
ADA-13040MG In the modular socket ETHERNET interface of converter, are implemented two LED's (Fig. 2): – Green ACT signaling state of sending or receiving data, – Orange LINK signaling active network connection. The ADA-13040MG converter can function in the ETHERNET network as: – virtual serial bridge [RealPort], – TCP serial bridge, – UDP serial bridge. Additional information about Ethernet connection will be describe in chapters below. 3.2.1.
ADA-13040MG INTERNET ROUTER Public IP address ROUTER Public IP address ETHERNET Straight cable (Table 1) ETHERNET Straight cable (Table 1) RS485 interface devices Computer with a network adapter Static IP address ADA-13040MG Static IP address RS485 network Fig. 5. The WAN connection to operating in the Real Port mode 3.2.3. CONNECTION FOR OPERATING IN TCP & UDP SERIAL BRIDGE MODE Fig.
ADA-13040MG Local Network ETHERNET base on switch ETHERNET Straight cable (Table 1) SLAVE devices with RS485 interface MASTER device with RS485 interface ADA-13040MG Static IP address ADA-13040MG Static IP address RS485 Network SLAVE devices with RS485 interface RS485 network ETHERNET Straight cable (Table 1) ADA-13040MG Static IP address RS485 network Fig. 7. The LAN connection to operating in the UDP serial bridge mode, one-to-many 3.2.4.
ADA-13040MG 3.3. RS485/RS422 BUS CONNECTION The RS485/RS422 interface is available in the ADA-13040MG on screw terminal block, labelled as: Tx+/A, Tx-/B, Rx+, Rx-. The ADA-13040MG allows operating on the RS422 bus and the 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-13040MG in RS422 mode. Then connect wires of bus to terminals TX+/A, TX-/B, RX+, RX-, like below.
ADA-13040MG ADA-13040MG ETHERNET connector RS485(2W) Network 1200m RS485/422 terminal Tx+/A Tx-/B Rx+ RxGND RJ 45 Rt RS485(2W) terminal Rx+ RxTx+/ A Tx-/ B GND RS485(2W) terminal NC NC A B GND Rt Power Supply RS485(2W) terminal NC NC A B GND VV+ Vss+ Vss- Fig. 11. Example connection of the RS485(2W) devices to ADA-13040MG 3.3.4.
ADA-13040MG 5.2. INITIAL CONFIGURATION USING ADAFINDER SOFTWARE 5.2.1. ADAFINDER INSTALLATION The initial configuration of network setting at the converter 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-MAR->ADANet. 5.2.2.
ADA-13040MG Fig. 13. ADAFinder configuration of IP network address 5.3. CONFIGURATION AND MANAGEMENT BY THE USE OF INTERNET BROWSER Integrated WWW server to ADA-13040MG enable to easy configuration and diagnostics of LAN and WAN network devices by the use Internet browser. For configuration open the Internet Browser and type the address http:///admin/administration.htm. The login windows will open.
ADA-13040MG 5.3.1. NETWORK CONFIGURATION To make a changes of default setting or new configuration of ADA-13040MG, select on left panel Configuration -> Network and then on right [IP Settings] (Fig.15) and make the selection: Obtain an IP address automatically using DHCP or Use the following IP address (in this option, enter IP Address of the converter, Subnet Mask, Default Gateway), press [Apply] for save.
ADA-13040MG Fig. 16. Selection serial port profile web 5.3.2.1.1. REALPORT (VIRTUAL PORT ) CONFIGURATION Choosing RealPort (Virtual Port, Fig. 16) is configured the serial port of ADA-13040MG, for communication with virtual port COM of computer. Press [Apply] for save. After installation driver (RealPort) of virtual port COM (see chapter 6) in operating system, data sending by application to this port are transferred through WLAN/WAN to ADA-13040MG converter and are present on his serial port.
ADA-13040MG Fig. 17. Example configuration of TCP server For configuration of TCP Client Settings (Fig 18), 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 service enter IP address of device to which TCP client will send data, select service and enter port.
ADA-13040MG 5.3.2.1.2.3. SERIAL PORT TRANSMISSION PARAMETERS CONFIGURATION For proper operation of ADA-13040MG with device connected to his RS485/RS422 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 serial port of the converter. 5.3.2.1.3.
ADA-13040MG 5.3.2.1.3.2. UDP CLIENT & SERVER CONFIGURATION IN CASE OF SLAVE DEVICE Set operating parameters of UDP server for SLAVE device connected via serial port to ADA-13040MG, eg 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 MASTER device connected to LAN / WAN through e.g.
ADA-13040MG 5.3.2.1.3.3. SERIAL PORT TRANSMISSION PARAMETERS For proper operation of ADA-13040MG with device connected to his RS485/RS422 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 serial port of the converter. 5.3.2.1.4.
ADA-13040MG Fig. 22. Example configuration for communication with MODBUS-MASTER devices – choice of devices and protocols Set the options in section Modbus RTU Settings like on the figure below and press [Apply]. Fig. 23. Example configuration for communication with MODBUS-MASTER devices – Modbus RTU setting Then select section Slave Destinations (Packet Routing) – figure below.
ADA-13040MG Fig. 25. Example configuration for communication with MODBUS-MASTER devices – table entry configuration for SLAVE type devices On section Advanced Protocol Settings (fig. below), set the time out by entry: – Character timeout - value in ms., maximum delay or gap betweens bytes of a message – default 20 ms. – Message timeout - value in ms., maximum delay or gap betweens bytes of a message – default 2500ms; this time must be less than the Timeout set on SLAVE and MASTER MODBUS-RTU devices.
ADA-13040MG Fig. 27. Example configuration for communication with MODBUS-SLAVE devices – choice of devices and protocols Set options in section [Modbus RTU Settings] eg. As on picture below. Press [Apply] for saving configuration. Fig. 28. Example configuration for communication with MODBUS-SLAVE devices – Modbus RTU setting Go to section Modbus/TCP Network Settings [Global], configuration options set as on the figure below. Press [Apply] for saving configuration. Fig. 29.
ADA-13040MG ATTENTION ! Default port of Industrial Automation (Modbus Gateway) service is 502. If on the local network is conflict with other network service using the same port, in the converter's port configuration change number of port into another for the server and client service. On section Advanced Protocol Settings (fig. below), set the time out by entry: – Character timeout - value in ms., maximum delay or gap betweens bytes of a message – default 20 ms. – Message timeout - value in ms.
ADA-13040MG C/ User Permissions - user permissions to configuration and management of the ADA-13040MG converter, where are an options: None - no permission, Read - permission to read, Read Self - permission to read own settings, but not other users. Read/Write - full permission to read and write the setting. Read/Write Self - permission to read and write own setting, but not other users. Read All/Write Self - permission to read the setting for all users and modify only own setting (not other users).
ADA-13040MG 6. USING VIRTUAL PORT SERVICE [REALPORT] 6.1. VIRTUAL PORT DRIVER INSTALLATION IN WINDOWS XP The installation of virtual serial port drivers should be done for the CD, by choosing: - Drivers/Win98SEME – for Windows 98, Windows 98SE, Windows ME Operating systems, - Drivers/Win2000 – for Windows2000 Operating systems, - Drivers/WinXP2003Vista_x86_x64 – for Windows XP, Windows Server2003, Windows Vista Operating systems. Installation of Virtual serial port drivers is as follow: 1.
ADA-13040MG Fig. 31. Devices view on Windows XP Fig. 32.
ADA-13040MG 7. FACTORY DEFAULT Parameter Value User name root Password dbps IP address Obtain an IP address automatically using DHCP Operating mode RealPort Bout rate[bits/sec] 9600 Number of data bits 8 Parity Control no Number of stop bits 1 Flow Control no 8. PROBLEMS Problem Solution I forgot the password Restoring Default Settings according to steps below: 1. Power OFF the ADA-13040MG 2. Remove the cover of ETHERNET connector, 3.
ADA-13040MG Transmission line Standards Transmission line Optical Signalization 4-pair twisted cable, UTP 4x2x0,5 (24AWG), shield inside large interferences STP 4x2x0,5 (24AWG)). IEEE 802.3 1-2-pair twisted cable, eg. UTP 1x2x0,5 (24AWG) /2x2x0,5(24AWG), shield inside large interferences. EIA-485, CCITT V.11 asynchronous transmission half duplex or full duplex. • PWD – green LED power supply, • RX - red LED data receiving on RS485/RS422, • TX - yellow LED data transmission via RS485/RS422.