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

Show Real Value on HMI using Modbus TCP connection

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
  • Show Real Value on HMI using Modbus TCP connection
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

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to HVAC and Pumping Forum
pawel_kowalski_
Commander pawel_kowalski_
Commander

Posted: ‎2023-05-26 01:30 AM

0 Likes
7
2060
  • 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: ‎2023-05-26 01:30 AM

Show Real Value on HMI using Modbus TCP connection

Hi,

 

I have a problem with how to show on HMI XBTGT4330 real value e.g. 123.553
I read the water flow from the water meter as 32-bit register on PLC I have a solution for how to show the property value of the meter but I don't find a solution for how to send it to HMI.
 I try to convert them to DWORD and use a register like %MD but I don't know how to read that on HMI.

Thanks for your help.

Labels
  • Labels:
  • Modicon M2xx
  • Tags:
  • english
  • hmi
  • TM251MESE
  • XBTGT4330
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 7
LeTomas
Lt. Commander LeTomas Lt. Commander
Lt. Commander

Posted: ‎2023-05-26 04:14 AM

0 Likes
4
2051
  • 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: ‎2023-05-26 04:14 AM

Hi @pawel_kowalski_ ,

 

I am not 100% sure which PLC you are using but if the variable in the PLC side is already a real variable you can use the %MW on the variables on Vijeo Designer to access to the information.

See example below using a Modiocn M172 with a simulated XBTGT4330:

VariablesReal.PNG

 

Best regards,

 

LeTomas

 

Reply

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

Possebom
Ensign Possebom Ensign
Ensign

Posted: ‎2023-05-26 05:04 AM

0 Likes
0
2049
  • 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: ‎2023-05-26 05:04 AM

Also,  you can define it on Numeric Display Settings

Possebom_0-1685102667184.png

 

 

Reply

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

pawel_kowalski_
Commander pawel_kowalski_
Commander

Posted: ‎2023-05-26 12:09 PM

In response to LeTomas
0 Likes
3
2026
  • 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: ‎2023-05-26 12:09 PM

Hi,

I have TM251MESE PLC,  but starting at the beginning:
1. I have an analog sensor with 4-20mA output connected to TM3AI4 input
2. I scale the 4-20mA input on the physical sensor range using the scale function which gives me a real value some like  24.59954001123450 on max value has 119.99999999999999
3. Now I must send the value above to HMI connected to that PLC, send it to another PLC, and show it on HMI connected to a second PLC using Modbus TCP.
And the question is how to convert that value and send it. 

 

Reply

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

Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: ‎2023-05-29 11:18 PM

0 Likes
0
1984
  • 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: ‎2023-05-29 11:18 PM

To see the Real value on the HMI you need only to define the value as REAL in the HMI software and to allocate the first of the two words. If a other PLC read the value from the PLC it is more or less the same. The other PLC need to read 2 16 values and merge them together into a real. Regarding to HMIs this function is normaly integrated in the driver. On PLC side you need to do this by your own. This works normaly in the easiest way with a pointer. You could find a solution bases on OSCAT DW_TO_REAL function. 

Some PLCs use a different Byte/Word Order (Siemens in the past) then Modicon. In that case you need to switch these values.

Reply

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

KJBER
Ensign KJBER
Ensign

Posted: ‎2023-05-30 03:05 AM

In response to pawel_kowalski_
0 Likes
2
1974
  • 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: ‎2023-05-30 03:05 AM

Hi Pawel. If the 2nd PLC is Schneider also, then perhaps the easiest would be to share vaiable over NVL.

https://www.youtube.com/watch?v=zWM-vxGcD1s

 

If not, and you have to use Modbus TCP, then I would use try to use Write_Var function block to write to in the multiple registeres (40001-49999 (%MW)). Send 245 over register and dev by 10 to get 24.5 in 2nd PLC.

Reply

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

pawel_kowalski_
Commander pawel_kowalski_
Commander

Posted: ‎2023-05-31 12:26 PM

In response to KJBER
0 Likes
0
1938
  • 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: ‎2023-05-31 12:26 PM

Hi
Thanks, @KJBER  for the advice, I'll do it differently, but I'll try your suggestion in the future because it looks like a time saver.

Reply

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

pawel_kowalski_
Commander pawel_kowalski_
Commander

Posted: ‎2023-05-31 12:29 PM

In response to KJBER
0 Likes
0
1937
  • 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: ‎2023-05-31 12:29 PM

And yes both PLC is Schneider product, exactly TM251MESE.

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