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

Reading Modbus registers on M172

HVAC and Pumping Forum

Support Forum for HVAC and pumping machines, Modicon M17x and EcoStruxure Machine Expert HVAC software for chillers, AHU, CRAC units for datacenters or process chillers applications - from design, implementation to troubleshooting and more, by Schneider Electric.

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
  • HVAC and Pumping Forum
  • Reading Modbus registers on M172
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
FedericoM
Commander FedericoM Commander
66
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
47
LeTomas
Lt. Commander LeTomas Lt. Commander
14
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Machine Expert - HVAC

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to HVAC and Pumping Forum
Solved
Anonymous user
Not applicable

Posted: ‎2021-03-11 01:23 PM

0 Likes
5
4413
  • 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-03-11 01:23 PM

Reading Modbus registers on M172

Hello guys,

 

I've got a problem with M172 07-18 (668.11 firmware) as modbus master.

 

I set RS485-2 as Master.

I made devices with registers by modbus custom editor.

I added those devices under RS485-2.

I assigned those registers to created "status variables".

 

Compiled and downloaded plc code with 0 errors and 0 warnings.

 

When I open programing tab and drag variables to watch window - all values are 0.

 

For the test I was connected those devices to AS-P and every values was ok.

On external modbus tester same - all registers read ok.

I am sure devices are ok.

 

I need help and out of ideas.

 

Thank you in advance!

Labels
  • Labels:
  • HVAC
  • 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

Accepted Solutions
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: ‎2021-03-11 11:03 PM

In response to Ismet_S
0 Likes
2
4382
  • 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-03-11 11:03 PM

You have to check if you made a download all. If you transfer only the Application you did not write the CONNECC.Par File which mange the Modbus Master. In that case the master function did not work in the backround.

You can analyse the status of the connected modbus slave like Ismet explained.

If the connec.par is missing CFG value would FLASE.

The position in the array show the Node number not the modbus address.

 

And you can check if you have read out the values of the slave based on register addresses which start by 0 or by 1.

If you use in that case the "false" address you will get CFG and PRES True but the value of the misscounter will be rise.

Via STATE you will the the Modbus Response which can show you were the problem could be. 

 

 

See Answer In Context

  • Tags:
  • english
Reply

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

Replies 5
Ismet_S
Ensign Ismet_S Ensign
Ensign

Posted: ‎2021-03-11 02:14 PM

0 Likes
0
4406
  • 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-03-11 02:14 PM

Hi,

 

Please check the status of the Target Variables "sysMbMrtuNodeStatus" to see if the communication between your M172P and the Device is ok.

 

 
 
 

 

 

 

BR

  • Tags:
  • english
Reply

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

Ismet_S
Ensign Ismet_S Ensign
Ensign

Posted: ‎2021-03-11 02:21 PM

1 Like
3
4403
  • 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-03-11 02:21 PM

Comm Setting.png

 

SysMbRtu.png

 

  • Tags:
  • english
Reply

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

Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: ‎2021-03-11 11:03 PM

In response to Ismet_S
0 Likes
2
4383
  • 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-03-11 11:03 PM

You have to check if you made a download all. If you transfer only the Application you did not write the CONNECC.Par File which mange the Modbus Master. In that case the master function did not work in the backround.

You can analyse the status of the connected modbus slave like Ismet explained.

If the connec.par is missing CFG value would FLASE.

The position in the array show the Node number not the modbus address.

 

And you can check if you have read out the values of the slave based on register addresses which start by 0 or by 1.

If you use in that case the "false" address you will get CFG and PRES True but the value of the misscounter will be rise.

Via STATE you will the the Modbus Response which can show you were the problem could be. 

 

 

  • Tags:
  • english
Reply

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

Anonymous user
Not applicable

Posted: ‎2021-03-12 02:51 AM

In response to Bastian_Schmitz
0 Likes
1
4376
  • 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-03-12 02:51 AM

Hello,

 

Thank you guys.

 

Download all button solved problem.

I've got comunnication with devices.

  • Tags:
  • english
Reply

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

Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: ‎2021-03-12 03:03 AM

In response to Anonymous user
1 Like
0
4373
  • 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-03-12 03:03 AM

Sounds good that your problem is solved. 

If you adapt you project in the future you will get sometime to the point that the download all need to much time (espaecially if you use integrated HMI).

In that case you have the additional way to download the CONNEC.PAR also seperate. 

To reach this go to Commisioning.

commisioning.PNG

and make a right mous click on CFG files.

With this way you can download the CONNEC.PAR file alone.

That could save time in testing.

But generally use Download All.

  • Tags:
  • english
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