2. Select hardware and sound in the control panel.
3. Then enter the device manager, find the ports on the tree diagram and click them one by one to see what the port of the root plc has just connected. The connection here is com6.
4. 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.
5. In the communication dialog box that pops up, double-click the USB connection settings in the upper left corner.
6. 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 are as good by default, and then click OK.
7, 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.