ZLAN 1003 User Manual Download Page 78

Shanghai ZLAN Information Technology Co., Ltd          Tel: +86-17321037177            http://www.zlmcu.com 

78 

VCC1.8V 

-0.3

2.16V 

0

1.98V 

1.8V 

 

VCC3.3V 

-0.3

3.8V 

0

3.6V 

3.3V 

 

IO voltage 

-0.3

5.8V 

0

5.25V 

3.3V 

 

PIN max current input 

 

 

20mA 

 

IO high-level drive current 

 

 

4mA 

 

IO low-level drive current 

 

 

4mA 

 

Storage temp. 

- 40 to 150

 

 

 

 

3.3V max current   

 

 

70mA 

 

1.8V max current 

 

 

160mA/100mA 

SPEED pin configure to high level 

(High-speed mode) as 160mA; 

SPEED pin configure to low level 

(Low-speed mode) as 100mA. 

Operating temp. 

- 40 to 105

 

 

 

 

Heat resistance to shell 

 

 

7.0°C/W 

 

Heat resistance to 

environment 

 

 

45.0°C/W 

 

18. Encapsulation Size 

80-pin LQFP encapsulation 

Summary of Contents for 1003

Page 1: ...1 ZLAN1003 ZLAN104 3 ZLAN1043N User Manual Single Chip Serial Port to TCP IP Solution CopyRight 2008 Shanghai ZLAN Information Technology Co Ltd All right reserved Document DI ZL DUI 201303271 1 0...

Page 2: ...s subject to change without notice It is against the law to copy the document on any medium except as specifically allowed in the license or nondisclosure agreement The purchaser may make one copy of...

Page 3: ...3003S Schematic Diagram 20 3 2 RJ45 without Network Transformer 23 3 2 1 SNMP Card Figure 23 3 2 2 SNMP Card Schematic Diagram 23 3 3 High speed and low speed selection 25 3 4 Use the internal 1 8V st...

Page 4: ...ddress 61 8 1 2 Realcom Agreement 61 8 1 3 Custom Register Package 62 8 1 4 Transcode Configuration File 63 8 2 Heartbeat Packet 64 8 2 1 Implied Heartbeat 64 8 2 2 REALCOM Agreement 65 8 2 3 Custom H...

Page 5: ...puter and the data sent by the cloud computer is forwarded to UART The implementation of these functions no need user development program as the internal procedures of ZLAN1003 are already solidified...

Page 6: ...loud 6 It can be configured as Transcoding function which can automatically send instructions by serial port acquire the instrument data and then upload according to the customized format 7 With Modbu...

Page 7: ...nt but can be upgraded through the Ethernet port The external interface of the chip is mainly UART Ethernet and IO interface ZLAN1003 internal function modules include function of chip parameters of n...

Page 8: ...ne Odd Even Mark Space five types support hardware flow control and software flow control UART2 support 1200 921 6Kbps 80 feet LQFP lead free encapsulation Abundant signal light indicator light for TC...

Page 9: ...us gateway function support Modbus RTU to Modbus TCP Can support storage Modbus can automatically collect device data and store it Also support non storage Modbus gateway Support multi host function i...

Page 10: ...econdary development the UART that joint the user MCU directly sends and receives the data so can transmit data to the computer program on the network The user use steps are as follows 1 ZLAN provides...

Page 11: ...plete the development of a IoT product based on Ethernet This zero software development feature provides a quick solution for the quick launch of user products and also avoids problems such as long so...

Page 12: ...can realize UART to TCP IP and the ZLAN1043 has powerful Transcoding programming function so users can ignore MCU this can reduce circuit complexity and save cost We list the following situations 1 Co...

Page 13: ...thernet port gateway function need to add external MCU also without software development In addition ZLAN1003 has RS485EN pin which can support all kinds of 485 chips 1 4 4 Seamless connection with th...

Page 14: ...virtual serial port function If the user does not want to modify serial port software of the upper computer it can also meet the requirements 1 5 Product Selection Model Name Function ZLAN1003 Serial...

Page 15: ...eway single chip which can be used to upgrade Modbus RTU equipment to Modbus TCP equipment Industrial automation RS485 232 signals of various industrial devices are converted into TCP IP signals for c...

Page 16: ...15 23 36 37 46 56 66 75 1 8V input When in single power mode connect VCC18O pin because ZLAN1003 has a built in 3 3 to 1 8 voltage regulator VCC18O is 1 8v output and VCC18 can be supplied by VCC18O...

Page 17: ...ial port input output pin can directly connect with MCU port Note that RXD connect user MCU TXD TXD connect user MCU RXD CTS CTS2 IN 16 Hardware flow control input when chip configured as CTS RTS DSR...

Page 18: ...h network server or in UDP Mode and the cable connection normally thus the module can send and receive data If cut cable the LINK will be 1 ACT OUT 54 Data activity indicator When 0 means ZLAN1003 por...

Page 19: ...r light and key input will be disabled The following pins can be used as input and output The output is to control the level of any of the pins through instruction defined by any value As input can re...

Page 20: ...ntroduce ZLSN3003S and SNMP card respectively 3 1 RJ45 with Network Transformer 3 1 1 ZLSN3003S Figure Figure 8 ZLSN3003S ZLSN3003S is TTL level serial port to Ethernet port product It adopts the sche...

Page 21: ...476 K1 01R N J C 01 0 1u RUN_ L ED VCC1 8 CTS CTS n RST VCC18 VCC33 TXD R UN_LED PULL _UP1 RXD RTS CONFIG SPEED PULL _DOWN5 PULL _DOWN4 SPEED PULL _UP2 PULL _DOWN1 PULL _DOWN2 PULL _DOWN3 SPEED CONFI...

Page 22: ...ance of 1 precision 9 The reset chip uses max811reus where MR pins are for manually reset Figure 10 ZLAN1003 Schematic Diagram Ethernet interface Part RJ45 integrated network transformer The design of...

Page 23: ...owered by connecting with RS232 and 12V power supply of the cast through golden finger reading the data on RS232 and converting data into SNMP protocol to upload the network The board card is a two la...

Page 24: ...C 80 NC 79 GND 78 NC 77 NC 1 NC 2 NC 3 VCC 18 4 NC 5 NC 6 NC 7 NC 8 R XD2 9 TXD2 10 NC 11 NC 12 VCC 33 13 R UN_LED 14 VCC 18 15 C TS 16 GND 17 NC 18 NC 19 NC 20 GND 40 XTL 39 XTL 38 VCC18 37 VC18 36 V...

Page 25: ...the RJ45 with the Ethernet port light and four resistance of 1 precision 3 3 High speed and low speed selection C9 0 1u F D1 1N4 004 R8 1 2K 1 C10 0 1u F D2 1N5 819 C8 10 0uF 3 5V C11 10 0uF 1 6V TC...

Page 26: ...nerating ZLAN1003 has a regulating circuit inside in VCC33VI pins enter VCC3 3 V it produces a 1 8v power output in VCCI8O The VCC18O connecting with other VCC18 pins supply power to the chip In figur...

Page 27: ...support 115200bps 3 6 PCB wiring PCB wiring don t have high requirement Please note the following points 1 The crystal should be as close to the pin as possible Do not let the network line RX RX TX T...

Page 28: ...tarted every time when the computer start to create virtual serial ports 4 2 Parameter Configuration After ZLVircom was installed and the circuit board of the chip power on as well connect the RJ45 of...

Page 29: ...Click Edit Device to configure the parameters Figure 20 Device Edit Interface In this interface the user can set the parameters of the device then click Modify Setting and the parameters are set to th...

Page 30: ...evice server when in the TCP Server or UDP mode As a client it is best to specify that the port is port 0 which is good for increasing the connection speed and the system will randomly assign a local...

Page 31: ...red Dest Mode Static Dynamic UDP working mode if the destination computer is described by a domain name it s best to choose the static mode If there are multiple computers in the LAN communicating wit...

Page 32: ...nection Note first TCP connection would immediately such as hardware on electricity through zlvircom software restart equipment no data only after the first connection failure will try again after wai...

Page 33: ...meter Support serial port AT like commands to configure and read device parameters Automatic get IP Support DHCP client protocol Storage extension EX function Subsequent extension Multi TCP connection...

Page 34: ...download htm and as TCP client fill in the serial device server IP with destination IP currently 192 168 1 200 destination port is 4196 and then click open button as figure 23 In SocketTest enter sock...

Page 35: ...Shanghai ZLAN Information Technology Co Ltd Tel 86 17321037177 http www zlmcu com 35 Figure 22 ComDebug Send receive Interface...

Page 36: ...end receive Interface 4 4 Virtual Serial Port Test In FIG 22 SocketTest is through TCP UDP to communicate with device in order to let the user s developed serial port software can be used but no need...

Page 37: ...n the user program opens the COM to communicate it can through ZLVircom serial device server send to user serial device Here shows the operating steps as below Figure 24 Virtual Serial Port Use Click...

Page 38: ...igure 26 Virtual Serial Port has been connected Open ZLComdebug to simulate the user s serial port program open COM5 the virtual serial port above and open another ZLComdebug to simulate a serial port...

Page 39: ...tically changed to 502 the user s Modbus TCP tool connects to the port 502 port of the serial device server and the sending Modbus TCP command is converted to the RTU instruction output from the seria...

Page 40: ...ftware in and destination port is 502 as shown in figure 29 Figure 29 Modbus TCP as Client 4 6 Web Configuration Using ZLVircom can search and configure device parameters within different network segm...

Page 41: ...ollowing page Figure 30 2 Enter Password in Password default is 123456 Click the login button to log in Figure 31 3 In the appearance of the Web page you can modify the parameters of the serial device...

Page 42: ...nsparent transmission Modbus TCP to RTU and Realcom protocol If the user software is fixed protocol Modbus TCP protocol and the lower computer is Modbus RTU choose the Modbus TCP to RTU mode Realcom p...

Page 43: ...h the computer and the device are on the local network 1 If the computer is a server that rents a public network IP on the Internet then the device must use the TCP client to connect the server At thi...

Page 44: ...h the serial device server To realize 2 network terminal here as the network debugging tool and serial device server can do communication the parameter configuration must be matched 5 2 1 TCP Client M...

Page 45: ...t connect to Multiple Servers ZLAN serial device server can connect 7 destination IP address at the same time when as TCP Client the data sent by serial port will be sent to 7 destination IP If there...

Page 46: ...open more advanced options to set All the 7 destination IP finish setting it can be connected automatically if the connection is not connected it will repeat reconnecting after waiting for the broken...

Page 47: ...d will be transferred to all the established TCP connections If you want to realize the data only send to the TCP that received network data package recently you need to enable the multi host function...

Page 48: ...by Server when as Client the local port use local port 1 as the origin port of the device seen in the software of 192 168 1 3 is 1024 1 1025 5 2 5 UDP mode In UDP mode the parameter configuration is...

Page 49: ...lick on ZLVircom s Device Manage to find these two devices as shown in figure 39 Then click device edit to configure the device Device pair connection can be divided into TCP pair connection and UDP p...

Page 50: ...us Figure 40 UDP Device Pair connection Configuration Finally it is necessary to remind that if the device is pair connected except the Ethernet parameter configuration set as above the serial port pa...

Page 51: ...r through switch when set to static IP the device and computer need to be in same network segment except the cross gateway communication as show in figure 41 As the ZLVircom support cross network segm...

Page 52: ...heck the serial port parameter or the serial port line connection whether have problem In order to facilitate remote debugging ZLVircom also supports remote watch the send and receive data as shown in...

Page 53: ...4 Check before starting the monitor hexadecimal monitoring mode and display data sending and receiving time 3 options as shown in figure 43 Then click ok Assuming that the data has been sent and recei...

Page 54: ...port You can see it as a Protocol Translator 7 1 Enable Modbus Gateway First the serial device server should support Modbus Gateway as the Modbus TCP to RTU function in the device supporting function...

Page 55: ...tination port usually is 502 7 2 Storage Modbus Gateway The new generation of ZLAN5143 end with 3 all storage is Modbus register storage type gateway compared with the ordinary ZLAN5142 end with 2 or...

Page 56: ...way traffic on the foot bridge The storage Modbus gateway solves these problems It can query for the register data temporarily stored in the Modbus gateway inside so the Modbus TCP queries Modbus gate...

Page 57: ...10K can be stored For ordinary single register query about 500 instructions are stored at the same time 4 When there are multiple instructions queried at the same time send in accordance with the ord...

Page 58: ...the device with Modbus TCP transfer protocol has the function of storage Modbus gateway otherwise it is a non storage Modbus gateway If the transfer protocol is None usually can make the RS485 protoc...

Page 59: ...turn the instruction to the recent communication host as host A query only return to A host B query only return to host B The other effect is that in normal mode the data sent by host A and host B at...

Page 60: ...if the user Modbus command is longer or if the conversion protocol is None then the two parameters need to be manually configured The recommended values for configuring the above parameters are descri...

Page 61: ...gister package 8 1 1 Connect to send MAC address Connect to the MAC address this is not only for the 4 models such as 5143 but also for regular models The method is to send your MAC address to the clo...

Page 62: ...AC 3 MAC 2 MAC 1 MAC 0 FA FF MAC 5 MAC 0 is the MAC address of the device 2 When the device sends data to the network it automatically adds three bytes of the head prefix to FA 01 01 3 The device send...

Page 63: ...MAC in the register package and different registration packages need to be configured separately for each device The above two methods of sending MAC address and REALCOM have same configuration for e...

Page 64: ...ection so it is a means to restore network communication Figure 54 Keep Alive Time As shown in figure 54 the sending time of heartbeat packet is set by Keep Alive Time 8 2 1 Implied Heartbeat Even if...

Page 65: ...m Heartbeat Package Note that the total number of register packages and heartbeat packages is less than 33 bytes The first line is actually the register package 9 Httpd Client Communication Function T...

Page 66: ...l and strings convenient for Web server down sending data by characters and the serial port output in hexadecimal data to control the serial port device The detailed information can be referred to the...

Page 67: ...the user does not have a web directory you can create a new directory and create a separate httpd txt file Figure 56 Web Directory Now click the Load Firmware button in Device Setting to pop up the w...

Page 68: ...ntification when there are multiple TCP connections the Ethernet port sending data to serial port may add 4 byte prefixes of the IP port The serial port sending to the Ethernet port you can also add t...

Page 69: ...art the device after downloading the httpd txt file 4 When the httpd txt is edited with error and cause the parser to fail it may cause the device to unusual start here put the def switch reset switch...

Page 70: ...server after leaving factory and users do not need to configure it The client software also uses the default P2P server to connect device 2 Users use their own P2P server and purchase P2P server softw...

Page 71: ...ceives the packet it will return its information to the computer software to achieve the purpose of searching device 2 The computer software sends UDP modification parameter commands to the 1092 port...

Page 72: ...uration of polling up down pins to distinguish whether communication data or command also no need to switch command mode and communication mode more flexible and convenient for using 2 The command set...

Page 73: ...oadcast packets are segmented by routers so that broadcast packets cannot reach the device end but ping the device IP shows all connected At this point you need to manually add it The manual addition...

Page 74: ...cute if pop up TCP port conflicts Figure 61 Client 4 Regularly send parameters even the serial device server is in TCP Server mode you can select Enable send parameter function and send parameters to...

Page 75: ...the device parameter edit dialog box Click Restart Device first After the device is restarted use the same way to search the device and enter the dialog box again Click Load Firmware button on the dow...

Page 76: ...ed automatically and no need to power off See the running indicator light flashing if there is no automatic restart please repower after the LINK light stop flashing for more than 30 seconds 6 Web con...

Page 77: ...oading again In addition when the LINK lamp flickers at the end of the download please do not power off otherwise the device will be damaged b Check the firmware version number through ZLVircom to see...

Page 78: ...mA IO high level drive current 4mA IO low level drive current 4mA Storage temp 40 to 150 3 3V max current 70mA 1 8V max current 160mA 100mA SPEED pin configure to high level High speed mode as 160mA S...

Page 79: ...in 1 A2 A1 L L1 A 19 After service Shanghai ZLAN Information Technology Co Ltd BSC as the basic distance to center Symbol Millimeter Min Typ Max A1 0 05 0 15 A2 1 35 1 40 1 45 A 1 60 b 0 17 0 22 0 27...

Page 80: ...ion Technology Co Ltd Tel 86 17321037177 http www zlmcu com 80 Address 12 floor D building No 80 CaoBao road Xuhui District Shanghai China Phone 021 64325189 Fax 021 64325200 Web http www zlmcu com Em...

Reviews: