I made some UDT's that contain arrays that have their size determined by a system constant of the plc. This is done this way because I want their size to be scaleable and their size is also needed in the program itself. This is because when the UDT's are used in a different project and the arrays need to be bigger or smaller, they can be easily adjusted by changing this constants.
I want to add the UDT's to the project/global library and later use them for faceplates. But my problem now is that it wouldn't work because the constants are only locally on the plc.
Is there a way to attach a constant to a UDT or create a constant in the library? Or is it only possible if I replace the constants by fix values?