mwhi859716
Member
I will be using RS-Logix5000 software ver. 17. I have defined an Add-On instruction giving it a name of Valve_MOV.I want to replace a parameterized subroutine that passes data. When I go to use it in the main body of my program I would like it to write to a unique tagname of UDT type "valve".When I go to use the Add-On in the main body of the program I will give it a name...say "valve101". I would like the tagname "valve101" to not only define that occurence of the Add-On instruction but also be the tagname that holds the results of the execution of the Add-On instruction. I know I can alias in the Add-On instruction. Will I need to use aliasing and then write the results from my alias into my UDT of type "valve"? It seems to me I have two tagnames associated with the Add-On, one of type "Valve_Mov" and the other of UDT type "valve". So with every use of my Add-On instruction will I need two tags one to define the Add Can someone clear my confusion?