Jump to content

Nested structures?


John H

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.