Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Connections used by "Generic modbus device"

Modicon PAC Forum

A forum for topics related to the scope of Modicon PAC offers and ecosystem along the whole lifecycle: Modicon M580 and 340, EcoStruxure Control Expert, EcoStruxure Process Expert (Unity Pro) and more.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • Modicon PAC Forum
  • Connections used by "Generic modbus device"
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
MatthewM
Lt. Commander MatthewM
8
RoozeeR
Lt. Commander RoozeeR Lt. Commander
7
Trinxs1
Lt. Commander Trinxs1 Lt. Commander
6
ciupol
Lieutenant ciupol
6
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to Modicon PAC Forum
Solved
schnabber
Crewman schnabber
Crewman

Posted: ‎2024-10-22 05:16 AM

0 Likes
10
1088
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-10-22 05:16 AM

Connections used by "Generic modbus device"

Hello,

Simple question that I cannot find the answer to.

If I have one generic modbus device configured (either via CPU or BMENOC0301) and need to read ~700 registers, I would then create 6 different "Requests" as the maximum registers per request is 125.

But how many concurrent connections would this open to the Modbus server, will there be 1 or 6 simultaneous connections to the server?

If someone have an link to somewere where exactly this is explained I would be greatful.

Also how the request and connection handling of the io scanner in general is of interest

Best regards.

Labels
  • Labels:
  • 02. Modicon M580 ePAC
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
schnabber
Crewman schnabber
Crewman

Posted: ‎2024-10-29 09:02 AM

In response to YONGHO-KIM
0 Likes
0
902
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-10-29 09:02 AM

Here is the answer if someone else is wondering the same as I did.

According to what I can see, each configured request will open its own TCP connection towards the modbus server.

From the wireshark logg you can see that as soon as the modbus server is started, the M580 establishes 2 separate TCP connection [SYN, ACK] with source ports 3456 and 4737 against the modbus server on 502.

Same source ports are being used (same TCP connections kept open) until the server is stopped [FIN, ACK].

Attached are 3 pictures:

1st: Request configuration

2nd: Wireshark screenshot from when Modbus server is started

3rd: Wireshark screenshot from when Modbus server is stopped

See Answer In Context

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 10
YONGHO-KIM
Lieutenant JG YONGHO-KIM Lieutenant JG
Lieutenant JG

Posted: ‎2024-10-23 09:18 PM

0 Likes
1
1066
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-10-23 09:18 PM

1) I don't know what model the device is communicating with or what specifications it has from the slave's point of view, IP and port number are requests from the same master, so it is expected to be able to handle them.

 

2) If BMENOC0301 is also operated as a server, it can handle up to 64 units.

 

YONGHOKIM_1-1729743520972.png

 

Reply

Link copied. Please paste this link to share this article on your social media post.

schnabber
Crewman schnabber
Crewman

Posted: ‎2024-10-24 03:27 AM

In response to YONGHO-KIM
0 Likes
0
1046
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-10-24 03:27 AM

Hi, and thanks for the reply

 

We are communicating to all kinds of devices, just depending on what different customers are using.

But usually you can find in their manuals that the Modbus server can handle eg. 8 simultaneous client connections via port 502.

So the main question is how many TCP connections the M580 will have open simultaneously towards any random (non Schneider) slave, when I have configured 1 "Generic Modbus Devices" which has 6 "Requests" configured.

 

What makes me wonder is when each request have their own "Connection bit", which could indicate they are each having their own TCP connection open towards the slave.

So I assume the answer is either 1, if the requests are being handled one at a time, or 6 if the requests are being polled all at the same time.

 

Reply

Link copied. Please paste this link to share this article on your social media post.

YONGHO-KIM
Lieutenant JG YONGHO-KIM Lieutenant JG
Lieutenant JG

Posted: ‎2024-10-24 11:04 PM

0 Likes
1
1015
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-10-24 11:04 PM

Based on the configuration you've described, if you have configured 1 "Generic Modbus Device" with 6 "Requests" and each request has its own "Connection bit," it indicates that each request can have its own TCP connection open towards the slave. Therefore, in this scenario, the M580 could have 6 TCP connections open simultaneously towards the non-Schneider slave, assuming that each request can be handled independently.
This means that if the requests are being polled simultaneously, the M580 could have 6 open TCP connections at the same time. I hope this clarifies the situation for you

Reply

Link copied. Please paste this link to share this article on your social media post.

schnabber
Crewman schnabber
Crewman

Posted: ‎2024-10-25 05:09 AM

In response to YONGHO-KIM
0 Likes
0
964
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-10-25 05:09 AM

Thank you for your effort in replying. I do really appreciate it
But you answer implify that you are not sure about the actual situation, and it then only becomse a reformulation of my original question.
What I would need to know is if the polls are actually being performed simultaneously or one at a time.
A better way to ask the same thing is maybe: will the polls have different source ports?
I do not have any CPU available for the moment, but I guess I will have to check it with wireshark as soon as I get my hands on the hardware.

Reply

Link copied. Please paste this link to share this article on your social media post.

YONGHO-KIM
Lieutenant JG YONGHO-KIM Lieutenant JG
Lieutenant JG

Posted: ‎2024-10-28 05:40 PM

0 Likes
1
954
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-10-28 05:40 PM

I share the test result value using Modbus Simulator.

 

1. Test conditions
1) Poll Delay 1s
2) Poll Delay 0.1s


2. Poll Delay 1s
- Interval of the register requesting 125 pieces approximately 2 ms

1s.png

3. Poll Delay 0.1s
- Interval of the register requesting 125 pieces approximately 2 ms

0.1s.png

Reply

Link copied. Please paste this link to share this article on your social media post.

schnabber
Crewman schnabber
Crewman

Posted: ‎2024-10-29 09:02 AM

In response to YONGHO-KIM
0 Likes
0
903
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-10-29 09:02 AM

Here is the answer if someone else is wondering the same as I did.

According to what I can see, each configured request will open its own TCP connection towards the modbus server.

From the wireshark logg you can see that as soon as the modbus server is started, the M580 establishes 2 separate TCP connection [SYN, ACK] with source ports 3456 and 4737 against the modbus server on 502.

Same source ports are being used (same TCP connections kept open) until the server is stopped [FIN, ACK].

Attached are 3 pictures:

1st: Request configuration

2nd: Wireshark screenshot from when Modbus server is started

3rd: Wireshark screenshot from when Modbus server is stopped

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

YONGHO-KIM
Lieutenant JG YONGHO-KIM Lieutenant JG
Lieutenant JG

Posted: ‎2024-11-04 09:09 PM

0 Likes
0
894
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-11-04 09:09 PM

1st: Request configuration
> If it is possible to share PLC project file, I will review it.

Reply

Link copied. Please paste this link to share this article on your social media post.

Trinxs1
Lt. Commander Trinxs1 Lt. Commander
Lt. Commander

Posted: ‎2024-11-05 08:26 PM . Last Modified: ‎2024-11-05 08:30 PM

1 Like
0
874
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-11-05 08:26 PM . Last Modified: ‎2024-11-05 08:30 PM

Schnabber and Yongho-Kim the answer is that for the DTM instance created for one device with multiple requests there will be one connection for each request even though the same IP address is targeted.  This has been confirmed as you have done by Wireshark and by the collective intelligence in the global technical presales team.  

Trinxs
Senior Technical Sales Consultant - PAC
Reply

Link copied. Please paste this link to share this article on your social media post.

MatthewM
Lt. Commander MatthewM
Lt. Commander

Posted: ‎2024-11-06 08:22 PM

0 Likes
1
846
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-11-06 08:22 PM

Just for fun, can you get onto the webpage for the CPU or BMENOC0301, whichever is being used, and look at the connection list there?  It may list the same IP twice, indicating the two connections.  I am sure I have seen it before somewhere.

Reply

Link copied. Please paste this link to share this article on your social media post.

schnabber
Crewman schnabber
Crewman

Posted: ‎2024-11-07 09:34 PM

In response to MatthewM
0 Likes
0
829
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2024-11-07 09:34 PM

I can do so when i get my hands on an CPU again, might be next week. Would be good if the webpage indicated not only active connections but all connections that's configured (trying to connect).

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of