In the actual system, sometimes it is encountered that multiple host computers control and monitor the working status of the same PLC at the same time. Usually all the equipment is located at a distance of tens to hundreds of meters. When there is a communication demand, if the wiring, the amount of work is large and the construction period is delayed, and in this case, it is more suitable to adopt the wireless communication mode. In this solution, two Config Kings and one Mitsubishi FX5u PLC are used as examples to introduce the implementation process of wireless Ethernet communication between multiple Config Kings and PLCs. In this scheme, the Mitsubishi PLC wireless communication terminal - DTD419MB is used as the hardware device to realize wireless communication.
1. Overview of the program
In this solution, the user does not need to change the network parameters and the original program, and can directly replace the wired Ethernet communication between the configuration king and the PLC through the Xi'an Datai Japanese PLC special wireless communication terminal -- DTD419MB, and realize the wireless Ethernet communication under the ModbusTCP/IP protocol stably and conveniently.
2. Test equipment and parameters
l 三菱PLC型号:FX5u × 1台
l Upper computer: configuration king 6.55 × 2 sets
l 达泰日系PLC无线通讯终端——DTD419MB × 3块
l Communication interface: RJ45 interface
l 供电:12-24VDC
l Communication protocol: ModbusTCP/IP protocol
l Transmission distance: 100 meters, 1KM
Third, the wiring method
1. Wiring the touch screen with the DTD419MB
With a communication cable, one end is connected to the RJ45 interface of the DTD419MB, and the other end is connected to the RJ45 interface of the host computer.
2. The PLC is wired with the DTD419M
Use a communication cable to connect one end to the RJ45 interface of the DTD419MB and the other end to the RJ45 interface of the FX5u.
Fourth, the configuration of the king configuration
1. Create a project, enter a name, and click Yes
2. Add 1 PLC, and related protocols
3. Set the address of the FX5U
Device address format: 192.168.2.14 is the PLC address 502 default port number 1 is the unit ID and 100 is the timeout period
4. The communication parameters are set to the default values
5. Configuration interface configuration
1. Data Dictionary – Define variables
2. Picture—Create a new picture
3. Correlation of variables
6. Download PLC program
1. Create a new project, as shown in the following figure
2. MODBUS/TCP Soft Component Assignment Generally defaults
3. Select the MDOBUS/TCP connection device and drag it to the bottom to allow up to 8 clients
4. Writing simple programs
5. Download the program to the CPU
IP settings for PLC 192.168.2.14 Download the program to PLC
7. Test Methods
1: The X input of the PLC can be monitored with the X of the configurator.
2: The configuration king can control the Y-point output of the PLC by setting and resetting
3: DO to D3 increases by 25 every 2S, and the number greater than 255 is automatically cleared.
The test results are detailed in the folder