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

NE_INT on array value

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
  • NE_INT on array value
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 M340

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Modicon PAC Forum
Anonymous user
Not applicable

Posted: ‎2020-12-19 07:20 AM

0 Likes
8
3500
  • 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: ‎2020-12-19 07:20 AM

NE_INT on array value

I am trying to set an error flag based on the GEST parameter of READ_VAR.

The array PT1_RX1_ST is the input GEST on a READ_VAR block.

The index 1 of the array points the report (0 = no error)

The index 3 of the array points to the length of the response (expecting length = 4)

 

Untitled.png

 

If I unplug the cable to the remote device, we see the first NE_INT fails (7 != 0, but the output is false)

The second NE_INT block seems to work properly. How can I fix this ?? (I'm new to Schneider PLC)

I'm using M340, the remote device is a M221

Thanks!

Untitled.png

 

 

 

 

 

 

 

I also tried to give the GEST a direct memory address %MW200 and read values %MW201 and %MW203.

%MW201 is always 0, %MW203 seems to update properly

Untitled.pngUntitled.png

Labels
  • Labels:
  • 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
Replies 8
DavidBaker
Crewman DavidBaker Crewman
Crewman

Posted: ‎2021-01-14 02:46 PM

0 Likes
6
3414
  • 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: ‎2021-01-14 02:46 PM

Did you ever resolve this?

  • Tags:
  • english
Reply

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

Anonymous user
Not applicable

Posted: ‎2021-01-14 02:49 PM

In response to DavidBaker
0 Likes
5
3412
  • 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: ‎2021-01-14 02:49 PM

@DavidBaker @Nope not resolved, so far no help on the forums....

  • Tags:
  • english
Reply

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

DavidBaker
Crewman DavidBaker Crewman
Crewman

Posted: ‎2021-01-14 02:52 PM

In response to Anonymous user
0 Likes
4
3408
  • 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: ‎2021-01-14 02:52 PM

Odd.  The logic works on my PLC.  What version of Unity?

  • Tags:
  • english
Reply

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

Anonymous user
Not applicable

Posted: ‎2021-01-14 02:59 PM

In response to DavidBaker
0 Likes
3
3404
  • 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: ‎2021-01-14 02:59 PM

@DavidBaker Ecostruxure Control Expert V14.1 - 191122A

 

Would you mind sharing your working program?

  • Tags:
  • english
Reply

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

DavidBaker
Crewman DavidBaker Crewman
Crewman

Posted: ‎2021-01-14 03:20 PM

In response to Anonymous user
0 Likes
2
3396
  • 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: ‎2021-01-14 03:20 PM

Mine is for M580.  I'll take a quick look at yours.  Export and attach.  

  • Tags:
  • english
Reply

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

Anonymous user
Not applicable

Posted: ‎2021-01-14 03:31 PM

In response to DavidBaker
0 Likes
1
3392
  • 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: ‎2021-01-14 03:31 PM

@DavidBaker Thanks any help is appreciated.

See program "Gestion_PTR" : https://we.tl/t-Q4u0jdD42O  

  • Tags:
  • english
Reply

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

FrancisBreysach
Ensign FrancisBreysach Ensign
Ensign

Posted: ‎2021-01-15 12:51 AM

In response to Anonymous user
0 Likes
0
3375
  • 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: ‎2021-01-15 12:51 AM

Hello

 

If the problem is always present,

As a workaround,

you could try to invert the logic of the test: 

EQ_INT and then invert the input (on the OR_BOOL) with a Not (little circle).

  • Tags:
  • english
Reply

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

DavidBaker
Crewman DavidBaker Crewman
Crewman

Posted: ‎2021-01-15 07:06 AM

0 Likes
0
3370
  • 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: ‎2021-01-15 07:06 AM

You are running your Read_Var continuously (directly from the Power Rail).  The Value of 7 is actually toggling between 7 and 0 so fast that you can't see it.  So it only looks like the logic is not working properly.  I proved this by adding a contact in front of your Read_Var., then disabled the rung after remove the ethernet cable.

 

You will want to use logic to control execution of the Read_Var.  I use a Pulse Input to execute the Read_Var. 

 

Read_Var_Contact.PNG

 

 

  • Tags:
  • english
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