I’m not sure what you’re asking, but both ports have been tried, such as 0xFF0 or 0xDFF0
Thank you for your answer. According to your instructions, should I change the connection cable first and then set the port ?
Our equipment connection line is as shown below:
As the port number mentioned before, could it be something else
Such as COM1 here。
Thank you for your reply in your busy schedule
Hi, my program error has been solved, &H is the symbol for hex in basic language, while 0x is the symbol for hex in python. I replaced &H with 0x and it worked, the port number remained the same.