background image

 

 

Pages 46    Total    58                 

Shenzhen King Pigeon Hi-Tech Co.,LED   

                                  Ver 1.2 

 

PLC Data acquisition protocol conversion gateway                           

-D225   

 

 

Remote debugging of Mitsubishi PLC program 

The main purpose is to realize remote debugging of Mitsubishi PLC program functions through the 
transparent server protocol, which can reduce a large number of travel and time costs. Use the 
transparent  server  protocol  to  be  used  in  conjunction  with  the  company's  virtual  serial  port 
software. D225 configuration software configuration selects the transparent transmission server 
protocol,  the  server  IP  address  configuration  is  to  open  the  Mitsubishi  programming  software 
computer to map the IP address of the external network, the port number is the port number of 
the external network to map, use the company's virtual serial software to create a virtual COM 
port  For  the  computer  that  opens  the  Mitsubishi  programming  software,  the  Mitsubishi  PLC 
programming  software  communicates  through  the  created  virtual  COM  port  to  realize  remote 
debugging of the Mitsubishi PLC program 
Take remote debugging of Mitsubishi FX3U as an example: 

 

Mapping the port number setting of external network 

Use the port forwarding of the router to map the computer that needs to open the Mitsubishi 
programming software debugging program into a server, which can be connected to by the device. 
Take the TP-LINK router as an example. 

 

Operation  steps  description:  (1)  Log  in  to  the  router,  click  on  the  "forwarding  rules"  of 
"Transmission Control", (2) click on "Virtual Server", (3) fill in the service name according to your 
needs, (4) use the external port for device connection, The internal port is used as the external 
port  to  forward  data  to  the  local computer,  (5)  the  service  protocol  selects  "TCP/UDP",  (6)  the 
internal server IP fills in the computer's internal network IP, (7) selects "Enable", (8) Click "Add" to 
complete  the  mapping  of  external  network  port  settings.  (9)  Newly  added  configurations  are 
displayed in the service list, such as the newly added ones are displayed in "20" 

 

Find the domain name corresponding to the external network IP on the router 

Because  the  IP  address  of  the  external  network  is  a  dynamic  address  and  changes,  in  order to 
facilitate  the  D225  device to  maintain communication with  the  server  using  a  dynamic  domain 

Содержание D225

Страница 1: ...PLC data acquisition protocol conversion gateway D225 D225 User manual Version V1 2 Date 7th DEC 2020 Copyright Shenzhen King Pigeon H TECH Co LTD website www 4g iot com...

Страница 2: ...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 produ...

Страница 3: ...ware 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...

Страница 4: ...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 o...

Страница 5: ...zhen 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 2...

Страница 6: ...in 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 t...

Страница 7: ...ol 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 f...

Страница 8: ...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...

Страница 9: ...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 Sup...

Страница 10: ...figuration 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 Certif...

Страница 11: ...otal 58 Shenzhen King Pigeon Hi Tech Co LED Ver 1 2 PLC Data acquisition protocol conversion gateway D225 2 Hardware Dimensions unit mm Front view Side view left Bottom view Top view Bottom view Side...

Страница 12: ...cription 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...

Страница 13: ...e 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 d...

Страница 14: ...ort 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 ti...

Страница 15: ...ce 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...

Страница 16: ...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 rest...

Страница 17: ...tatic 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 Gate...

Страница 18: ...ort 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 EVE...

Страница 19: ...ication 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...

Страница 20: ...he 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...

Страница 21: ...eed to fill in the configuration item of Registration Package please contact our sales representative for Registration Code to fill in the content of Registration Package 3 Select Modbus TCP Server pr...

Страница 22: ...e example in the picture is connected to the router and the same LAN as the computer Connection instructions 1 D225 device power cord 12V 1A 2 D225 device network cable connected to the router 3 and 4...

Страница 23: ...device or the D225 device is powered off and powered on again to make the modified configuration take effect After clicking Save Parameters you can click Read Parameters to check whether each configur...

Страница 24: ...merical value so select the function code as 03 For details about the function codes used to collect PLC registers please refer to Appendix Mapping address of PLC register 3 The mapping address of Mit...

Страница 25: ...ox 3 Slave ID defaults to 1 because the data of Y is Boolean so the function code It is 01 for details of the function code used to collect the PLC register please refer to Appendix Mapping address of...

Страница 26: ...he IP address configuration of the network settings is the same 4 fill in the port number of the D225 device note the port number must be consistent with the port configuration of the protocol paramet...

Страница 27: ...ection 8 Modbus Poll Data sent TX 07 9C 00 00 00 06 01 01 13 88 00 08 07 High bit of transaction identifier 9C transaction processing identifier low 00 High bit of protocol identifier 00 low bit of pr...

Страница 28: ...w byte of the length of the following byte 01 D225 device address 03 Read the function code of the register 0F start address high A0 start address low 00 The high number of acquisitions 20 Low acquisi...

Страница 29: ...ple in the figure is directly connected to the D225 device through the RS485 line Note that the data A and B of the PLC RS485 port should correspond to the A and B of the RS485 interface of the D225 2...

Страница 30: ...ection with D225 device 3 Server protocol selection Modbus TCP Server 4 Because PLC passes RS485 Connect with D225 so the serial port selection must be RS485 5 Configure RS485 parameters to be consist...

Страница 31: ...7 data corresponding to D225 mapping address 5000 5007 so fill in the starting address as 5000 For details about the mapping address of PLC register corresponding to D225 please refer to the Appendix...

Страница 32: ...Setup to pop up the configuration box 3 Slave ID defaults 1 4 Because the VW data is a 16 bit data type the function code is 03 For details on the function code used to collect PLC registers please r...

Страница 33: ...s configuration of the network settings is the same 4 fill in the port number of the D225 device note the port number must be consistent with the port configuration of the protocol parameter on the co...

Страница 34: ...ng Pigeon Hi Tech Co LED Ver 1 2 PLC Data acquisition protocol conversion gateway D225 Programming software query data as follows The data collected by Modbus Poll is exactly the same as the data seen...

Страница 35: ...ions 08 The low number of acquisitions D225 device returns data RX 00 F4 00 00 00 04 01 01 01 81 00 high bit of transaction identifier F4 transaction processing identifier low bit 00 High bit of proto...

Страница 36: ...col to Modbus protocol and supports up to 100 DL T645 1997 or 100 DL T645 2007 protocol international electric meter devices and only supports the meter address 000000000000 000000000099 The meter is...

Страница 37: ...4 Select RS485 for the serial port The configuration information is configured according to the meter RS485 port parameters 5 D225 device You can choose to automatically obtain the IP address settings...

Страница 38: ...he electric meter are all 03 4 The address of the electric meter in this example is 000000000000 the protocol of the electric meter is DL T645 2007 Therefore the corresponding D225 mapping address for...

Страница 39: ...the address of the D225 device note the address should be the same as D225 The IP address configuration of Network Settings on the configuration software is the same 4 Fill in the port number of the D...

Страница 40: ...ws click Communication of Display to view the detailed data communication information Connect to the cloud platform application instructions Take the connection to the King Pigeon KPIOT 3 0 platform a...

Страница 41: ...eft blank or filled According to your own needs the company s Jin Ge 3 0 platform is fixed The heartbeat packet and the heartbeat response packet are respectively req and res 5 The serial port configu...

Страница 42: ...and product name will be automatically displayed here 3 The device name is filled in according to your needs The icon can also be modified click modify to select the icon 4 fill in the timeout time ac...

Страница 43: ...ABCD Choose the byte order according to how many bits of data are collected 8 You can freely choose whether To collect this data point 9 fill in the collection period according to your needs 10 if yo...

Страница 44: ...You can choose the arrangement of the collected data points 3 Collect the data of FX3U output Y0 from the figure you can see that Y0 is closed 4 Collect the data of FX3U output Y7 5 Collect the data o...

Страница 45: ...ing device according to the device name address and device serial number click Edit on the right 3 pop up the edit box click Add Data points or batch addition can add new collected data points or modi...

Страница 46: ...LC program Take remote debugging of Mitsubishi FX3U as an example Mapping the port number setting of external network Use the port forwarding of the router to map the computer that needs to open the M...

Страница 47: ...low Note To modify the configuration you need to log in to the configuration software select the device to be configured before configuring Operating instructions 1 After logging in to the device that...

Страница 48: ...he company s virtual serial port software configuration is as follows Operating instructions 1 Open the virtual serial port software click the English click the Add button 2 According to the computer...

Страница 49: ...RESET for more than 3 seconds until all 3 LEDs are on and then release Need to power off and restart 7 Firmware upgrade This device supports the function of directly upgrading the firmware through the...

Страница 50: ...12255 01 05 State relay S S0 S4095 On off type 14000 18095 01 05 auxiliary relay M M0 M7679 On off type 34000 41679 01 05 Special Relay SM M8000 M8511 On off type 54000 54511 01 Timing register T T0...

Страница 51: ...type 52000 52111 03 06 Register D D0 D7999 numeric type 4000 11999 03 06 Special Register SD D8000 D8255 numeric type 16000 16255 03 Register D for 32 bit use D0 D7999 numeric type 54000 61999 03 06 N...

Страница 52: ...of Mitsubishi a maximum of 32 mapping addresses for each register collection at a time Modbus address mapped by Mitsubishi Fx 3S register PLC Register type Type of data Type of data Device Mapping add...

Страница 53: ...Output contact Q Q0 0 Q31 7 On off type 5000 5255 01 05 Timer contact TS T0 T255 On off type 10000 10255 01 Counter contact CS C0 C255 On off type 12000 12255 01 State relay S S0 0 S31 7 On off type...

Страница 54: ...000000000000 10014 Reverse active peak power 32bit int kWh Y X 100 000000000000 10016 Reverse active power level 32bit int kWh Y X 100 000000000000 10018 Reverse active valley power 32bit int kWh Y X...

Страница 55: ...Y X 1000 000000000000 10056 Instantaneous B phase reactive power 16bit int KW Y X 1000 000000000000 10057 Instantaneous phase C reactive power 16bit int KW Y X 1000 000000000000 10058 Total power fac...

Страница 56: ...er point 32bit int kWh Y X 100 000000000000 14 Positive peak active power 32bit int kWh Y X 100 000000000000 16 Positive active power level 32bit int kWh Y X 100 000000000000 18 Positive active valley...

Страница 57: ...int KW Y X 10000 000000000000 65 Instantaneous C phase active power 32bit int KW Y X 10000 000000000000 67 Instantaneous total reactive power 32bit int KW Y X 10000 000000000000 69 Instantaneous phas...

Страница 58: ...ve power 32bit int KW Y X 10000 000000000000 90 Current total maximum demand for reverse active power 32bit int KW Y X 10000 000000000000 92 99 Reserved address 000000000001 100 Combination 1 total ac...

Отзывы: