ZLAN ZLAN5143BI User Manual

ZLAN ZLAN5143BI User Manual

Optocoupler isolating-type serial device server/modbus gateway rs232/485/422 to tcp/ip converter modbus tcp to modbus rtu

Advertisement

Quick Links

ZLAN5143BI
Optocoupler Isolating-type
Serial Device Server/Modbus
Gateway
User Manual
RS232/485/422 to TCP/IP Converter
Modbus TCP to Modbus RTU
CopyRight©2008 Shanghai ZLAN Information Technology Co., Ltd. All right
reserved
Document DI: ZL DUI 20170207.1.0
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ZLAN5143BI and is the answer not in the manual?

Questions and answers

Summary of Contents for ZLAN ZLAN5143BI

  • Page 1 ZLAN5143BI Optocoupler Isolating-type Serial Device Server/Modbus Gateway User Manual RS232/485/422 to TCP/IP Converter Modbus TCP to Modbus RTU CopyRight©2008 Shanghai ZLAN Information Technology Co., Ltd. All right reserved Document DI: ZL DUI 20170207.1.0...
  • Page 2 No part of this manual may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or through information storage and retrieval systems, for any purpose other than for the purchaser’s personal use, without the express written permission of Shanghai ZLAN information Technology Co., Ltd.
  • Page 3: Table Of Contents

    Contents Summary ..........................4 Features ..........................6 Hardware characteristics ..................6 Software functions ....................7 Advanced software features ................. 8 Technical Parameters ......................8 Instructions ..........................9 Hardware ........................9 Hardware connection .................... 14 Software Installation ....................14 Parameter Configuration ..................15 TCP communication test ..................
  • Page 4: Summary

    1. Summary ZLAN5143BI is a serial device server with isolation of RS485/422, which can effectively isolate the influence of interference on the work of the equipment on RS485 bus and ensure the stability of the equipment. It is suitable for use under the interference of RS485 bus.
  • Page 5 Network information collection of medical equipment; Typical application is shown as Figure 2. The original serial port connect with ZLAN5143BI, then connect ZLAN5143BI to the network via cable. The software on PC establish connection with 5143BI through TCP/IP or virtual serial port. Any data...
  • Page 6: Features

    Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com sent from serial device will be transparently sent to PC appointed by ZLAN5143BI, and data sent by PC to ZLAN5143BI via network also will be transparently sent to serial device. Figure 2 Connection Diagram 2. Features 2.1 Hardware characteristics...
  • Page 7: Software Functions

    Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com device and the serial port server. 2) Built-in lightning protection of power supply: built-in pressure sensitive resistance and ceramic discharge tube can effectively protect the internal circuit of serial device server in the case of power surge.
  • Page 8: Advanced Software Features

    Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com receiving status of devices through software. Virtual serial port supports data monitoring. 2.3 Advanced software features The 4 number in 5143BI indicates that advanced soft functions are supported, including: 1) Support Modbus gateway function, support Modbus RTU to Modbus TCP. The storage Modbus can be supported, and the equipment data can be collected automatically and stored.
  • Page 9: Instructions

    Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Ethernet: 10M/100M, 2KV surge protection Serial RS232/485/422×1: RXD, TXD, GND, CTS, RTS Serial Parameters None, Odd, Even, Mark, Baud rate: 1200~115200bps Parity bits: Space RTS/CTS, XON/XOFF, Data bits: Flow control: NONE...
  • Page 10 Reset switch RS232 Figure 3 Front View The front view of ZLAN5143BI serial device server is shown as FIG 3: ZLAN5143BI use black anti-radiation SECC board. 1. Power supply: Either DC socket or terminal input. Socket joint: the outer diameter is 5.5mm, and the inner diameter is 2.1mm. Terminal: 5.08mm terminal.
  • Page 11 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com 2. RS485/422: TB and TA are acceptable if only RS485 is used. TB is 485 B line (negative line), TA is 485 A line (positive line). If it is RS422, it needs to connect RA and RB, and connect the positive and negative lines of 422.
  • Page 12 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Input Same as CTS Output After the flow control in using, the serial device server will accept the data of the serial device when the pin is 0. After the flow control in using, the serial device server will send the data to the serial device when the pin is 0.
  • Page 13 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com The Active lamp is green when the Ethernet port sends data Active Indicator to the serial port. The shining time is one second longer than the actual communication time, and it is more convenient to find short data communication.
  • Page 14: Hardware Connection

    Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Figure 6 DIN RAIL 4.2 Hardware connection Generally speaking, the serial device server only needs to connect power supply, serial port and network cable. The power supply can adopt configured 12V power adapter or 2-wire power supply on site, which can be directly connected to plus or minus terminals of the power supply.
  • Page 15: Parameter Configuration

    Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com ZLVircom can be used to configure the device IP and other parameters, also can create virtual serial port. If no need the virtual serial port function, you can download the free-installation version.
  • Page 16 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Figure 7 ZLVircom Main Interface Figure 8 Device List From the device list, you can see all of the current online devices, and you can search for devices that are not in one network segment. There is no need to use...
  • Page 17 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Click the “Edit Device” to configure the device parameters. Figure 9 Device Parameters In this interface, the user can set the parameters of the device, then click "Modify Setting", and the parameters are set to the flash of the device, with power-off no lost.
  • Page 18 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com of 9 bytes, and support the Chinese name. Dev ID The factory's sole ID, cannot be modified. Firmware The firmware version of core module Version Please refer to the Table 4 “support functions”...
  • Page 19 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com 460800 Data Bits 5, 6, 7, 8, 9 Parity None, Even, Odd, Mark, Space Stop Bits 1, 2 Flow Control None (no flow control), RS232 port valid CTS/RTS, DTR/DCR, XON/XOFF DNS Server...
  • Page 20 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com (3) Set to 0~254, if the device is working on the TCP client, the device will send the parameters to the destination computer every " keep alive time ". When set to 255, no have the parameter sending function.
  • Page 21: Tcp Communication Test

    Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Modbus TCP to RTU Only the models that the third bit is 4 support this function. Modbus TCP to RTU can be implemented. It also supports multi-host capabilities. Serial port modify...
  • Page 22 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Figure 10 TCP communication diagram Now suppose the PC COM port (USB to RS232 line) connect with serial port of serial device server, then open the serial debugging assistant ZLComDebug, and open the corresponding COM as figure 11;...
  • Page 23: Virtual Serial Port Test

    Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Figure 12 SocketTest Send-receive Interface 4.6 Virtual serial port test SocketTest in figure 10 communicates directly with the serial port server through TCP. In order to enable users to communicate with the serial port server with the developed serial port software, it is necessary to add a virtual serial port between the user program and the serial port server.
  • Page 24 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Click on the "Serial Manage" of the main interface of ZLVircom, then click "Add", and select COM5, where COM5 is the COM port that didn’t exist on the computer. Figure 14 Add Virtual Serial Port Then enter the “device manage”, and double-click the device that you need to bind...
  • Page 25 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Figure 15 Virtual Serial Port has been connected Now close the before SocketTest and open a new ZLComdebug as the user's serial port program, now open COM5. At this point, COM5 (virtual serial port) and COM4 (hardware serial port) can send-receive data through networking products.
  • Page 26: Modbus Tcp Test

    Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Figure 16 Communication via Virtual Serial Port 4.7 Modbus TCP test By default, serial and network data is transmitted transparently. If you need to implement the Modbus TCP to RTU, requires selecting “transfer protocol” for "Modbus TCP ...
  • Page 27: Web Configuration

    Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com Figure 17 Enable Modbus TCP If the user's Modbus TCP software is used as Slave, it is necessary to change the working mode to client based on the transfer protocol selection, and the destination IP change to the computer IP of Modbus TCP software, and the destination port is 502, as shown in figure 18.
  • Page 28 Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com http://192.168.1.200, to open the following page. Figure 19 Enter Password in Password: default is 123456. Click the login button to login. Figure 20 Web configuration interface The serial port server parameters can be modified in the web page that appears, and the related parameters can refer to the meaning of the parameters in table 3.
  • Page 29: After-Service

    Shanghai ZLAN Information Technology Co., Ltd Tel: +86-17321037177 http://www.zlmcu.com After modifying parameters, click the "submit" button. 5. After-service Shanghai ZLAN Information Technology Co., Ltd. Address: 12 floor, D building, No. 80 CaoBao road, Xuhui District, Shanghai, China Phone: 021-64325189 Fax: 021-64325200 Web: http://www.zlmcu.com...

Table of Contents