Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Cannot login when opc client is connected

sg
2016-08-26
2016-09-05
  • sg - 2016-08-26

    I have a few applications running on the same plc. An opc client is reading and writing to these. As long as this client is connected I cannot login to the application. I get the error "Connection denied by device: All available communication channels are already in use"

    How can i get around this?

     
  • eschwellinger

    eschwellinger - 2016-08-28

    Hi,
    Depending which plc you are using this is either a define on compile (runtime) or a setting in the CODESYSCONTROL.cfg
    BR
    Edwin

     
  • sg - 2016-08-29

    Thanks for the reply.

    I am using the soft plc that comes with the standard codesys setup. Could you specify which setting it is in the CodesysControl.cfg file. I cannot identify it by looking at the file.
    Thanks

     
  • sg - 2016-09-02

    Does any one know the setting name?

     
  • eschwellinger

    eschwellinger - 2016-09-03

    Hi,

    sure then you need to add in CODESYSControl.cfg the following section:

    [CmpChannelServer]
    Buffersize=1600000
    MaxChannels=8

    BR
    Edwin

     
  • sg - 2016-09-05

    Thanks for that. That works great.

    One follow up question is that I have a cfg file for every version of codesys that I have installed. Is it just sufficient to add this to CodesysControl.cfg . Does the version specific cfg overwrite the settings in the base CodesysControl.cfg

    Thanks

     

Log in to post a comment.