2. Select Hardware and Sound in the Control Panel, and then click Enter.
3. Then enter the device manager.
4. Then find the ports on the tree diagram and click them one by one to see what the port of the root plc just connected to, which is com6.
5. Next, go back to the written project, find the tree diagram on the left and select the communication connection, and double-click the Connection 1 under the current connection target.
6. Then in the communication dialog box that pops up, double-click the USB connection settings in the upper left corner.
7. The parameter setting interface pops up, in which the USB port is set to, the port number COM6 just found in the port of the device manager, and other parameters default, and then click OK.
8, and then click on the communication test, prompt connection is successful, click OK to close the prompt window, and then click OK, so the setting is successful.