Are you in simulation mode or is there a PLC connected to your laptop via USB? If the latter is true, go to Device Manager > Ports and check at which COM port the PLC is connected. Once you've determined the COM port go to Codesys > Online > Communication parameters. You can change the COM port by double clicking it. Good luck! https://imgur.com/zqSbdBl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I have the same problem. However I am using ethernet connection not USB.
I can ping the PLC and also connect to it via Wago ethernet settings, but I cannot upload using the Codesys 2.3.
My PLC is Wago 750-862.
The detailed error is -
"
connect: Connection refused
Write attempt from invalid socket.
"
Any help would be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was trouble in last two days with this codesys login problem...i have attached reference picture.. can anyone help me to how to fix this error
more posts ...
Are you in simulation mode or is there a PLC connected to your laptop via USB? If the latter is true, go to Device Manager > Ports and check at which COM port the PLC is connected. Once you've determined the COM port go to Codesys > Online > Communication parameters. You can change the COM port by double clicking it. Good luck!
https://imgur.com/zqSbdBl
Hi, I have the same problem. However I am using ethernet connection not USB.
I can ping the PLC and also connect to it via Wago ethernet settings, but I cannot upload using the Codesys 2.3.
My PLC is Wago 750-862.
The detailed error is -
"
connect: Connection refused
Write attempt from invalid socket.
"
Any help would be appreciated.