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

M340 READ_VAR block freeze

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
  • M340 READ_VAR block 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
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

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Industry Automation and Control Forum
Jacek_P
Lieutenant JG Jacek_P Lieutenant JG
Lieutenant JG

Posted: ‎2024-06-03 04:19 AM

0 Likes
5
1339
  • 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-06-03 04:19 AM

M340 READ_VAR block freeze

Hello,

We have situation with M340 2020 SV3.01 that Read_Var blocks freezes.

We have set time out to 500ms and we trigger block on the edge of %s6 with conjunction of lack of presence of activity bit.

When the block freezes it does not provide any error message.

We have tried to replace the block with another READ_Var function, Cancel operation, reset GEST variable to zero by hand upgrading Libset.

The only way to restore it to live is to change variable connected to GEST pin.

It generally takes three weeks of normal operation and after this time block is frozen.

 

Is there any solution against Read_var block freezing.

 

Labels
  • Labels:
  • Process Automation Talks
  • Smart Design & Engineering
  • Tags:
  • communication
  • english
  • m340
Reply

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

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 5
MatthewM
Lt. Commander MatthewM
Lt. Commander

Posted: ‎2024-06-03 08:59 PM

0 Likes
2
1312
  • 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-06-03 08:59 PM

Sounds like you are doing it properly.

 

Is the Activity bit high when it freezes?  I assume you see that the high byte of the first GEST word stop incrementing and the Activity bit looks to be high all the time?

 

What you describe sounds like a classic state when the timeout is not set, but you say you are setting the timeout.  Please check that you are indeed setting the 'Timeout' (3rd word) in the GEST structure, and not one of the other words by accident.

 

I don't think this is your issue as you have no error messages, but check the number of open connections that the port has.  I can't remember exactly where to find that information sorry but the M340 can only have 16.  Maybe the READ_VAR is getting locked because there are already 16 connections open?  If that is the case I would expect you would see an error message of some sort, hence I don't think this is your issue.

 

Pop us a code and animation table snip of GEST.

Reply

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

Jacek_P
Lieutenant JG Jacek_P Lieutenant JG
Lieutenant JG

Posted: ‎2024-06-03 10:40 PM

In response to MatthewM
0 Likes
1
1302
  • 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-06-03 10:40 PM

Hi,

I have checked number of opened connections.

It is visible in the NOE card debug window under Bandwidth button

In my case the number is 13.

 

Jacek_P_2-1717479375047.png

I have noticed that in firmware version 3.01 there were some fixes on UMAS communication to CPU

Jacek_P_0-1717479255388.png

Maybe it is this "feature"

In this moment we have upgraded CPU firmware to the latest version and we wait what is going to happen.

 

 

Reply

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

MatthewM
Lt. Commander MatthewM
Lt. Commander

Posted: ‎2024-06-04 09:06 PM

In response to Jacek_P
0 Likes
0
1269
  • 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-06-04 09:06 PM

I can't comment on the FW version as all the M340s that we have that make extensive use of READ/WRITE_VARs are still FW 2.7.  Keep us posted on what you find.

Reply

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

Ricard
Lieutenant Ricard Lieutenant
Lieutenant

Posted: ‎2024-07-02 01:16 AM

0 Likes
0
1171
  • 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-07-02 01:16 AM

Hello Jacek

 

First of all, I can't see nothing related this issue in the history of the firmware of M340, nevertheless we never can discard update it.

For my experience, I would focus the problem on the application or the system.

 

Questions:
Does it only happen to you with a specific read_var?
Respond to ping?
Answer Modbus questions? Put a Modbus client on your PC and do some reading.
What version of Unity/Control Expert do you have? Have you updated all the HFs?
What version of libset does the program have?

 

Tests:
Try testing only the READ_VAR block to see if you reproduce the problem (Disable or delete all code that is not important for communications).
The other test would be to see the communication frames in case we have any problems on the network that affect the system.

 

 

If you are unable to draw any conclusions, contact technical support in your country.

 

BR

Ricard

Reply

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

StevenCho
Lieutenant JG StevenCho
Lieutenant JG

Posted: ‎2024-07-02 11:20 PM

0 Likes
0
1162
  • 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-07-02 11:20 PM

I had a similar issue with the M580 through Modbus TCP (UNITY PRO).
What I did was use the DTM Browser.
After that, the freezing issue did not happen again.

https://www.youtube.com/watch?v=Igih7IFh5to

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