Communication error (#0), logout performed,please check if plc is connected

arasu18996
2022-02-18
2023-09-11
  • arasu18996 - 2022-02-18

    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

     
    πŸ‘
    1
  • jurr - 2022-03-24

    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

     
  • john-ronald - 2023-09-11

    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.

     

Log in to post a comment.