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!

A9MEM2050 Block size

Industry Automation and Control Forum

This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.

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
  • Industry Automation and Control Forum
  • A9MEM2050 Block size
Options
  • 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
32
LeTomas
Lt. Commander LeTomas Lt. Commander
11
RoozeeR
Lt. Commander RoozeeR Lt. Commander
6
JerryBartlemay
Lieutenant JG JerryBartlemay Lieutenant JG
6
View All
Related Products
product field
Schneider Electric
Logic Controller - Modicon M221

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to Industry Automation and Control Forum
Solved
PauloBalbino
Crewman PauloBalbino
Crewman

Posted: ‎2024-02-22 05:08 AM

0 Likes
3
765
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-02-22 05:08 AM

A9MEM2050 Block size

Hi I am trying to read multiple registers from a A9MEM2050 to integrate to a M221 PLC. I noticed that the block size (number of registers in a single request) of this sensor seems to be very small. For example, I am not able to read from 45101 to 45107 in a single request. Which forces me to use a lot of READ_VARs, I am only able to read this registers one by one. 

 

I understand that if there is a gap between different registers I need to split into other request (another READ_VAR) but for something sequential I would expect to be done in a single request.

 

A9MEM2050 manual page 21

Energy values - 32-bits floating point

Total energy

45101 -> Forward active energy

45103 -> Reverse active energy

45105 -> Forward reactive energy

45107 -> Reverse reactive energy

 

Any ideas? Documentation is very vague in terms of modbus functions, modbus block size limitation. In this case I assume that it should follow standard modbus protocol (127 registers/words), but it does't.

Labels
  • Labels:
  • Energy Efficiency
  • 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
MatthewM
Lt. Commander MatthewM
Lt. Commander

Posted: ‎2024-02-25 01:03 PM . Last Modified: ‎2024-02-25 01:09 PM

0 Likes
0
721
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-02-25 01:03 PM . Last Modified: ‎2024-02-25 01:09 PM

As @Hennie_Smith says, you may need to adjust your read to be 45101-45108, otherwise you are not reading the whole of the last data point, and it may reject it.

 

I encountered something on an ABB EKIP which may be similar.  If you try and read a single register, but the register is defined in the device as a double word, reading only one word will mean the read fails.  Other devices just give the one word but the number is meaningless without its 2nd half.  The read start and end point had to fall exactly on the devices defined data types and sizes.

 

I cannot vouch for this particular meter, but you do have to be careful with some devices if you read registers that are not defined in the device.  If registers 101-108 are defined, but you are reading 101-118, for example, and any register in the range 101-118 is not defined, then the whole read will fail.  This was a particular pain as things like I/O servers optimize reads by doing block reads.  If there are undefined registers in the block, then the whole read fails, so it is necessary to tune the read to only read small blocks.

 

I highly recommend using a tool called Modbus Tester and probe available registers and play with read block sizes.  I found a SE link to download it from here:

https://www.se.com/nz/en/faqs/FA180037/

See Answer In Context

Reply

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

Replies 3
Hennie_Smith
Lieutenant JG Hennie_Smith Lieutenant JG
Lieutenant JG

Posted: ‎2024-02-22 09:35 PM

0 Likes
0
742
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-02-22 09:35 PM

Hi,

When using either the Modbus IO scanner (Ethernet or Serial) or using the Read_VAR FB, you can read the full packet (45101 - 45108). If you receive error, try 1 offset on the addressing (45100 - 45107). Try first using a modbus simulator from your PC which will give you the exact modbus exception code.

Reply

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

MatthewM
Lt. Commander MatthewM
Lt. Commander

Posted: ‎2024-02-25 01:03 PM . Last Modified: ‎2024-02-25 01:09 PM

0 Likes
0
722
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-02-25 01:03 PM . Last Modified: ‎2024-02-25 01:09 PM

As @Hennie_Smith says, you may need to adjust your read to be 45101-45108, otherwise you are not reading the whole of the last data point, and it may reject it.

 

I encountered something on an ABB EKIP which may be similar.  If you try and read a single register, but the register is defined in the device as a double word, reading only one word will mean the read fails.  Other devices just give the one word but the number is meaningless without its 2nd half.  The read start and end point had to fall exactly on the devices defined data types and sizes.

 

I cannot vouch for this particular meter, but you do have to be careful with some devices if you read registers that are not defined in the device.  If registers 101-108 are defined, but you are reading 101-118, for example, and any register in the range 101-118 is not defined, then the whole read will fail.  This was a particular pain as things like I/O servers optimize reads by doing block reads.  If there are undefined registers in the block, then the whole read fails, so it is necessary to tune the read to only read small blocks.

 

I highly recommend using a tool called Modbus Tester and probe available registers and play with read block sizes.  I found a SE link to download it from here:

https://www.se.com/nz/en/faqs/FA180037/

Reply

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

Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: ‎2024-02-26 11:17 PM

0 Likes
0
704
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • 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-02-26 11:17 PM

Hi Paolo,

I think the most important infos are give, but did you notice that there are macros for the engerymeter are integrated in ESME Basic? 

Bastian_Schmitz_0-1709018204967.png

 

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