garciaortiz
Member
OP
@bernie_carlton, you are completely right. If you use only input and output parameters with no local tags or tags that local tags that are not required to stay true once it scans the routine then you can get away with it. In my example above, all my parameters worked right, including the parameter for the timer once it was no longer a local tag. But if you do that the risk of any future programmer becoming confused would be too great.
@devo.xx, I go back and forth on naming. Arrays are not so bad for me as long as there is proper description. Using individual names is ok but I really like to have everything together by either process or equipment type so I can find them easily among the tags. So starting the tag with motor_ or heating_in order to keep them tidy and my OCD in check.
@devo.xx, I go back and forth on naming. Arrays are not so bad for me as long as there is proper description. Using individual names is ok but I really like to have everything together by either process or equipment type so I can find them easily among the tags. So starting the tag with motor_ or heating_in order to keep them tidy and my OCD in check.