John H Posted November 30, 2017 Report Share Posted November 30, 2017 Hello, Using UniLogic V 1.21.51, I was hoping to create a 'Template PID' struct containing 'PID AT Params' and 'PID Config types', but these do not appear as options when attempting to add new members. The idea was then to also add some other housekeeping fields to my 'Template PID' struct, and use it as a type to create 24 global tags to manage 24 independantly-controlled oven zones in parallel. Is this possible? I was hoping to avoid having to uniquely name 24 sets of three global struct tags (such as 'PID AT Oven1 Zone1', 'PID Config Oven1 Zone1', 'PID Housekeeping Oven1 Zone1', etc.). Thanks, John. Link to comment Share on other sites More sharing options...
Saragani Posted November 30, 2017 Report Share Posted November 30, 2017 No, nested structs are not supported Link to comment Share on other sites More sharing options...
John H Posted November 30, 2017 Author Report Share Posted November 30, 2017 Ok, thanks for clarifying. Link to comment Share on other sites More sharing options...
Dave Posted December 1, 2017 Report Share Posted December 1, 2017 I too, would like to be able to nest structs, but until then, If/when you do need to uniquely name large numbers of variables, you can export the variables to an Excel file, edit them as needed, then import them back to the project...much quicker and easier than one by one in Unilogic, and, any edits are scrutinized when imported back to Unilogic and tag-name/syntax errors are reported when encountered. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now