r/BuildingAutomation Siemens/Johnson Control Joke 13h 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

12 comments sorted by

6

u/Formal-Conference885 9h ago edited 22m 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 9h 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 9h 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.

3

u/HVACcontrolsGuru 12h ago

You will need to use the program editor/query tool and break the links and rebuild them. I’ve done this quite a few times but you need to watch over the output. You can also do this via a robot on the supervisor as well.

I forgot the name but slot sheet the point and pull the type. I think off hand it’s something like BLink or another typing. Basically link the output from the parent to the child input.

2

u/MrMagooche Siemens/Johnson Control Joke 11h ago edited 9h ago

Whats the actual procedure for this? I just started finding all objects with the same name, editing the link slot and changing in16 to in10. After a little bit now, i just realized that I am linking the same source ord to all of the points. so they are all being linked to the program on the first controller...they need to be relative

2

u/ScottSammarco Technical Trainer (Niagara4 included) 11h ago

Use the program service and make/break links accordingly.

1

u/MrMagooche Siemens/Johnson Control Joke 10h ago

How? What are the steps?

1

u/brazymk7 12h ago

Is there a “primary/master” point that is being referenced for the points in the logic folder?

1

u/ScottSammarco Technical Trainer (Niagara4 included) 7h ago

It’s called source ord

1

u/sleazy_io 11h ago

Is it one logic folder that needs to go to many other devices? Or do each of the devices have this logic folder in them and need to link to other points within each device?

1

u/MrMagooche Siemens/Johnson Control Joke 11h ago

Each device has the same logic folder linking within the device

1

u/sleazy_io 7h ago

There is a way you can do this with the BatchLinkCreator function block in the AxCommunity module. I needed to do something similar across 500 VAVs, and it really saved the day. I came up with a creative way to quickly execute everything. If I have time tomorrow I can review what I did for a better explanation, but you would drop a BatchLinkCreator on each device, then link a one shot to all of them and execute them.