TheWaterboy
Lifetime Supporting Member + Moderator
OK I see what you mean. I did try something like this in a PLC5 a while back.
In this case the proc is an L81 and the .enables are not in the same scope. They are all "public parameters" from their own programs so I would have to map the controller scoped index pointer to each public parameter.
I will think about this a bit. I like the indexing idea but sometimes these solutions make maintenance harder a few years down the road.
In this case the proc is an L81 and the .enables are not in the same scope. They are all "public parameters" from their own programs so I would have to map the controller scoped index pointer to each public parameter.
I will think about this a bit. I like the indexing idea but sometimes these solutions make maintenance harder a few years down the road.