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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...