King Pigeon D225 User manual

Pages 2 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
Perface
Thank you for using the PLC data acquisition protocol conversion gateway D225 of Shenzhen King
Pigeon Hi-Tech Co., Ltd. Reading this product manual will enable you to quickly grasp the functions
and usage of this product.
Copyright Notice
The ownership of this manual belongs to Shenzhen Jinge Technology Co., Ltd. Without the written
permission of the company, any unit or individual has no right to copy, disseminate and reprint any
part of this manual in any form. Violators will be held accountable by the company.
Disclaimer
This document is only suitable for assisting readers to use this product. The products and texts
described in this document are constantly being developed and improved. Our company may
update or revise product specifications and product descriptions at any time without notice. Jin Ge
Technology is not responsible for errors or losses caused by the use of the information in this
document.
Revise.Record
Updated date
Version
remark
Writer
25th,OCT.2019
V1.0
First edition
ZYH
23th,OCT.2020
V1.1
Add Modbus TCP Server protocal and
revised
HYQ
7th,DEC.2020
V1.2
Add DL/T645 protocal
HYQ

Pages 3 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
1Product Introduction ................................................................................................................6
Overview ...................................................................................................................6
Typical Application ....................................................................................................6
Packing list.................................................................................................................7
Function Features......................................................................................................9
Technical Parameters ................................................................................................9
2Hardware ................................................................................................................................11
Dimensions..............................................................................................................11
LED Indicator ...........................................................................................................12
Interface definition..................................................................................................12
2.3.1 RJ45 Pin definition...............................................................................................12
2.3.2 RS-485、TTL and power supply pin connector...................................................13
2.3.3 RS232 Pin definition ............................................................................................13
3Device installation ..................................................................................................................14
Wall-mounted .........................................................................................................14
Rail installation........................................................................................................14
4Configuration software parameter configuration ..................................................................14
Steps to log in the configuration SW.......................................................................14
4.1.1 Open configuration SW.......................................................................................14
4.1.2 Search device.......................................................................................................15
4.1.3 Connect Device....................................................................................................15
Configuration software configuration instructions .................................................16
4.2.1 System functions.................................................................................................16
4.2.2 Description of network configuration of this device...........................................17
4.2.3 Serial Port Configuration .....................................................................................18
4.2.4 Protocol Parameter .............................................................................................19
4.2.5 Server Configuration ...........................................................................................20
5D225 Application case ............................................................................................................21
Data acquisition of Mitsubishi PLC..........................................................................21
5.1.1 FX3Uand D225 device connection.......................................................................22
5.1.2 Configuration Software Configuration ................................................................23
5.1.3 Use Modbus Poll tool to simulate the system to collect PLC data ......................24
5.1.3.1 The data configuration of collecting PLC register D is as follows: collecting

Pages 4 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
data of D0-D31 ...................................................................................................................24
5.1.3.2 The data configuration of collecting FX3U output Y is as follows: collecting Y0-
Y7…………………………………………............................................................................................25
5.1.3.3 The communication connection configuration with D225 is as folows ........26
5.1.3.4 Comarison of the data collected by Modbus Poll and the data checked by the
programming software.......................................................................................................26
5.1.3.5 Description of the message format for collecting Mitsubishi FX3U data .....27
Data acquisition of Siemens PLC .............................................................................29
5.2.1 S7-200 SMART And D225 device connection......................................................29
5.2.2 D225 Configuration SW configuration.................................................................30
5.2.3 Use Modbus Poll tool to simulate the system to collect PLC data ......................30
5.2.3.1 Data configuration of acquisition output Q..................................................30
5.2.3.2 Data configuration of acquisition variable register VW................................31
5.2.3.3 Communication connection configuration with D225..................................33
5.2.3.4 Comparison of the data collected by Modbus Poll and the data checked by
the programming software.................................................................................................33
5.2.3.5 The description of data message format for collecting Siemens S7-200
SMART……………………. .........................................................................................................35
Three-phase multi-function meter data collection.................................................36
5.3.1 D225 Configuration SW of configuration ............................................................36
5.3.2 Use Modbus Poll tool to simulate the system to collect data from three-phase
multi-function meters.............................................................................................................37
Connect to the cloud platform application instructions .........................................40
5.4.1 D225 Configuration SW of configuration ............................................................40
5.4.2 King Pigeon (KPIOT 3.0) Platform configuration..................................................41
5.4.2.1 New device ...................................................................................................41
5.4.2.2 Monitor D225 equipment to collect PLC data points ...................................43
5.4.2.3 Modify the collection point ..........................................................................44
Remote debugging of Mitsubishi PLC program.......................................................46
6Restore factory setting ...........................................................................................................49
7Firmware upgrade ..................................................................................................................49
8Warranty.................................................................................................................................49
9Technical Support................................................................................................................49
Appendix Mapping address of PLC register ....................................................................................50
Appendix Mapping address corresponding to three-phase multi-function meter.........................54

Pages 5 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
Mapping address corresponding to DL/T645-1997 protocol meter ....................................54
Mapping address corresponding to DL/T645-2007 protocol meter ....................................56

Pages 6 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
1Product Introduction
Overview
The PLC data acquisition protocol conversion gateway D225 is a converter used to convert the main
PLC data acquisition protocol on the market into Modbus TCP protocol. D225 can store the PLC I/O
point data to the gateway through the RS-232 or RS-485 serial port of the PLC. The gateway
transmits the data to the cloud platform through the Modbus protocol. It also allows your software
to pass through the local LAN or Internet access to serial devices.
Typical Application
Cloud configuration and data Monitoring
PLC Remote program debugging

Pages 7 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
Packing list
Before installing and using the D225 device, please confirm whether the following materials are in
the product box
1x D225 device
1x 2 bit 3.5 female connector for input power
1x 6 bit 3.5mm female interface used by 485 and TTL
1x RS-232 data cable

Pages 8 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
1x 0.5m network cable
1x Power adapter(12VDC/1A)
1 x QR code label (including User manual download and software information)
Remark:If the above items are missing or damaged,pls kindly contact sales respresentive of King
Pigeon.
Optional accessories (must be purchased separately)
35mm DIN Rail installation kit

Pages 9 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
Function Features
Wide working voltage design, support 9-36V DC power supply, the interface is DC Q2.1 jack
and terminal block two ways, and with anti-reverse connection protection design;
Built-in industrial-grade ARM®Cortex™ core, high performance, low power consumption,
stable and reliable;
Support 1 Chanel RS-232、1 Chanel RS-485 and 1 Chanel TTL;
Serial port Baud rate support 4800bps-128000 bps;data bits support 7,8,9bits,Support
None,Odd,Even verification method;
Support 1chanel RJ45 Ethernet port,with link and data indiactor the network port has a
build-in isolation transformer up to 12V electromagnetic isolation ;
Support the Reset button to restore the factory function (long press for 3 seconds to restore)
to prevent parameter setting errors;
Using metal shell material, protection grade IP30, metal shell and system are safely isolated,
especially suitable for industrial control field applications;
The device is small in size, 96mm*68mm*25mm, and supports wall-mounted installation and
DIN 35mm industrial rail installation.
Use configuration software to set device parameters, support WIN XP, WIN 7, WIN 8 and WIN
10, with a friendly interface;
Support static IP address or DHCP to automatically obtain IP address,and can query devices
in the network through UDP broadcast protocol
Built-in TCP/IP protocol stack, supports Modbus TCP Server protocol, transparent
transmission protocol, Golden Pigeon 2.0 protocol, Golden Pigeon 3.0 protocol, Modbus RTU
over TCP protocol, supports self-defined handshake protocol to actively connect to the server
and automatically reconnect to the server after disconnection Features;
Support remote dubuging of PLC program;
Support server domain name resolution;
Support to upgrade the firmware through TTL,the firmware update is more convenient;
Technical Parameters
classfication
Parameters
Descriptiion
Powers upply
Working volt.
9~36 V DC
Power
consumption
regular:100mA@12V,MAX:120mA@12V
Power protection
Anti-reverse connect、ESD air:15KV,surge:4KV
Network
interface
Ethernet port
specification
1 x RJ45,10Mbps
Ethernet
protection
ESD connection:8KV ,surge:4KV(10/1000us)
Serial Port
Serial QTY
1 x RS232、1 x RS485、1 x TTL
Serial port
baud rate
4800bps-128000bps
data bit
7,8,9

Pages 10 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
parity bit
None, Even, Odd
Stop bit
1, 1.5, 2
Serial port
protection
ESD connection:8KV surge:4KV(8/20us)
Software
Parameter
Network
protocol
IPV4 、TCP/UDP 、DHCP 、DNS 、Modbus RTU 、
Modbus TCP Server、KIPIOT 2.0、KIPIOT3.0
IP obtaining
method
Static IP/DHCP
Transparent
transmission
Support
DNS
support
User
configuratio
n
PC sw configuration,Support WIN XP、WIN 7、WIN
8 and WIN 10
Network cache
transmit:8Kbyte;receive:8Kbyte;
registration
package
Support custom registration package
Heart package
Support custom heart package
Certification
MTBF
≥100000 Hours
EMC
EN 55022: 2006/A1: 2007 (CE &RE) Class B
IEC 61000-4-2 (ESD) Level 4
IEC 61000-4-3 (RS) Level 4
IEC 61000-4-4 (EFT) Level 4
IEC 61000-4-5 (Surge)Level 3
IEC 61000-4-6 (CS)Level 4
IEC 61000-4-8 (M/S) Level 4
other
CE、FCC、ROHS、3C
Environment
Working
Tem.&Hum.
-45~85℃,5~95% RH
Storage
Tem.&Hum.
-45~105℃,5~95% RH
Other
Housing
Metal materials
Size
9.6cm×6.8cm×2.5cm(L*W*H)
IP
IP30
N/W
260g
Installation
Method
Wall-mounted、Rail type

Pages 11 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
2Hardware
Dimensions
unit: mm
Front view
Side view left
Bottom view
Top view
Bottom view
Side view right

Pages 12 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
LED Indicator
Interface definition
2.3.1 RJ45 Pin definition
LED Indicator description
Name
Color
Status
Description
Power
red
Lighting
External power suppy is normal
No lighting
Device fault
Ethernet
red
Lighting
Data transmission through the Ethernet port
No lighting
No data transmission via Ethernet port
RS485/RS232
red
Lighting
RS485/RS232 have data transmission
No lighting
RS485/RS232 no data transmission
Network interface Definition
NO.
568B
Definition
Description
1
Orange white
TX+
Send positive
2
Orange
TX-
Send negative

Pages 13 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
2.3.2 RS-485、TTL and power supply pin connector
2.3.3 RS232 Pin definition
3
Greenwhite
RX+
Receive positive
4
blue
Data+
Two-way data+
5
Blue white
Data-
Two-way data-
6
green
RX-
Receive negative
7
Brown White
Data+
Two-way data+
8
Brown
Data-
Two-way data -
RS-485、TTL and power supply pin connector
NO.
Function
Description
1
A
RS485 data+(A)
2
B
RS485 data-(B)
3
GND
Public land
4
TXD
Sender
5
RXD
Receiver
6
GND
Public land
7
-
Power input -
8
+
Power input +
RS232 Description
DB9 NO
Function Description
1
NC
2
Receive data(RXD)
3
Send data(TXD)
4
NC
5
Signal land(GND)
6
NC
7
NC
8
NC
9
NC
RESET
Reset button
1
5
6
9
RESET

Pages 14 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
3Device installation
D225 Support horizontal desktop placement, wall-mounted and rail installation
Wall-mounted
Rail installation
4Configuration software parameter configuration
D225 configuration software is used for configuration, the connection method is through the RJ45
Ethernet port, and a standard cross/straight network cable is used to connect to the LAN, or a
standard cross network cable can be directly connected to the computer.
Remark:If the PC is connected for the first time, because the factory IP of the D225 device is
192.168.1.250, you need to change the computer IP to 192.168.1.* to search for the device. That
is the device and the computer must be in the same network segment.
Steps to log in the configuration SW
4.1.1 Open configuration SW
Run the configuration software "D225.exe" on the computer, Click "English" to switch to English,
Snap-in installation
Rail installation

Pages 15 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
the display interface is as follows
4.1.2 Search device
Clicking on "Device Search" will search for all devices in the same LAN as the computer. The first IP
displayed for all devices is 192.168.1.250. Therefore, it is best to have only one device in the LAN
when the device is connected for the first time.
4.1.3 Connect Device
Double-click the device you want to configure, a prompt box "read successfully" appears, click OK
to enter the device configuration interface

Pages 16 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
Configuration software configuration instructions
4.2.1 System functions
Items
Description
Device search
Search all D225 devices in the same LAN
Read Settings
Read the configuration parameters of the logged-in D225 device
Save Settings
Click this button to save all configuration parameters to the device. The
device must be restarted for the modified configuration to take effect
Restart
Click reset button,reset device
Factory Reset
All configuration parameters are restored to factory default values, and the
device needs to be restarted
中文
Click change language to Chinese

Pages 17 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
4.2.2 Description of network configuration of this device
Network settings
Items
Description (Set the IP of this device)
Default
IP Mode
Select the mode of obtaining an IP address:
● Dynamic: Obtain IP address automatically from DHCP
server
● Static: manually configure a static IP address for the
device
Static
IP address
set device IP address
--
Subnet mask
Current Subnet mask
--
Gateway
Current gateway address
--
DNS Server
Current DNS Server
--
Note: 1. [IP Address], [Subnet Mask], [Gateway], [DNS Server] can be set after selecting "Static" in
[IP Mode]. Please set the relevant parameters according to the local area network. . Please set the
IP address of this device yourself according to the IP address distribution in the LAN.
2、[IP Mode] Select "Dynamic" to automatically obtain an IP address in the LAN only when the
router in the LAN allows dynamic allocation of IP addresses.

Pages 18 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
4.2.3 Serial Port Configuration
Serial Port setting
Items
Description (mainly the connection configuration between
equipment and PLC)
Default
Serial port
selection
Select and show the current serial port channel ,
Including:RS232 and RS485
RS232
Baud rate
Choose from “4800” 、 “ 9600 ” 、 “ 14400 ” 、
“19200”、“38400”、“56000”、“57600”、
“115200”、“128000”
9600
Data bit
Choose from“7Bit”、“8 Bit”、“9 Bit”。
7 Bit”
Parity bit
Choose from“NONE”、“EVEN”、“ODD”。
EVEN
Stop bit
Choose from“1Bit”、“1.5Bit”、“2Bit”。
1Bit
Note: The parameter setting of the serial port should be consistent with the serial port
parameters of the PLC, and the serial port selected by the serial port should be consistent with the
selection of [Device Link] in the PLC serial port and protocol parameters

Pages 19 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
4.2.4 Protocol Parameter
Protocol Parameter
Item
Description
Default
Device protocol
Choose From“Mitsubishi FX3U” 、“Mitsubishi
FX2N” 、“Mitsubishi FX1S” 、“Mitsubishi
FX3S”、“Siemens S7-200SMART”、”DL/T645”
Mitsubishi FX3U
Device link
Selection of serial port for communication link
between equipment and PLC:
1、RS232
2、RS485
RS232
Server Protocol
Communication protoco between device and
server:
1、Transparent transmission 、
2、KPIOT2.0、3、KPIOT3.0
4、Modbus TCP Server
5、Modbus RTU Over TCP
Modbus TCP Server
Port
When the device is used as a TCP/UDP server, the
port number can be customized and modified,
and the range is 0-65536.。
502
Note: 1. Select the same type of PLC protocol in [Device Protocol] according to the PLC type. If you
don’t have the PLC type you want to choose, you can contact the sales representative of King
Pigeon.
2. To modify the port number, you must select the [Modbus TCP Server] protocol in the server
protocol to modify. The port number is mainly used with the [Modbus TCP Server] protocol when

Pages 20 Total 58 Shenzhen King Pigeon Hi-Tech Co.,LED Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
the device is used as the server.
3.The serial port selection of the device link should be consistent with the PLC connection serial
port and the serial port selection of the serial port setting
4.2.5 Server Configuration
Server Configuration
Item
Description
Default
Server IP/domain
name
The IP or domain name of the target server
blank
Port number
Port number of target server
blank
Register package
The registration handshake protocol package of
the target server
blank
Register
response
package
If set after the device sends the registration
package, the server needs to return a response
packet to the device within 3 seconds, otherwise it
will send the registration package according to the
"reconnection times". If the number of sending
times is reached, it will be offline, counted as one
offline. Then it will reconnect immediately,
continue in sequence, and then execute the time
to connect to the server again in accordance with
the "dropped 3 times, reconnect time".
blank
Heartbeat
package
After setting, the device will send heartbeat
packets at intervals according to the heartbeat
packet time
Blank
Heartbeat
response packet
If set, after the heartbeat packet is sent, wait for
the server response time to be the set heartbeat
time. If it times out, the heartbeat packet will be
sent according to the "reconnection times". If the
number of sending times is reached, it will be
Blank
Table of contents
Other King Pigeon Gateway manuals