News:

  • July 25, 2026, 05:58:54 AM

Login with username, password and session length

Author Topic: Coms, Again  (Read 6681 times)

MBAutomation

  • Sr. Member
  • ****
  • Posts: 60
Coms, Again
« on: May 28, 2021, 11:37:57 PM »
I have a second question on more com-related issues.    I am communicating with 4 PLCs.  I currently lost coms to 2 plcs with the RX function. fault code is  2 (0x02)= Out Of Sessions: the remote PLC currently has 32 concurrent connections and cannot accept any more.   I have 4 PLCs and 1 HMI.    I have clock bits on everything.  I also have the Driver error, when I try and find it it doesn't show anything is wrong.


Any ideas on what I should do next?


Thanks
« Last Edit: May 28, 2021, 11:40:25 PM by MBAutomation »

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6168
  • Yes Pinky, Do-more will control the world!
Re: Coms, Again
« Reply #1 on: May 29, 2021, 12:12:23 AM »
I have a second question on more com-related issues.    I am communicating with 4 PLCs.  I currently lost coms to 2 plcs with the RX function. fault code is  2 (0x02)= Out Of Sessions: the remote PLC currently has 32 concurrent connections and cannot accept any more.   I have 4 PLCs and 1 HMI.    I have clock bits on everything.  I also have the Driver error, when I try and find it it doesn't show anything is wrong.


Any ideas on what I should do next?


Thanks

The maximum number of sessions is 32. You?ll need to use Modbus or Peerlink for anything beyond 32.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

MBAutomation

  • Sr. Member
  • ****
  • Posts: 60
Re: Coms, Again
« Reply #2 on: May 29, 2021, 12:31:01 AM »
I'm confused about the connections.   What is considered a connection.  Is that a single device like a plc, or how many times a request is sent within a certain amount of time?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6168
  • Yes Pinky, Do-more will control the world!
Re: Coms, Again
« Reply #3 on: May 29, 2021, 08:43:59 AM »
I'm confused about the connections.   What is considered a connection.  Is that a single device like a plc, or how many times a request is sent within a certain amount of time?

Do-more's native protocol is session based. A client logs into the server and gets a session handle before it can access data. When DmD or an HMI connects, it uses and maintains a single session. If a session fails, because the client doesn't use it and didn't log out, the PLC frees it after some time, I think 30 seconds. There is a status structure for the native protocol (which I don't recall at the moment) that has a session count member, so you can track exactly how many sessions are in use.

« Last Edit: May 29, 2021, 05:16:54 PM by BobO »
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO