- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-06-26 12:41 AM
Persistent variables and input value from HMI
Hi,
I need advice on how to properly input value from HMI to variable to persistent variables.
Now if I input value from HMI and shut down and up power, the variable takes 0
I send persistent variables to ModbusTCP and read/write them in HMI
- Labels:
-
Modicon M2xx
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-07-05 10:36 PM
A little more information would be helpfull. Which PLC and which HMI did you use?
The HMI is Client and the PLC Server?
In my opinion it looks like the HMI write before read values.
If it starts with 0 it overwrite the value in the PLC with this 0.
Did I understand right that you use the persisten memory in the PLC?
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-07-07 12:30 AM
Hi, @Bastian_Schmitz
1. I use TM251MESE and HMI XGTGT6330
2. Yes the HMI is the client and the PLC is a server.
3. Yes I use Persistent Memory in PLC
I think similarly, the HMI saves the variables before reading them from the PLC, but how to avoid that situation?
Link copied. Please paste this link to share this article on your social media post.

