FactoryTalktotheHand
Member
Has anyone used this new feature of v24 yet? I'm a little confused. It looks like subroutines can now be parameterized, allowing program-scoped tags to be created as parameters. So it appears to have the advantage of AOIs (not having to write the same code with different addresses for multiple, otherwise-identical cells) without the major disadvantage of not being able to edit the AOIs online.
So I created a short little test program. I made a simple start/stop seal-in logic all with parameters. My Start_PB and Stop_PB are input parameters and my Coil_Start is an output parameter.
My question is, where do I go from here? I noticed that the JSR instruction now has a place to enter Input and return parameters, but where does it associate what I put in the JSR instruction with the actual parameter tags?
So I created a short little test program. I made a simple start/stop seal-in logic all with parameters. My Start_PB and Stop_PB are input parameters and my Coil_Start is an output parameter.
My question is, where do I go from here? I noticed that the JSR instruction now has a place to enter Input and return parameters, but where does it associate what I put in the JSR instruction with the actual parameter tags?