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!

SpaceLynk dealing with tags

SpaceLogic KNX Forum

Schneider Electric SpaceLogic KNX forum to get support and share knowledge including selection, installation and troubleshooting for spaceLYnk, Wiser for KNX, eConfigure KNX, SpaceLogic KNX Hybrid module and other topics.

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 KNX Forum
  • SpaceLynk dealing with tags
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
Thomas_Rohde
Sisko Thomas_Rohde Sisko
123
Erwin-vd-Zwart
Sisko Erwin-vd-Zwart Sisko
54
Heribert_Dölger
Lt. Commander Heribert_Dölger Lt. Commander
30
FZetina
Lt. Commander FZetina Lt. Commander
27
View All
Related Products
product field
SpaceLogic KNX - 4ʺ Touch Unit
product field
KNX Push Button Dynamic Labeling, universal
product field
Wiser for KNX : logic controller

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to SpaceLogic KNX Forum
Solved
IC_Systems
Captain IC_Systems
Captain

Posted: ‎2020-11-05 04:55 AM . Last Modified: ‎2024-07-14 11:47 PM

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

‎2020-11-05 04:55 AM

SpaceLynk dealing with tags

hello 

Script help 🙂

I want to make an action if any objects with a defined tag changed to a specific value.

 

for example, I want to turn On the fan if any light with a tag bath is on.

 

@Erwin-vd-Zwart 

 

best regards,

Best Regards,
  • Thumbnail of SpaceLogic KNX - 4ʺ Touch Unit
    SpaceLogic KNX - 4ʺ Touch Unit
  • Thumbnail of KNX Push Button Dynamic Labeling, universal
    KNX Push Button Dynamic Labeling, universal
  • Thumbnail of Wiser for KNX : logic controller
    Wiser for KNX : logic controller
View products (3)
Labels
  • Labels:
  • Scripts
  • SpaceLYnk
Tags (1)
  • Tags:
  • english
Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Thomas_Rohde
Sisko Thomas_Rohde Sisko
Sisko

Posted: ‎2020-11-05 05:58 AM

1 Like
6
401
  • 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.

‎2020-11-05 05:58 AM

Hey Nasser,

 

maybe the attached one will help. You just need to adapt the "Output" object which is was requested as 8Bit.

 

Kind regards
Thomas

Application Design Engineer

See Answer In Context

Attachments
Tags (1)
  • Tags:
  • english
Reply
Replies 7
Thomas_Rohde
Sisko Thomas_Rohde Sisko
Sisko

Posted: ‎2020-11-05 05:58 AM

1 Like
6
402
  • 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.

‎2020-11-05 05:58 AM

Hey Nasser,

 

maybe the attached one will help. You just need to adapt the "Output" object which is was requested as 8Bit.

 

Kind regards
Thomas

Application Design Engineer
Attachments
Tags (1)
  • Tags:
  • english
Reply
IC_Systems
Captain IC_Systems
Captain

Posted: ‎2020-11-05 06:16 AM

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

‎2020-11-05 06:16 AM

thank you @Thomas_Rohde  direct to the point 🙂

appreciate your help 

 

do you have advanced manual or documents regarding Lua Programming in Spacelynk?

 

If there ar something more advanced than "AN046_Programming_in_Lua_with_spaceLYnk"

 

regards,

Best Regards,
Tags (1)
  • Tags:
  • english
Reply
IC_Systems
Captain IC_Systems
Captain

Posted: ‎2020-11-05 06:21 AM

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

‎2020-11-05 06:21 AM

@Thomas_Rohde 

IF I want to do more functions like 

if all true 

or 

if all false 

 

regards,

Best Regards,
Tags (1)
  • Tags:
  • english
Reply
Thomas_Rohde
Sisko Thomas_Rohde Sisko
Sisko

Posted: ‎2020-11-05 06:38 AM

1 Like
2
391
  • 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.

‎2020-11-05 06:38 AM

Hello Nasser,

 

unfortuntely we do not have any more advanced description/manual/guide/training.
From a certain level it is kind of learning from script to script.
When you struggle at some point feel free to raise your questions here because in this case others can learn/participate too.

 

 

Kind regards
Thomas

Application Design Engineer
Tags (1)
  • Tags:
  • english
Reply
IC_Systems
Captain IC_Systems
Captain

Posted: ‎2020-11-05 06:43 AM

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

‎2020-11-05 06:43 AM

I make a counter to do 

if all false

 

take a look  @Thomas_Rohde  

 

count =0

-- Analyze if one is true
for i, obj in ipairs(Tag_Data) do
  if obj.data == true then
    count = count + 1
    OneValueTrue = true
end
end
 
grp.update('34/1/100',count)
 
if count == 0 then 
  OneValueTrue = false
end
Best Regards,
Tags (1)
  • Tags:
  • english
Reply
Thomas_Rohde
Sisko Thomas_Rohde Sisko
Sisko

Posted: ‎2020-11-05 06:44 AM

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

‎2020-11-05 06:44 AM

Hello Nasser,

 

according to "IF I want to do more functions like, if all true / if all false"

 

instead of using the tags you can do it as well "by foot". Means you can address all the needed GAs directly within the script.
As shown in the AN046 page 31 (Chapter 3.5). This is maybe a bit more obvious how it is working and to do a kind of bug tracking in case something doesn't work as expected.

 

 

Kind regards
Thomas

Application Design Engineer
Tags (1)
  • Tags:
  • english
Reply
Thomas_Rohde
Sisko Thomas_Rohde Sisko
Sisko

Posted: ‎2020-11-05 06:58 AM

1 Like
0
383
  • 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.

‎2020-11-05 06:58 AM

Hey Nasser,

 

interesting approach!
What do you think about just changig one line of the original script?

-- When one of them is true sent defined 8BitValue  >>>>>  When one of them is true sent not defined 8BitValue
if OneValueTrue then   >>>>>  if OneValueTrue == false then

 

So there are many ways to walk 😉

 

 

Kind regards
Thomas

Application Design Engineer
Tags (1)
  • Tags:
  • english
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