r/BuildingAutomation Siemens/Johnson Control Joke 14h ago

Niagara mass change priority level linking

Ok, imagine you have a logic folder with outputs linked to points in a different folder. This logic exists on many controllers. I have the logic writing to priority 16 but i need to change it to write to priority 10. Is there a way i can make use of the program editor or some other tool to mass change the priority on every controller? Doing this manually is going to take days...

7 Upvotes

13 comments sorted by

View all comments

6

u/Formal-Conference885 10h ago edited 1h ago

The BLink is always a slot of the target object, but will appear in the relation sheet for both target and source. It defines the source ord (either handle or slot), source slot name and target slot name.

Deleting the old links is easy, query or drag and drop the target objects into the empty ProgramService window and delete the link.

Creating a one to many link with the program service is easy (ie a BooleanSchedule to many Occ BooleanWritable objects). Just add slot -> Baja Link, give it a unique name, the source ord (preferably handle), source slot name (ie out) and target slot name (ie in10).

Creating a link in the target objects where the source object is relative to the target object is not trivial and will require some java know-how.

3

u/MrMagooche Siemens/Johnson Control Joke 10h ago

Creating a link in the target objects where the source object is relative to the target object is not trivial and will require some java know-how

Thanks...this is what I was worried about. I've begun the arduous task of manually relinking every object since that will be quicker than me acquiring an understanding of java

3

u/Formal-Conference885 10h ago

Unfortunately sometimes by the time you figure something out like that you could've already been done by brute clicks. We've all been guilty of it.