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

PM5110 reading internal registers

Machine and Motion Control Forum

Support forum for Machine and Motion Control solutions, including Lexium MC12 and robotics, PacDrive, Modicon PLCs and I/Os, EcoStruxure Machine Expert Twin, … - 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
  • Machine and Motion Control Forum
  • PM5110 reading internal registers
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
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
8
FernandoRodrigues
FernandoRodrigues Support
6
Francesco_Begnoni
Francesco_Begnoni Support
5
LeTomas
Lt. Commander LeTomas Lt. Commander
5
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Machine Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to Machine and Motion Control Forum
Solved
kasmic_mike
Ensign kasmic_mike
Ensign

Posted: ‎2022-10-31 03:42 AM

0 Likes
5
2744
  • 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-10-31 03:42 AM

PM5110 reading internal registers

@LeTomas,@FedericoM,@Bastian_Schmitz 

Hello,

Has any one succeeded on reading  registers 3020,3000 for PM5110 with ESME Using M241 PLC MODBUS.

i configured my M241 SL2.

 

The data access type set to function code 03 for read only

1.The master MODBUS IO SCANNER is showing running.

2.the generic bus shows an orange triangle

 

When I set my data access type to function code 16 the orange triangle turn to running and bus runs  

but I still could not see any voltage values reading.

 see attachment.

thanks

KASMIC
Attachments
Labels
  • Labels:
  • Modicon M2xx
  • 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
LeTomas
Lt. Commander LeTomas Lt. Commander
Lt. Commander

Posted: ‎2022-10-31 03:58 AM

0 Likes
3
2737
  • 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-10-31 03:58 AM

Hi @kasmic_mike 

 

I have played with one of the PM5xxx in our lab with the M262.

 

Please check the example project in the next link:

https://schneider-electric.box.com/s/lhuus6bvlcivkmkbxvqsn9fc26c26ffa

 

In the project you will see that I have used the FC03 along with some function that i have done to convert the 2 word to real.

 

Check if this example works on your side with the M241, then change/add another channel to access to the registers that you want and be careful with the length of the variables.

 

Best regards,

See Answer In Context

  • Tags:
  • english
Reply

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

Marian_Pavlik
Ensign Marian_Pavlik Ensign
Ensign

Posted: ‎2022-11-02 07:44 AM

In response to kasmic_mike
0 Likes
1
2716
  • 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-11-02 07:44 AM

Hello,

 

there are to tricks to reach good result.

From modbus.org > 

Registers are addressed starting at zero. Therefore register numbered 1 is addressed as 0.

 

To read voltage registers starting from register 3020 via M241 Modbus IO scanner you need to ask for number of register minus one to ask register address so 3019 = 16#0BCB.

 

The reason of your error is that Voltage value is FLOAT32 what is in 2 registers.

If Modbus request is moved by one register you ask not valid data and get Exception answer.

 

The second is that PM5000 and M241 use different word order in FLOAT32 so you have to swap WORDs to get correct result.

To that reason you get nice example and function FC_FLOAT32_REAL from Leandro Tomas Ahumada.

 

See Answer In Context

  • Tags:
  • english
Reply

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

kasmic_mike
Ensign kasmic_mike
Ensign

Posted: ‎2022-11-03 08:25 AM

In response to Marian_Pavlik
0 Likes
0
2686
  • 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-11-03 08:25 AM

thanks @Marian_Pavlik @LeTomas 

your guidance was really helpful.  I was able to read register for voltage, I used the excel float32 to real at above link to confirm reading.https://ckm-content.se.com/ckmContent/sfc/servlet.shepherd/document/download/0691H00000EF0hoQAD 

Am now working on the swapping WORDs. then display them on HMI

KASMIC

See Answer In Context

Attachments
  • Tags:
  • english
Reply

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

Replies 5
LeTomas
Lt. Commander LeTomas Lt. Commander
Lt. Commander

Posted: ‎2022-10-31 03:58 AM

0 Likes
3
2738
  • 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-10-31 03:58 AM

Hi @kasmic_mike 

 

I have played with one of the PM5xxx in our lab with the M262.

 

Please check the example project in the next link:

https://schneider-electric.box.com/s/lhuus6bvlcivkmkbxvqsn9fc26c26ffa

 

In the project you will see that I have used the FC03 along with some function that i have done to convert the 2 word to real.

 

Check if this example works on your side with the M241, then change/add another channel to access to the registers that you want and be careful with the length of the variables.

 

Best regards,

  • Tags:
  • english
Reply

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

kasmic_mike
Ensign kasmic_mike
Ensign

Posted: ‎2022-10-31 05:05 AM

In response to LeTomas
0 Likes
2
2732
  • 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-10-31 05:05 AM

thanks i am going to check through the example critically. however if you have some examples with LD blocks or literature it will guide  me through. because am not so good with the structured programme.  

KASMIC
  • Tags:
  • english
Reply

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

Marian_Pavlik
Ensign Marian_Pavlik Ensign
Ensign

Posted: ‎2022-11-02 07:44 AM

In response to kasmic_mike
0 Likes
1
2717
  • 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-11-02 07:44 AM

Hello,

 

there are to tricks to reach good result.

From modbus.org > 

Registers are addressed starting at zero. Therefore register numbered 1 is addressed as 0.

 

To read voltage registers starting from register 3020 via M241 Modbus IO scanner you need to ask for number of register minus one to ask register address so 3019 = 16#0BCB.

 

The reason of your error is that Voltage value is FLOAT32 what is in 2 registers.

If Modbus request is moved by one register you ask not valid data and get Exception answer.

 

The second is that PM5000 and M241 use different word order in FLOAT32 so you have to swap WORDs to get correct result.

To that reason you get nice example and function FC_FLOAT32_REAL from Leandro Tomas Ahumada.

 

  • Tags:
  • english
Reply

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

kasmic_mike
Ensign kasmic_mike
Ensign

Posted: ‎2022-11-03 08:25 AM

In response to Marian_Pavlik
0 Likes
0
2687
  • 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-11-03 08:25 AM

thanks @Marian_Pavlik @LeTomas 

your guidance was really helpful.  I was able to read register for voltage, I used the excel float32 to real at above link to confirm reading.https://ckm-content.se.com/ckmContent/sfc/servlet.shepherd/document/download/0691H00000EF0hoQAD 

Am now working on the swapping WORDs. then display them on HMI

KASMIC
Attachments
  • Tags:
  • english
Reply

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

jhonut
Ensign jhonut
Ensign

Posted: ‎2024-04-26 12:41 AM

0 Likes
0
1375
  • 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-04-26 12:41 AM

Hi!
Very useful the excel. Do you have a version of it for reading some energy (4 registers) parameters?

Many thanks in advance!

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