SpaceLogic for Niagara Forum
This forum is a place for technical users to share information and collaborate on the integration of SpaceLogic BMS controllers into Niagara BMS.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-02-16 01:43 PM
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:
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
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.
Posted: 2021-02-17 12:45 PM
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.
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.
Posted: 2021-02-16 01:53 PM
I have noticed for the Loop Sequenced that you need values set in TR1, TR2, and TR3 for it calculate an output.
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.
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.
Posted: 2021-02-16 02:06 PM
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.
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.
Posted: 2021-02-16 09:21 PM
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.
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.
Posted: 2021-02-17 08:50 AM
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.
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.
Posted: 2021-02-17 09:07 AM
Just as everyone has suggested, the Visual Script Program is Halted with a Invalid Function Binding error:
Do I need to delete the Visual Script Program and start fresh with the modules that were released today installed?
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.
Posted: 2021-02-17 12:45 PM
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.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.