Add On Instruction / Global Scope Tags

sym_man

Member
Join Date
Dec 2015
Location
USA
Posts
16
I have an add-on instruction that tracks the run time of our equipment. The AOI has an input called "Reset" which resets the timer.

I want to reset the run time of every piece of equipment in the facility. Ideally, I would like to be able to accomplish this with a single global PLC tag, let's call it "Reset_Run_Timers".

What I could do is have a rung that checks if "Reset_Run_Timers" is energized, and then energize the "Reset" input of every individual run timer in the program. But this means that if I am adding or deleting a piece of equipment, I also have to remember to update my references to its run timer in this rung.

I don't want to maintain a list of references to energize when I need to reset the timers. If AOIs could reference controller scoped tags, it would be trivial. If I could pass in a tag to an AOI as an input parameter it would be trivial as well.

Is there any way around this? How can I affect many AOI instances without all the extra effort to maintain a list of them?
 
It should be pretty straight forward - In the AOI make your RESET tag a required Input - and on the face of all the AOI's have the RESET Input set to "Reset_Run_Timers"


We do this with all of our blocks to have a global alarm reset command.
 
It should be pretty straight forward - In the AOI make your RESET tag a required Input - and on the face of all the AOI's have the RESET Input set to "Reset_Run_Timers"


We do this with all of our blocks to have a global alarm reset command.

Thank you, that is perfect. I was getting in my own way, I should have realized that you can set a tag to be the input on the face of the block even if you can't do it from the properties of the tag.
 

Similar Topics

Hi there, I am trying to create an Add=On Instruction to help me manage some alarm conditions in my application. My AOI has one Boolean output...
Replies
7
Views
2,580
hey good afternoon ! I have a simple question, I need to import an Add on instruction to a controller that is in operation and cannot stop. Is it...
Replies
6
Views
288
please can someone help me how do i add status bits to the add on instruction in studio 5000 thank you
Replies
2
Views
1,471
Hello all, Is there a way to trend tags associated with AOI? Currently the selection is grayed out. The tag is a local tag and it resides in a...
Replies
8
Views
2,126
I have to create a sample mov template in add on instruction.I just want to know the list of tags which is used to create a mov logic instruction...
Replies
6
Views
2,090
Back
Top Bottom