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

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Script.disable not working 5500NAC firmware 1.15.0

SpaceLogic C-Bus Forum

Schneider Electric forum about the C-Bus platform to get support and share knowledge including Network Automation Controller (NAC), Application Controller (AC) at selection, installation and troubleshooting sides.

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
  • EcoStruxure Building
  • Light and Room Control
  • SpaceLogic C-Bus Forum
  • Script.disable not working 5500NAC firmware 1.15.0
Options
  • 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
sesa96364
sesa96364 Schneider Alumni (Retired)
9
KCWong
Lieutenant JG KCWong Lieutenant JG
3
DarrenMullighan
Ensign DarrenMullighan Ensign
1
laurence_crowhu
Ensign laurence_crowhu
1
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to SpaceLogic C-Bus Forum
Benny_A
Crewman Benny_A
Crewman

Posted: ‎2023-10-17 11:32 AM

0 Likes
7
1049
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2023-10-17 11:32 AM

Script.disable not working 5500NAC firmware 1.15.0

after updating 5500NAC to 1.15.0 it seems that script.disable() is not working 

i have resident script with the below code 

 

log('Script running')
script.disable('test')

 

but it appears script dose not get disabled and the script keeps logging 

Tags (1)
  • Tags:
  • english
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 7
Krishnakant
Krishnakant Cadet
Cadet

Posted: ‎2023-10-25 11:40 PM

0 Likes
6
1025
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2023-10-25 11:40 PM

@Benny_A 

We tried to reproduce the issue you mentioned with v1.15.0 but were unsuccessful. Can you help us gather more information about the issue? Specifically, we would like to know:

  1. More details about the exact script name and script content. Please note that script names and function names are case-sensitive.
  2. Was this script written in v1.15.0, or was it already present and stopped working after upgrading the controller to v1.15.0?
  3. any additional information that could help us identify the root cause of the issue

Reply
Benny_A
Crewman Benny_A
Crewman

Posted: ‎2023-10-30 01:58 AM

0 Likes
5
998
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2023-10-30 01:58 AM

HI,

So

1- firmware was 1.14.0 then upgraded to 1.15.0

2- then i decided to make new resident script (script was not present under1.14.0)

3- new resident script called "test" all lower case

4- resident script 'test' has only the following code

log('Script running')

script.disable('test')

 

5- script continues to log 'Script running' and is not disabled. 

Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2023-10-30 05:50 AM . Last Modified: ‎2023-10-30 05:53 AM

0 Likes
4
990
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2023-10-30 05:50 AM

could you try script.disable(_SCRIPTNAME) and see if that does work or not?

 

And can you also perform a log(_SCRIPTNAME) as that should return the name of current script so you can compare it with your entered scriptname.

Reply
Benny_A
Crewman Benny_A
Crewman

Posted: ‎2023-10-30 10:50 AM

0 Likes
3
978
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2023-10-30 10:50 AM

Hi,

i changed it to script.disable(_SCRIPTNAME) - same result script is not disabled and keeps logging

log(_SCRIPTNAME) returns 'test' - as expected.

 

just to see if it made any difference I changed the name of the script from 'test' to 'test123' now it works... and script is disabling... 

are there any script names that are not allowed? is the word 'test' related to some internal variable perhaps?

Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2023-10-31 01:04 AM . Last Modified: ‎2023-10-31 01:06 AM

0 Likes
2
969
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2023-10-31 01:04 AM

Hi,

 

I just checked and i think you might have found a bug (:

 

Do you perhaps have a resident/event/scheduled script with the same script name 'test' ?

 

I think you do and script.disable is disabling that other script with the same name.

 

I will report to R&D that it should not be possible to have a event/resident/scheduled script with the same name because that is possible at this moment and will cause conflict with script.enable/disable.

 

Could you let me now if you have another script with the same name?

Reply
Benny_A
Crewman Benny_A
Crewman

Posted: ‎2023-10-31 02:41 AM

0 Likes
1
944
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2023-10-31 02:41 AM

Hi Erwin, 

 

Yes after looking I have also a Scheduled script with the name 'test'

 

Reply
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
Sisko

Posted: ‎2023-10-31 03:39 AM

0 Likes
0
939
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

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

‎2023-10-31 03:39 AM

That clarifies it, for now make sure to use unique script names when you combine it with script.disable/script.enable and i already have reported it, feedback i got so far is that it always has been like this, but they will look into it for future FW versions.

Reply
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