I've been trying to create an Add On from a routine that I use often. The old way makes use of a UDT with the following structure:
String1 STRING Tag
String2 STRING Description
ATM REAL Float Atmospheric Pressure- PSIA
Pb REAL Float Pressure Base
Tb REAL Float Temperature Base
HW REAL Float Differential Pressure
Etc
I use the String tags in my HMI. I built a faceplate and I use Parameter files to populate the faceplate when I call it. The Faceplate header has the tag on the top line and Description on the bottom line.
Like so-
FI-700
Hot Oil Flow to Heater
I like having the tag and description in the array when I'm troubleshooting and by typing it in the PLC I don't have to type it again if I need to use it in the HMI.
I can create String variables in the Add In but they don't show up in the tag array which makes them useless. I would like to be able to convert a few of my routines to Add Ins but not at the expense of not being able to use a String.
Any thoughts?
String1 STRING Tag
String2 STRING Description
ATM REAL Float Atmospheric Pressure- PSIA
Pb REAL Float Pressure Base
Tb REAL Float Temperature Base
HW REAL Float Differential Pressure
Etc
I use the String tags in my HMI. I built a faceplate and I use Parameter files to populate the faceplate when I call it. The Faceplate header has the tag on the top line and Description on the bottom line.
Like so-
FI-700
Hot Oil Flow to Heater
I like having the tag and description in the array when I'm troubleshooting and by typing it in the PLC I don't have to type it again if I need to use it in the HMI.
I can create String variables in the Add In but they don't show up in the tag array which makes them useless. I would like to be able to convert a few of my routines to Add Ins but not at the expense of not being able to use a String.
Any thoughts?