PLC_Shaggy
Member
I'm trying to create an AOI to simplify my life on some code that we reuse frequently. But so far it hasn't been just a mess.
I have a timer and a string that I would like to remain constant, or the same every time the AOI is used. But once it creates the function online it clears out my PRE in the timer and my string. Both are set as Local Parameters. I want to keep these internal to prevent them from being changed on the floor and to reduce the number of parameters being used in the AOI.
Thanks for any help you can give.
I have a timer and a string that I would like to remain constant, or the same every time the AOI is used. But once it creates the function online it clears out my PRE in the timer and my string. Both are set as Local Parameters. I want to keep these internal to prevent them from being changed on the floor and to reduce the number of parameters being used in the AOI.
Thanks for any help you can give.