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!

PLC & HMI Addressing

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
  • PLC & HMI Addressing
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

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
Fauzulz_
Crewman Fauzulz_
Crewman

Posted: ‎2024-12-01 06:19 PM

0 Likes
4
1129
  • 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-12-01 06:19 PM

PLC & HMI Addressing

Hello, I am using Machine Expert 1.2.7 to program a TM241 PLC and Vijeo Designer Basic 1.2.1 to create an HMI.
I have encountered two issues related to HMI addressing:

  1. I am using the Real data type for PID parameter settings (e.g., KP) via the HMI, with the address %MD107. However, when declaring variables in Vijeo Designer, I cannot find the same address for the Real data type. The available options are %MFi, %MWi, %KWi, %SWi. How can I map the Real data type to the PLC address %MD107 in Vijeo Designer?

  2. In the PLC, I use the Word data type. However, in the HMI, the Word data type is unavailable, and only INT, REAL, BOOL, DINT, UINT, etc., are listed. Would it cause any issues if I use the Real data type in the HMI while the PLC still uses the Word data type, as the address %MWi is being used?

Are there any solutions to address these issues?

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
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: ‎2024-12-02 11:10 PM

1 Like
2
1105
  • 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-12-02 11:10 PM

Hi, The address type MF is for float/real values. The memory space of MD and MF is the same (32Bit). But with MF Vijeo Designer knows that the value is a real. 

You have also the possibility to use the PACdrive driver if you use the the HMI and the PLC with ethernet. The PACdrive driver is more or less a Codesys/SOMACHINE driver for Netvar communication. 

 

The data type WORD and UINT is more or less the same. WORD is mostly shown as HEX UINT mostly as decimal value.

See Answer In Context

Reply

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

Fauzulz_
Crewman Fauzulz_
Crewman

Posted: ‎2024-12-05 03:24 AM

In response to Bastian_Schmitz
0 Likes
1
1072
  • 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-12-05 03:24 AM

Hi,  

Thank you for your detailed response. However, I am still encountering issues while using the %MFi address in the HMI.  

 

I attempted your suggestion to map %MDi addresses in PLC TM241 to %MFi addresses in HMI ET6500 by multiplying the %MDi address by 2. For example, I mapped %MD100 to %MF200, but the value does not display correctly.  

 

Here’s the specific setup:  

- I am using chlorine sensors with a measuring range of 0.02 ppm to 2.00 ppm (4-20mA).  

- I set the data range to 0–10000  then scaled it from 0–10000 to 0.02–2.00 ppm and stored the result in %MD503 as a float value.  

- When I try to display this value in the HMI using %MFi, the numeric display shows (***.***)or occasionally blinks to 0.02 ppm, but the correct value never appears.  

- I even forced the PLC value to 10000, but the HMI still doesn’t show the correct output.  

 

Could you suggest an alternative way to read and display the real value (0.02 to 2.00 ppm) accurately on the HMI?  

 

I appreciate your guidance

See Answer In Context

Reply

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

FernandoRodrigues
FernandoRodrigues Support
Support

Posted: ‎2025-01-09 01:03 AM

0 Likes
0
894
  • 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: ‎2025-01-09 01:03 AM

Hello,
M2xx controllers has a different memory organization when compared with Vijeo Designer based HMIs
This only applies if you are using ModbusRTU or TCP between PLC and HMI
See below:

FernandoRodrigues_0-1736413136647.png

 

You can follow this quick reference below:

FernandoRodrigues_1-1736413216802.png


As @IZAR_SBS already said, you must set the Modbus driver as Low Word First on HMI side.

See Answer In Context

Reply

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

Replies 4
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
Admiral

Posted: ‎2024-12-02 11:10 PM

1 Like
2
1106
  • 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-12-02 11:10 PM

Hi, The address type MF is for float/real values. The memory space of MD and MF is the same (32Bit). But with MF Vijeo Designer knows that the value is a real. 

You have also the possibility to use the PACdrive driver if you use the the HMI and the PLC with ethernet. The PACdrive driver is more or less a Codesys/SOMACHINE driver for Netvar communication. 

 

The data type WORD and UINT is more or less the same. WORD is mostly shown as HEX UINT mostly as decimal value.

Reply

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

Fauzulz_
Crewman Fauzulz_
Crewman

Posted: ‎2024-12-05 03:24 AM

In response to Bastian_Schmitz
0 Likes
1
1073
  • 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-12-05 03:24 AM

Hi,  

Thank you for your detailed response. However, I am still encountering issues while using the %MFi address in the HMI.  

 

I attempted your suggestion to map %MDi addresses in PLC TM241 to %MFi addresses in HMI ET6500 by multiplying the %MDi address by 2. For example, I mapped %MD100 to %MF200, but the value does not display correctly.  

 

Here’s the specific setup:  

- I am using chlorine sensors with a measuring range of 0.02 ppm to 2.00 ppm (4-20mA).  

- I set the data range to 0–10000  then scaled it from 0–10000 to 0.02–2.00 ppm and stored the result in %MD503 as a float value.  

- When I try to display this value in the HMI using %MFi, the numeric display shows (***.***)or occasionally blinks to 0.02 ppm, but the correct value never appears.  

- I even forced the PLC value to 10000, but the HMI still doesn’t show the correct output.  

 

Could you suggest an alternative way to read and display the real value (0.02 to 2.00 ppm) accurately on the HMI?  

 

I appreciate your guidance

Reply

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

IZAR_SBS
Ensign IZAR_SBS
Ensign

Posted: ‎2024-12-06 02:43 AM

In response to Fauzulz_
0 Likes
0
1069
  • 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-12-06 02:43 AM

Try to change the configuration of HMI in IO manager. Change the double word order from low word first to high word first or vice versa. 

Or else

Move the entire data in MW and convert the values from MW to other data types in the PLC. 

Reply

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

FernandoRodrigues
FernandoRodrigues Support
Support

Posted: ‎2025-01-09 01:03 AM

0 Likes
0
895
  • 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: ‎2025-01-09 01:03 AM

Hello,
M2xx controllers has a different memory organization when compared with Vijeo Designer based HMIs
This only applies if you are using ModbusRTU or TCP between PLC and HMI
See below:

FernandoRodrigues_0-1736413136647.png

 

You can follow this quick reference below:

FernandoRodrigues_1-1736413216802.png


As @IZAR_SBS already said, you must set the Modbus driver as Low Word First on HMI side.

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