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

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

30 MODBUS SLAVE DEVICE - M580 - CONTROL EXPERT.

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
  • 30 MODBUS SLAVE DEVICE - M580 - CONTROL EXPERT.
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
Back to Modicon PAC Forum
kishore1march
Lieutenant JG kishore1march
Lieutenant JG

Posted: ‎2021-01-06 06:04 AM . Last Modified: ‎2021-01-06 06:07 AM

0 Likes
5
4121
  • 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: ‎2021-01-06 06:04 AM . Last Modified: ‎2021-01-06 06:07 AM

30 MODBUS SLAVE DEVICE - M580 - CONTROL EXPERT.

Hi,

 

I am trying to read data from 30 modbus slave devices (rs485) in M580, apart from Read Var and Write Var blocks, what would be the best efficient method of programming to get data quickly into PLC? 

 

Regards.. 


  • Tags:
  • english
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 5
Juan
Commander Juan
Commander

Posted: ‎2021-01-06 11:41 AM

0 Likes
3
4110
  • 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: ‎2021-01-06 11:41 AM

Hi,

 

As the connection used is serial, the performance is not achieved by means of one block or another, as it is RS485, until a request is finished, the next cannot be started, so to perform a reading of the 30 devices, at least you will need 90 program cycles (3 cycles per device) assuming the devices respond in less time than the M580 program cycle.

 

I would recommend that you use different communication rings, which will allow you to launch as many requests in the same program cycle as there are communication rings.

Another option is to use Modbus TCP / IP - Modbus gateways, these can process requests waiting, which will increase the performance of the channel (you can reduce 1 cycle per device).

 

In addition to the Read_Var and Write_Var blocks, you can also use Data_Exch.

 

Regards,

Juan

  • Tags:
  • english
Reply

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

AlastairF
AlastairF Schneider Alumni (Retired)
Schneider Alumni (Retired)

Posted: ‎2021-01-12 02:13 PM

0 Likes
0
4083
  • 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: ‎2021-01-12 02:13 PM

There are a few things to consider.

- you are reaching the limits on a RS485 network for number of connected devices (limit 31 before repeater is required). You would need to use a good RS485 master such as BMXNOM0200 or Link150 gateway. The M340 CPU RS485 port is not really up to this duty. Make sure that the wiring is of good standard with correct termination.

- what baud rate will the slave devices support?

- how much data are you trying to read?

- do any slave devices go offline?

 

If you are using a BMXNOM0200 then I'd suggest an indexed READ_VAR block and manage the timeouts so that the block runs as fast as possible. Biggest problem is a device that goes offline and you have to wait foe comms time out before moving onto the next device.

By indexed I mean that there is one READ_VAR block and you index the parameters and response from/ to arrays.

Start with one slave then go from there.

A good bench test tool is https://sourceforge.net/projects/modrssim2/

This allows you to set up your family of slave devices on your PC and read them using the PLC. You can enable/ disable individual devices.

  • Tags:
  • english
Reply

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

Ivan_O_Qubits
Lieutenant | EcoXpert Master Ivan_O_Qubits Lieutenant | EcoXpert Master
Lieutenant | EcoXpert Master

Posted: ‎2021-01-22 10:41 AM

In response to Juan
0 Likes
0
4040
  • 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: ‎2021-01-22 10:41 AM

Hello Juan, would you email me at Ivan.Ospina@QubitsENergy.com please?

  • Tags:
  • english
Reply

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

Anonymous user
Not applicable

Posted: ‎2021-02-16 07:54 PM

In response to Juan
0 Likes
1
3933
  • 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: ‎2021-02-16 07:54 PM


@Juan wrote:

Hi,

 

As the connection used is serial, the performance is not achieved by means of one block or another, as it is RS485, until a request is finished, the next cannot be started, so to perform a reading of the 30 devices, at least you will need 90 program cycles (3 cycles per device) assuming the devices respond in less time than the M580 program cycle.

 

I would recommend that you use different communication rings, which will allow you to launch as many requests in the same program cycle as there are communication rings.

Another option is to use Modbus TCP / IP - Modbus gateways, these can process requests waiting, which will increase the performance of the channel (you can reduce 1 cycle per device).

 

In addition to the Read_Var and Write_Var blocks, you can also use Data_Exch.

 

Regards,

Juan


 devices are used for applications with technical safety requirements, the relevant instructions Chapter 21 OUT_IN_MBUS: Modbus Communication Function. This documentation is valid for EcoStruxure Control Expert 14.1 or later. Block name. Block type. Premium. Quantum. M340. M580. Momentum. ADM.
 
  • Tags:
  • because it does not accept direct serial configuration like in the 575. Can you send me an example of how to use this block. Mainly the Adr(r.m.1.SYS) configuration.
  • english
  • hello
  • I need to use the OUT_IN_MBUS block in the Scada Pack 474i
Reply

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

MarkAchra12
MarkAchra12
Cadet

Posted: ‎2022-01-18 08:47 AM

In response to Anonymous user
0 Likes
0
3035
  • 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: ‎2022-01-18 08:47 AM

I would recommend that you use different communication rings, which will allow you to launch as many requests in the same program cycle as there are communication rings.

Another option is to use Modbus TCP / IP - Modbus gateways, these can process requests waiting, which will increase the performance of the channel (you can reduce 1 cycle per device).

  • Tags:
  • english
Reply

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

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