testsubject
Member
I am wondering if this possible.
I am trying to automate some of the processes we use by putting them into nested AOI.
In the past, we would use aliasing to link Input/Outputs to internal variables for use in the program.
I created a UDT that includes these variables but am now I am unable to alias them.
Am I missing something?
For example:
I created a UDT called "VFD" with In1, In2, In3 as BOOLs.
I then created an AOI called "SubR" which includes "Param" as an InOut VFD Datatype.
I then created a Controller tag Routine1 with a data type of SubR.
I thought that I would be able to alias
Routine1.Param.In1 to I:1.1
Routine1.Param.In2 to I:1.2
Routine1.Param.In3 to I:1.3
but cannot.
I do not see "Param" in the dropdown for the Controller tag that I created; Only EnableIn and EnableOut.
Any clues as to where I went wrong?
I was hoping to use data types to do some subsection "wrapping" like
SubR1, SubR2, SubR3 are parameters of "Section" UDT and the system would include Section1, Section2, and Section3 with data type 'Section."
I am trying to automate some of the processes we use by putting them into nested AOI.
In the past, we would use aliasing to link Input/Outputs to internal variables for use in the program.
I created a UDT that includes these variables but am now I am unable to alias them.
Am I missing something?
For example:
I created a UDT called "VFD" with In1, In2, In3 as BOOLs.
I then created an AOI called "SubR" which includes "Param" as an InOut VFD Datatype.
I then created a Controller tag Routine1 with a data type of SubR.
I thought that I would be able to alias
Routine1.Param.In1 to I:1.1
Routine1.Param.In2 to I:1.2
Routine1.Param.In3 to I:1.3
but cannot.
I do not see "Param" in the dropdown for the Controller tag that I created; Only EnableIn and EnableOut.
Any clues as to where I went wrong?
I was hoping to use data types to do some subsection "wrapping" like
SubR1, SubR2, SubR3 are parameters of "Section" UDT and the system would include Section1, Section2, and Section3 with data type 'Section."