AutomationTechBrian
Lifetime Supporting Member
I've used AOI and User Defined Data Types, but I haven't created one yet.
I have a lot of repetitive MOV commands to take a select number of values from a large Add-On-Defined data type and move them into a much smaller UDT to send to the HMI.
For Example: (abbreviated)
"HeatCool_Zone1" is a huge block of data (times 42 zones)
I want to select only:
HeatCool_Zone1.PV
HeatCool_Zone1.SP
HeatCool_Zone1.Auto
HeatCool_Zone1.Manual
And Move the values into a UDT:
HMI_HeatCool_Zone1
So the HMI will have tags available:
HMI_HeatCool_Zone1.PV
HMI_HeatCool_Zone1.SP
HMI_HeatCool_Zone1.Auto
HMI_HeatCool_Zone1.Manual
I don't know how to define the MOV parameters so I only have to enter the source and destination once for the defined AOI.
So the (source).TC value is moved into the (destination).TC value, and I'm able to define the source and destination once per AOI block. Does that make sense? Any thoughts? (Feel free to critique or add thoughts.)
I have a lot of repetitive MOV commands to take a select number of values from a large Add-On-Defined data type and move them into a much smaller UDT to send to the HMI.
For Example: (abbreviated)
"HeatCool_Zone1" is a huge block of data (times 42 zones)
I want to select only:
HeatCool_Zone1.PV
HeatCool_Zone1.SP
HeatCool_Zone1.Auto
HeatCool_Zone1.Manual
And Move the values into a UDT:
HMI_HeatCool_Zone1
So the HMI will have tags available:
HMI_HeatCool_Zone1.PV
HMI_HeatCool_Zone1.SP
HMI_HeatCool_Zone1.Auto
HMI_HeatCool_Zone1.Manual
I don't know how to define the MOV parameters so I only have to enter the source and destination once for the defined AOI.
So the (source).TC value is moved into the (destination).TC value, and I'm able to define the source and destination once per AOI block. Does that make sense? Any thoughts? (Feel free to critique or add thoughts.)