
Posted: 2020-12-19 07:20 AM
- 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: 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)
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!
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
- Labels:
-
06. EcoStruxure Control Expert
- Tags:
- english
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.
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: 2021-01-14 02:49 PM
@DavidBaker @Nope not resolved, so far no help on the forums....
- Tags:
- english
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.
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.
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: 2021-01-14 03:20 PM
Mine is for M580. I'll take a quick look at yours. Export and attach.
- Tags:
- english
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: 2021-01-14 03:31 PM
@DavidBaker Thanks any help is appreciated.
See program "Gestion_PTR" : https://we.tl/t-Q4u0jdD42O
- Tags:
- english
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: 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
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: 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.
- Tags:
- english
Link copied. Please paste this link to share this article on your social media post.

