Joke Collection Website - Public benefit messages - How to realize remote communication between PC and PLC through GPRS?

How to realize remote communication between PC and PLC through GPRS?

The serial port of PLC is connected with 1 GPRS, and the data is sent to the port of PC (TCP or UDP) through GPRS module. Steps:

1. First connect the PC directly to the PLC for programming and debugging (as for choosing TCP communication or serial port, it's up to you).

2. According to the selected interface mode (TCP or serial port), select GPRS module (DTU is serial port and router is TCP).

3. Choose a common domain name or a fixed IP.

4. Set the parameters of GPRS module and set the port mapping of PC.

5, communication transceiver data test,

6. Engineering test.