AMarks95
Member
How do I call an AOI from an ST routine?
I have tags made for the AOIs in my Controller Tags group, but how do I call the AOI in a Structured Text routine so that the logic is executed on each one.
For example, I have an AOI called "SCP" and an instance called "SCP_test". Do I call it like so?
SCP(SCP_test, SCP_test.Input, SCP_test.In_MIN, SCP_test.In_MAX, SCP_test.Out_MIN, SCP_test.Out_MAX, SCP_test.Output);
I have tags made for the AOIs in my Controller Tags group, but how do I call the AOI in a Structured Text routine so that the logic is executed on each one.
For example, I have an AOI called "SCP" and an instance called "SCP_test". Do I call it like so?
SCP(SCP_test, SCP_test.Input, SCP_test.In_MIN, SCP_test.In_MAX, SCP_test.Out_MIN, SCP_test.Out_MAX, SCP_test.Output);