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

5500NAC SetLightingLevel() broken after firmware 1.14.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
  • 5500NAC SetLightingLevel() broken after firmware 1.14.0
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
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-04-22 08:14 PM

0 Likes
4
1221
  • 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.

‎2023-04-22 08:14 PM

5500NAC SetLightingLevel() broken after firmware 1.14.0

SetLightingLevel('Bed 1 WIR', 255, 4) light is ramped on -- can see it all correct,

then call SetLightingLevel() again and nac dosnt update object value correctly.

5500Nac showing Current Value to be 0->255(4sec) after 4 sec it never changes to 255 

5500Nac never changes the Current Value to be 255 even though the light is fully on.

 

also the same occurs when manual controlling the object/group address on the objects tab in the UI with the set value button, when setting a ramp command the first one works but if you attempt to set it to the same level it already is at, it shows the current value to be the ramp command 0->255(4sec),

so nac actually thinks the object value is 0 

 

looking in toolkit application log, the ramp command is sent every time by the 5500NAC but the NAC dose not update the actual level of the Object it shows the current value to be the ramp command 0->255(4sec) and not 255 which is the current value of the object/GA according to toolkit.

 

Seems like something else gets broken on every firmware release.

 

 

 

 

Tags (1)
  • Tags:
  • english
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
Replies 4
DarrenMullighan
Ensign DarrenMullighan Ensign
Ensign

Posted: ‎2023-04-23 11:27 PM . Last Modified: ‎2023-04-23 11:30 PM

0 Likes
1
1161
  • 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.

‎2023-04-23 11:27 PM

Hi Ben,

 

I have been attempting to replicate this here, but sadly without success, I get a similar effect when I do not have C-Bus connected to the NAC, but based off your description, it sounds like you have this connected to yours?

 

Are you testing this on objects that were created after the firmware update? or prior to? I would be curious to identify roughly how old the project is that you are testing on here.

 

Any details would be appreciated, thanks

 

Edit: Nevermind, I believe I have just replicated the SetLightingLevel() issue

Reply
Benny_A
Crewman Benny_A
Crewman

Posted: ‎2023-04-25 12:30 PM

0 Likes
0
1148
  • 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.

‎2023-04-25 12:30 PM

Hi Darren,

 

Thanks for your reply,

at least I'm not going crazy ðŸ˜‚ and you are able to replicate something,

 

This project has gone through a few changes over the years, started of as a SHAC, one of the earlier ones, which failed, then was replaced with a NAC about 3 years ago the complete project was recreated form scratch when NAC was installed.

 

yep Cbus connected, its hard to explain, but as simple as i can, when the object is already at level 255 and we use setlightinglevel() NAC sends the command out but doesn't update its own object after the ramp time so it thinks its still ramping

 

all objects have been created prior to firmware update. 

I'm curious to know if it makes a difference if you do the firmware without a project installed - eg factory default then install firmware - then upload cgl and project backup?

- is there a preferred method for installing firmware or maybe it makes no difference?

Reply
DarrenMullighan
Ensign DarrenMullighan Ensign
Ensign

Posted: ‎2023-04-25 05:09 PM

0 Likes
1
1143
  • 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.

‎2023-04-25 05:09 PM

Hi Ben,

 

Firmware updates are designed to consider the current state of the project and update them to work with the new firmware. So the method of updating the firmware without factory defaulting first is the method we recommend.

 

In regards to your logic not reporting back the correct level while it is ramping though, it is possible to use the GetCBusTargetLevel() function to report back the level of the group address that it is intending to go to

 

-- Get target level of application 56 group 1 on the local network
value = GetCBusTargetLevel(0, 56, 1)

Reply
Benny_A
Crewman Benny_A
Crewman

Posted: ‎2023-04-26 04:21 PM

0 Likes
0
1129
  • 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.

‎2023-04-26 04:21 PM

Hi Darren,

 

Its not so much the while ramping that's my problem just that if object is already at 255 and you ramp the object to 255 with a ramp rate it never resolves to 255 on the nac object and its status is stuck in the ramping phase even after ramp timeout period. is that what you have observed with testing is it a bug?

 

I can manage a work around with code using if GetLightingLevel() ~= 255 and  GetCBusTargetLevel() ~=255 then ... etc

so that if it is on already or ramping to 255 then another command is not sent

 

  

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