Sign In Help
Schneider Electric
HelpSign In
Schneider Electric Exchange
  • Home
  • Collaborate
  • Develop
  • Shop
Home Collaborate Develop Shop Log in or Register Help

Invite a Co-worker

Send a co-worker an invite to the Exchange 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
  • Home
  • Collaborate
  • Exchange Community
  • :
  • Private Communities
  • :
  • SmartX for Niagara
  • :
  • Cannot get Loop Sequenced or Loop Single to calculate
Community Menu
  • Forums
    • By Topic
        • EcoStruxure IT
          • EcoStruxure IT forum
        • Industrial Automation
          • Industry Automation and Control Forum
          • Alliance System Integrators Forum
          • Machine Solutions in the Digital Transformation
          • EcoStruxure Automation Expert / IEC 61499 Forum
          • Industrial Edge Computing Forum
          • Level and Pressure Instrumentation Forum
          • Modicon User Group
          • PLC Club Indonesia
          • SEE Automation Club Forum
          • Fabrika ve Makina Otomasyonu Çözümleri
          • Форум по промышленной автоматизации СНГ
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Forum
          • SCADA and Telemetry Devices Forum
        • Power Distribution IEC
          • Power Distribution and Digital
          • Power Standards & Regulations
          • Paneelbouw & Energie Distributie
        • Power Distribution Softwares
          • EcoStruxure Power Design Forum
          • SEE Electrical Building+ Forum
          • LayoutFAST User Group Forum
        • Wireless Information Network Solutions
          • Instrument Area Network
          • Remote Monitoring
          • Tank Level Monitoring
          • Remote Data Collection
        • Solutions for your Business
          • Solutions for Food & Beverage Forum
          • Solutions for Healthcare Forum
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Forum
        • Healthcare
          • Solutions for Healthcare Forum
      • EcoStruxure IT
        • EcoStruxure IT forum
      • Industrial Automation
        • Industry Automation and Control Forum
        • Alliance System Integrators Forum
        • Machine Solutions in the Digital Transformation
        • EcoStruxure Automation Expert / IEC 61499 Forum
        • Industrial Edge Computing Forum
        • Level and Pressure Instrumentation Forum
        • Modicon User Group
        • PLC Club Indonesia
        • SEE Automation Club Forum
        • Fabrika ve Makina Otomasyonu Çözümleri
        • Форум по промышленной автоматизации СНГ
      • SCADA & Telemetry Solutions
        • Geo SCADA Expert Forum
        • SCADA and Telemetry Devices Forum
      • Power Distribution IEC
        • Power Distribution and Digital
        • Power Standards & Regulations
        • Paneelbouw & Energie Distributie
      • Power Distribution Softwares
        • EcoStruxure Power Design Forum
        • SEE Electrical Building+ Forum
        • LayoutFAST User Group Forum
      • Wireless Information Network Solutions
        • Instrument Area Network
        • Remote Monitoring
        • Tank Level Monitoring
        • Remote Data Collection
      • Solutions for your Business
        • Solutions for Food & Beverage Forum
        • Solutions for Healthcare Forum
      • Food & Beverage
        • Solutions for Food & Beverage Forum
      • Healthcare
        • Solutions for Healthcare Forum
  • Blogs
    • By Topic
        • Industrial Automation
          • Industrial Edge Computing Blog
          • Industry 4.0 Blog
          • Industrie du Futur France
        • SCADA & Telemetry Solutions
          • SCADA and Telemetry Blog
        • Power Distribution IEC
          • Power Events & Webinars
          • Power Foundations Blog
        • Power Distribution NEMA
          • NEMA Power Foundations Blog
        • Power Distribution Softwares
          • EcoStruxure Power Design Blog
          • SEE Electrical Building+ Blog
        • Solutions for your Business
          • Solutions for Food & Beverage Blog
          • Solutions for Healthcare Blog
          • Solutions for Retail Blog
        • Community experts & publishers
          • Publishers Community
    • By Segment
        • Food & Beverage
          • Solutions for Food & Beverage Blog
        • Healthcare
          • Solutions for Healthcare Blog
        • Retail
          • Solutions for Retail Blog
      • Industrial Automation
        • Industrial Edge Computing Blog
        • Industry 4.0 Blog
        • Industrie du Futur France
      • SCADA & Telemetry Solutions
        • SCADA and Telemetry Blog
      • Power Distribution IEC
        • Power Events & Webinars
        • Power Foundations Blog
      • Power Distribution NEMA
        • NEMA Power Foundations Blog
      • Power Distribution Softwares
        • EcoStruxure Power Design Blog
        • SEE Electrical Building+ Blog
      • Solutions for your Business
        • Solutions for Food & Beverage Blog
        • Solutions for Healthcare Blog
        • Solutions for Retail Blog
      • Community experts & publishers
        • Publishers Community
      • Food & Beverage
        • Solutions for Food & Beverage Blog
      • Healthcare
        • Solutions for Healthcare Blog
      • Retail
        • Solutions for Retail Blog
  • Ideas
        • Industrial Automation
          • Modicon Ideas & new features
        • SCADA & Telemetry Solutions
          • Geo SCADA Expert Ideas
          • SCADA and Telemetry Devices Ideas
  • Knowledge Center
    • Building Automation Knowledge Base
    • Industrial Automation Knowledge Base
    • Industrial Automation How-to videos
    • SCADA & Telemetry Solutions Knowledge Base
    • Digital E-books
    • Success Stories Corner
    • Power Talks
  • Events & Webinars
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Technology Partners
  • Support
    • Ask Exchange
    • Leaderboard
    • Our Community Guidelines
    • Community User Guide
    • How-To & Best Practices
    • More
Join Now
How can we help?
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: 
50909members
Join Now
244884posts
Join Now

Cannot get Loop Sequenced or Loop Single to calculate

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
Solved Go to Solution
Back to SmartX for Niagara
Solved
barry_sweet_abs
Lieutenant JG barry_sweet_abs
Lieutenant JG
1 week ago
0 Likes
7
98
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
1 week ago

Cannot get Loop Sequenced or Loop Single to calculate

I am running Niagara 4.8.0.110 and the latest modules from Schneider(Version #10, Build 34).  I have a Visual Script Program that includes two loops, 1 sequenced and 1 single.  As you can see below, neither will calculate an output:

 
 
 
 
 
 

LoopIssue.png

 

I have the Polling enabled for the entire Config wire sheet.  I have also compiled and received a program transferred to controller successful message.  Any ideas?

 

Thanks,

 

Barry

 

Solved! Go to Solution.

Tags (1)
  • Tags:
  • english
Share
Reply

Accepted Solutions
barry_sweet_abs
Lieutenant JG barry_sweet_abs
Lieutenant JG
1 week ago
0 Likes
0
55
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
1 week ago

Re: Cannot get Loop Sequenced or Loop Single to calculate

Ok, So I deleted the Visual Script Program.  Installed the modules (version #11 Build 37). The recreated the Visual Script Program and it worked.  I then added more objects and it kept working.  

See Answer In Context

Tags (1)
  • Tags:
  • english
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
7 Replies 7
dbrum_uhlco_com
Lieutenant | EcoXpert Master dbrum_uhlco_com Lieutenant | EcoXpert Master
Lieutenant | EcoXpert Master
1 week ago
0 Likes
3
95
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
1 week ago

Re: Cannot get Loop Sequenced or Loop Single to calculate

I have noticed for the Loop Sequenced that you need values set in TR1, TR2, and TR3 for it calculate an output.

Tags (1)
  • Tags:
  • english
Share
Reply
barry_sweet_abs
Lieutenant JG barry_sweet_abs
Lieutenant JG
1 week ago
0 Likes
2
92
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
1 week ago

Re: Cannot get Loop Sequenced or Loop Single to calculate

@dbrum_uhlco_com :  Thank you for that information.  I went back to the object and put a default value in the TR2 and TR3, compiled, received a success message, but still would not calculate.  Do they actually have to be inputs? 

Tags (1)
  • Tags:
  • english
Share
Reply
dbrum_uhlco_com
Lieutenant | EcoXpert Master dbrum_uhlco_com Lieutenant | EcoXpert Master
Lieutenant | EcoXpert Master
1 week ago
0 Likes
1
89
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
1 week ago

Re: Cannot get Loop Sequenced or Loop Single to calculate

From what I've seen it appears to copy the niagara default values into the script.  What I've noticed is that if there is any issue within the visual script program the entire script goes into a halted state.  You might want to look at the Program State under the AX Property Sheet to see if it is running.

Tags (1)
  • Tags:
  • english
Share
Reply
Jim_Okapal
Lt. Commander | EcoXpert Master Jim_Okapal Lt. Commander | EcoXpert Master
Lt. Commander | EcoXpert Master
1 week ago
0 Likes
0
78
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
1 week ago

Re: Cannot get Loop Sequenced or Loop Single to calculate

One thing to keep in mind with the versions i've seen up to now, if you create a

Visual Script program from scratch, it'll work after the first compile.  But once you

start adding and deleting blocks and so forth, the blocks that have functions 

associated with them may get into a halted or unloaded state which appears to 

mimic a connection lost between the calling program and the function itself.  It 

seems to be similar to in EBO if you have a calling program not bound to the function.

The script will show the same halted state in EBO.

 

The only recourse i've had is to delete the Visual Script and either paste the items in

from another block or just start over.  

 

I could be wrong, but it "seems" like it's relating to a function connection

in general.  Maybe R+D has some further light on it since i was talking with them

about it during one of our previous weekly conference calls.  

Tags (1)
  • Tags:
  • english
Share
Reply
David_Purser
Sisko David_Purser Sisko
Sisko
1 week ago
0 Likes
2
66
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
1 week ago

Re: Cannot get Loop Sequenced or Loop Single to calculate

Can you show the AX Property sheet of the Program Object to see the Current Line, Error Code, etc?

NOTE: In version 34 the Error Code may be a number and is fixed in the next release you will get.

Tags (1)
  • Tags:
  • english
Share
Reply
barry_sweet_abs
Lieutenant JG barry_sweet_abs
Lieutenant JG
1 week ago
0 Likes
1
62
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
1 week ago

Re: Cannot get Loop Sequenced or Loop Single to calculate

Just as everyone has suggested, the Visual Script Program is Halted with a Invalid Function Binding error:

VisualScriptProgramHalted.png

Do I need to delete the Visual Script Program and start fresh with the modules that were released today installed?

Tags (1)
  • Tags:
  • english
Share
Reply
barry_sweet_abs
Lieutenant JG barry_sweet_abs
Lieutenant JG
1 week ago
0 Likes
0
56
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
1 week ago

Re: Cannot get Loop Sequenced or Loop Single to calculate

Ok, So I deleted the Visual Script Program.  Installed the modules (version #11 Build 37). The recreated the Visual Script Program and it worked.  I then added more objects and it kept working.  

See Answer In Context

Tags (1)
  • Tags:
  • english
Share
Reply
Top Experts
User Count
Will_Workman
Janeway Will_Workman Janeway
12
ChrisHoward
Lieutenant JG ChrisHoward Lieutenant JG
7
RandyDavis
Sisko RandyDavis Sisko
1
David_Purser
Sisko David_Purser Sisko
1
barry_sweet_abs
Lieutenant JG barry_sweet_abs
1
See More Top Experts
Find a Service Provider
Find a certified partner to help you address your integration, installation, maintenance and project needs.
View all Providers
Support

Have a question? Please contact us with details, and we will respond.

Contact Us
FAQ

Look through existing questions to find popular answers.

Learn More
About

Want to know more about Exchange and its possibilities?

Learn More

Full access is just steps away!

Join Exchange for FREE and get unlimited access to our global community of experts.

Connect with Peers & Experts

Discuss challenges in energy and automation with 30,000+ experts and peers.

Get Support in Our Knowledge Base

Find answers in 10,000+ support articles to help solve your product and business challenges.

Ask Questions. Give Solutions

Find peer based solutions to your questions. Provide answers for fellow community members!

Register today for FREE

Register Now

Already have an account?Log in

About Us FAQ Terms & Conditions Privacy Notice Change your cookie settings
©2020, Schneider Electric