Lumel PD9 Service Manual

Lumel PD9 Service Manual

Converter rs-485/ ethernet
Hide thumbs Also See for PD9:

Advertisement

Quick Links

PD9-09
Service Manual
CONVERTER RS-485/ ETHERNET
PD9
SERVICE MANUAL
1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Lumel PD9

  • Page 1 PD9-09 Service Manual CONVERTER RS-485/ ETHERNET SERVICE MANUAL...
  • Page 2: Table Of Contents

    PD9-09 Service Manual Contents 1. Quick Start ..............................3 1.1. Hardware Testing Environment ......................3 1.1.1. Hardware Prepare ........................3 1.1.2. Hardware Connection ........................4 1.2. Network Test Environment ......................... 4 1.3. Default Parameter ..........................5 2. Brief Introduction ............................5 2.1.
  • Page 3: Quick Start

    1. Quick Start Module PD9 is used to realize data transparent transmission between Ethernet interface and the serial port and the protocol converter. The serial port is the RS485 data and in the Ethernet interface, it is the net data package. Users can configure the parameters via the webpage or set-up software, set one time and save forever 1.1.
  • Page 4: Hardware Connection

    Service Manual 1.1.2. Hardware Connection Fig. 1.1.2- 1Hardware Connection PD9 connects to PC by serial port and RJ45 Port. Then power on PD9 with our AC adapter.The above picture will show you the connection. Notes: Power adapter (5V) and connection cable are provided in delivery set.
  • Page 5: Default Parameter

    2. Brief Introduction 2.1. Introduction PD9 Modbus RS485 to Ethernet converter can realize bidirectional transparent transmission between RS485 and Ethernet. It carries ARM processor, low power, fast speed, high stability. Via web-page or software, rs485 to Ethernet Converter can realize serial data and TCP/IP data package transparent transmission.
  • Page 6: Basic Parameter

    PD9-09 Service Manual Supports self-defined heartbeat package, keep the connection can never crash Supports self-defined registration package, check the station of the connection, which also can used as the self- defined package head. Users can use the MAC as the registration package.
  • Page 7 PD9-09 Service Manual User Configuring Software configuring and webpage configuring AT command Transmit way TCP server, TCP client, UDP server, UDP client support Similar RFC2217 support HTTPD client At most support 8 TCP client to connection TCP server Send:16Kbyte; receive:4Kbyte...
  • Page 8: Hardware Parameters

    PD9-09 Service Manual 3. Hardware Parameters Fig. 3- 1 Dimension 4. Product Function Fig. 4- 1 PD9 Function Diagram...
  • Page 9: Network Basic Function

    Instr AT+WANN Setting and query the IP access way, subnet and the gateway parameters of the PD9 Table 4.1.1-1 Related AT Command 2. Subnet masks: to mark which subnet is the host in from the IP address bites and which bites mark the host masks.
  • Page 10: Dns Server Address

    4.1.2. DNS Server Address DNS server is used to converter the domain name in to the IP address that net can recognized. The server address of the PD9 can be configured. After setting, all the questing will be sent to this address when the PD9 need to DDNS.
  • Page 11: Webserver

    Total data received by the network: Can determine how much data is sent from the network to the module. Connected remote IP/network send/receive: Through this item, you can see which device is connected to PD9. How much data is sent and received by this connection. Currently, only 4 connection status displays are supported.
  • Page 12: Firmware Upgrade

    4.1.5. Firmware Upgrade The way to upgrade the PD9 firmware is to upgrade through the network. It is simple and convenient to upgrade the firmware through the network. By upgrading the firmware, you can get more cutting-edge applications. The specific upgrade method is as follows.
  • Page 13: Socket Communication

    PD9-09 Service Manual 4.2. Socket Communication There are five work modes for the socket of the PD9:TCP Client, TCP Server, UDP Client, UDP Server, Httpd Client. Set via the webpage or the set-up software The webpage are as bellows:...
  • Page 14: Tcp Client Mode

    IP correctly. Otherwise, communication will not be possible. PD9 work as TCP Client, It connects to the target IP/Port automatically,will not accept other connection request. When 302 is used as the TCP Client, it is recommended to set the local port number of 302 to 0. In this way, 302 can access the server with a random port number, which can solve the problem of reconnection failure caused by the server determining that the connection state is abnormal.
  • Page 15 PD9-09 Service Manual Fig. 4.2.1-2Configuration Fig. 4.2.1-3 Serial Port...
  • Page 16: Tcp Server Mode

    In TCP Server mode, the PD9 actively listens to the local port and responds with a connection request and creates a connection. When the serial port of the PD9 receives the data, it also sends it to all devices that establish a connection with the PD9 server.
  • Page 17 PD9-09 Service Manual Fig. 4.2.2-2 TCP server mode (software) Fig. 4.2.2-3 TCP server mode (webpage)
  • Page 18: Udp Client Mode

    The firmware in the 4015 and later firmware supports the broadcast in the network segment, such as the broadcast mode of xxx.xxx.xxx.255 Multicast is not supported in UDP mode. Example: ① Open PD9Config, E45 Setup Software: Set PD9 to UDP client mode and the target port is 8234. Fig. 4.2.3-2 UDP Client (software)
  • Page 19: Udp Server Mode

    Fig. 4.2.4- 1 UDP Server Mode 1) Base on normal UDP, it doesn't verify source IP address. Every time PD9 receive one UDP data packet, it changes destination IP to where data comes and it sends the data to the IP and port which communicate latest.
  • Page 20: Httpd Client

    HTTP server can be realized by simple parameter setting. 3) When PD9 sends data to HTTP server via serial port, set the URL, header remote domain name, IP and port and save, then it only needs to send the header of requested data;...
  • Page 21: Impersistent Connection (Tcp Short Link)

    PD9-09 Service Manual Fig. 4.2.5-2 HTTPD Client Mode 4.3. Impersistent Connection (TCP Short Link) The use of TCP impersistent connections is mainly to save server resources, and is generally applied to a multi-point scenario. With short connections, you can ensure that the existing connections are useful connections and do not require additional controls for filtering.
  • Page 22: Clean The Buffer Data

    4.4. Clean the buffer data If the TCP have not built, the data that serial received will be placed in the cache, and the PD9 serial port can receive 2Kbyte, after the TCP built, you can select whether to clear the cached data.
  • Page 23: Modbus Gateway

    PD9-09 Service Manual 4.5. Modbus Gateway Modbus gateways include: Modbus RTU and Modbus TCP protocol conversion. Fig. 4.5-1 MODBUS TCP Modbus RTU and Modbus TCP: Modbus serial protocol to Modbus network protocol can be converted by Opening the Modbus TCP to Modbus RTU function in the web page.
  • Page 24: Other Functions

    PD9-09 Service Manual Fig. 4.5-3 MODBUS TCP mode Modbus TCP: click to enable the function or disable the function. 4.6. Other functions 4.6.1. Heartbeat Packet Function Heartbeat packet is divided into network heartbeat and serial port heartbeat. It can send heartbeat packet to serial port or to network, can not send together.
  • Page 25: Registration Package Packet Function

    Fig. 4.6.1-2 Heartbeat Package 4.6.2. Registration Package Packet Function PD9 supports self-defined registration package function and also supports to send self-defined registration package after connection establishment, meanwhile, it supports to send registration package when sending data There are three register package: MAC register and self defined register.Network registration packet includes: Establish a connection to send the registry...
  • Page 26: The Number Of The Client Connected

    4.6.3. The number of the client connected Then the PD9 work in the TCP server mode, the max number of client to connect is 8, default is 4,the max number can be configuring as you want, which is be convenient for use. When the the number connecting clients more than 4, we should control the total data flow in 2.5KB/s if we need to send and receive meanwhile(not more than 200 bite/s).
  • Page 27: Serial Port Packaging Mechanism

    Flow Calculation When PD9 receives data from network and then send to serial port, as the limit of serial port speed, user have to control the flow, if not the problem of data overflow on serial port side will occur. So data flow is required to calculated when sending data from network to serial port.
  • Page 28: Setting Protocol

    Service Manual 5. Setting Protocol PD9 includes two protocol: network setting protocol and serial port setting protocol. 5.1. Network Setting Protocol To configure across the net, all the communication protocol using the UDP, lower one is in front. When user are configuring, please keep the remote port is 1500, and local port can be random.
  • Page 29 From 4 to 9 is the MAC of the PD9, the last 12 bytes before the sum check is the username and password User name and password both are 6 byte, bits 0 for the lack. ( the last one of the username and password must be 0) ③...
  • Page 30 Sum check: 04 = 56 + 05 + 00+ ... + 01 From 4 to 9 is the MAC of the PD9, from 10 to 22 is username and password, later bytes is the basic parameters for fix the length, last one is sum check.
  • Page 31 PD9-09 Service Manual HTTP server port usHTTPServerPort 50 00 ucUserFlag Write the read values ulStaticIP Static IP 07 00 A8 C0 ulGatewayIP Gateway C9 00 A8 C0 ulSubnetMask 00 FF FF FF Subnet Mask 55 53 52 2D 4B 32 00 00...
  • Page 32 PD9-09 Service Manual ② Port settings parameter command Port parameter: bytes example Explanation Name 00 C2 01 00 ulBaudRate Baud Rate COM data bits (0X05/0x06/0x07/0x08) ucDataSize COM parity ucParity 1: no, 2: odd, 3: even, 4: mark, 5: space ucStopBits...
  • Page 33 = 52 + 06 + ... + 00 From 4 to 9 is the MAC of the PD9, from 10 to 22 is username and password, later bytes is the port parameters for fix the length, last one is sum check.
  • Page 34: Commands' Return Content

    PD9-09 Service Manual Bytes Example Name content Heartbeat register package: 1: heart beat package send to net interface 1: send heart beat package to serial port 1: connecting and send register package 1: data carry the register package 5 H_R_ucFlags...
  • Page 35 FF 01 02 50, if user name and password are wrong, 50 = 'P' Return results of read command Description: Return all parameter of PD9 network. 567 bytes in total, no parity, no protocol, return parameter directly. Return data divide into 4 package, 130bytes, 50 bytes,85 bytes and 302bytes.
  • Page 36 PD9-09 Service Manual 07 2F 31 2E 70 68 70 3F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00...
  • Page 37: Listening Report Method

    It is setup software configuration, webpage configuration and serial configuration. How to configure: Revise user name/password →set IP access method →serial parameter → PD9 work mode →work mode related parameter 6.1. Software Configuration To make sure setup software normal running, please check the below firstly: 1.
  • Page 38 PD9-09 Service Manual Search device and all PD9 device within LAN can be found. It includes IP, name, MAC and version. Fig. 6.1-1 Software Configuration —Search Basic parameter configuration Click “Full Show” and all basic parameter is revealed. Set the parameter as needs and click “Base Save” then can set successfully.
  • Page 39 User name: Authentication Code for revising parameter to avoid other users within same LAN revising it. • Password: same as user name. • Device Name: PD9 ’s name an be revised. • IP address type: Static and DHCP • Static IP: same segment with router.
  • Page 40: Webpage Configuration

    Destination IP/Port: IP connected when PD9 works as client (TCP Client/HTTPD Client/UDP Client) • Local Port: The port number of PD9 be used to initiate the connection. Advice to set it to “0’’ when PD9 works under • TCP Client for connection with Random port.
  • Page 41 PD9-09 Service Manual 2. Local IP Config Save configuration after revising the parameters. Then restart. Diagram 6.2-2 Webpage Configuration- Local IP Configuration Port parameters Fig. 6.2-3 Basic Parameters Expand Function Custom heartbeat package function: can be opened by webpage, content customization, up to 40 bytes Buffer data •...
  • Page 42 PD9-09 Service Manual Fig. 6.2-4 Expand Function Misc Config Save all data then click restart to take effect. Fig. 6.2-5 Misc Config...
  • Page 43 PD9-09 Service Manual...

Table of Contents