Showing results 1 to 3 of 3

Thread: Structured data type composite of several variables and types

  1. #1
    Join Date
    09.08.2019
    Posts
    4

    Default Structured data type composite of several variables and types

    Hey,
    is it possible to define some kind of STRUCT? or CLASS as data type?

    In my case, I already use several levels of abstraction and different kinds of IO-types. These provide me with members like: value, name, bkm, unit, inverted, log,...
    I know that some of these members are features in zenon, but I would prefer not to implement them twice when I have them already on runnnig mashines.
    I would love for example to just link one of my IO types to a little group frame like screen that can displays all these type-members in individual elements.
    That would be way less bug-prone in my opinion, compared to linking them manually. I hope that sounds reasonable.
    I mean arrays are cool but stuckts would be awesome.
    Is there a way to implement them?

    Thanks!

    Raphael

  2. #2
    Join Date
    28.02.2013
    Posts
    200

    Default Re: Structured data type composite of several variables and types

    Hello Raphael,

    yes, in the project tree, section "variables", subsection "datatypes" you can create your own structured datatypes.

    Regards,
    Felix

  3. #3
    Join Date
    09.08.2019
    Posts
    4

    Default Re: Structured data type composite of several variables and types

    Found it, Thank you!

Similar Threads

  1. Replies: 0
    Last Post: 27th February 2018, 09:36
  2. Data Types Var Export/Import Issue
    By nkadishi in forum zenon Supervisor
    Replies: 1
    Last Post: 21st July 2016, 08:04
  3. [C#] Data types defined by user
    By mhanusek in forum VSTA
    Replies: 1
    Last Post: 8th December 2015, 22:58
  4. Nested Structured Data Type in Combi Element
    By ansab.tp in forum zenon Supervisor
    Replies: 2
    Last Post: 21st March 2012, 07:38
  5. Nested structured Data types
    By bsneddon in forum Drivers
    Replies: 5
    Last Post: 3rd April 2011, 23:23

Tags for this Thread

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •