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

READ_VAR blocks freeze

Modicon PAC Forum

A forum for topics related to the scope of Modicon PAC offers and ecosystem along the whole lifecycle: Modicon M580 and 340, EcoStruxure Control Expert, EcoStruxure Process Expert (Unity Pro) and more.

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
  • Modicon PAC Forum
  • READ_VAR blocks freeze
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
MatthewM
Lt. Commander MatthewM
8
RoozeeR
Lt. Commander RoozeeR Lt. Commander
7
Trinxs1
Lt. Commander Trinxs1 Lt. Commander
6
ciupol
Lieutenant ciupol
6
View All
Related Products
product field
Schneider Electric
Modicon M580
product field
Schneider Electric
EcoStruxure™ Control Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to Modicon PAC Forum
Solved
alekseib
Ensign alekseib
Ensign

Posted: ‎2023-09-23 12:19 AM . Last Modified: ‎2023-09-23 11:48 PM

0 Likes
10
4191
  • 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-09-23 12:19 AM . Last Modified: ‎2023-09-23 11:48 PM

READ_VAR blocks freeze

READ_VAR blocks periodically freeze and communication with Modbus devices is lost. Timeout delays of blocks are set (word 3). There are no errors in communication visible (word 2). The only way that helps is to remove the GEST variable of READ_VAR blocks and assign it back. We have M580 Hot Standby system. What could be the problem?

Labels
  • Labels:
  • 02. Modicon M580 ePAC
  • 06. EcoStruxure Control Expert
  • 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
RoozeeR
Lt. Commander RoozeeR Lt. Commander
Lt. Commander

Posted: ‎2023-09-26 12:09 AM

2 Likes
1
4152
  • 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-09-26 12:09 AM

Check if the variables (GEST) are excluded from Synchronization with the STBY controller (see HotStandby installation manual). If they are synchronized, a switchover might lock the READ_VAR.

R.Roozee
Sr Solution Architect (SAE Master)

See Answer In Context

Reply

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

alekseib
Ensign alekseib
Ensign

Posted: ‎2023-09-28 10:51 PM

In response to MatthewM
0 Likes
0
4083
  • 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-09-28 10:51 PM

The READ_VAR block is triggered every 1 second if Activity bit is 0. Timeout is 20 (2sec).

See Answer In Context

Reply

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

Replies 10
MatthewM
Lt. Commander MatthewM
Lt. Commander

Posted: ‎2023-09-25 08:56 PM

1 Like
2
4181
  • 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-09-25 08:56 PM

How fast is it being triggered?  What is the timeout?  Is it actually giving no error code?  I suggest you double check and test your trap code for word 2 at the completion of the transaction (FE of word 1 bit 0.  If the next read is already triggered, you might be timing out but never seeing the status word come up.

 

What you describe with removing the GEST variable seems a bit weird, so I would start with what I said above.

 

Please share a snip of your code.

Reply

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

MatthewM
Lt. Commander MatthewM
Lt. Commander

Posted: ‎2023-09-25 09:18 PM

In response to MatthewM
2 Likes
0
4178
  • 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-09-25 09:18 PM

This is roughly how I would typically setup a READ_VAR, if it is any use to you:

 

MatthewM_2-1695701903590.png

 

 

Reply

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

KJBER
Ensign KJBER
Ensign

Posted: ‎2023-09-25 10:45 PM

0 Likes
0
4169
  • 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-09-25 10:45 PM

You can also try using the ModbusPortM / ModbusClient blocks from Schneiders General Purpose Library.   However, remember that it is mandatory that those DFBs do not run in the standby controller.

Reply

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

RoozeeR
Lt. Commander RoozeeR Lt. Commander
Lt. Commander

Posted: ‎2023-09-26 12:09 AM

2 Likes
1
4153
  • 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-09-26 12:09 AM

Check if the variables (GEST) are excluded from Synchronization with the STBY controller (see HotStandby installation manual). If they are synchronized, a switchover might lock the READ_VAR.

R.Roozee
Sr Solution Architect (SAE Master)
Reply

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

alekseib
Ensign alekseib
Ensign

Posted: ‎2023-09-28 10:51 PM

In response to MatthewM
0 Likes
0
4084
  • 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-09-28 10:51 PM

The READ_VAR block is triggered every 1 second if Activity bit is 0. Timeout is 20 (2sec).

Reply

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

alekseib
Ensign alekseib
Ensign

Posted: ‎2023-09-28 10:55 PM

In response to RoozeeR
0 Likes
0
4073
  • 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-09-28 10:55 PM

I removed GEST and RECP variables from Synchtonization. It's working now, see what happens next.

Reply

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

suharman_saputr
suharman_saputr
Cadet

Posted: ‎2023-10-05 02:18 AM

0 Likes
3
4016
  • 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-10-05 02:18 AM

hi, i have similar problem but using M580 single controller. the READ_VAR block is freeze, and the only way to solve it is to create new tag for GEST. seems that the first tag that created for GEST is freezing (can not refresh). is there any way to un-freeze this tag without build changes/creating new tag? any help please

Reply

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

MatthewM
Lt. Commander MatthewM
Lt. Commander

Posted: ‎2023-10-05 04:26 PM

In response to suharman_saputr
0 Likes
2
3993
  • 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-10-05 04:26 PM

Have you set a timeout?  What is the state of the Activity bit?

Reply

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

suharman_saputr
suharman_saputr
Cadet

Posted: ‎2023-10-05 07:58 PM

In response to MatthewM
0 Likes
1
3985
  • 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-10-05 07:58 PM

timeout set 100 (10s) and activity bit is 1

Reply

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

plcode
Crewman plcode
Crewman

Posted: ‎2025-02-28 06:14 AM

In response to suharman_saputr
0 Likes
0
767
  • 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-02-28 06:14 AM

@suharman_saputr did you find a solution to your issue? would you care to post it? thanks.

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