Showing results 1 to 3 of 3

Thread: Sum of 2 variable values

  1. #1
    Join Date
    07.09.2008
    Posts
    9

    Beitrag Sum of 2 variable values

    Hello all,

    In my application I have to put the sum of 2 variables into a internal variable. How can I do this? Only with VBA?

    Thanks in advance for the answer.

    Regards,
    Dragos

  2. #2

    Default Re: Sum of 2 variable values

    take a look at the mathematics driver. (MATH32) Here you will find many arithmetic and logic operations.

    Just create a new variable of the mathematics driver, and select the formula property in the value calculation section of the properties window.

    You can choose datatype "bool" for logical operations, or "LREAL" for other calculations.

    As with system driver variables and internal variables, mathematics driver variables do not count as tags in your license


    Another option of course, is to use STRATON. A 8 variables straton license, comes with each zenon license for free.

  3. #3
    Join Date
    07.09.2008
    Posts
    9

    Default Re: Sum of 2 variable values

    Dear MarkClemens,

    Thank you very much for reply!

    Regards,
    Dragos

Similar Threads

  1. values and elements aren't displayed on WindowsCE
    By sebastiank in forum zenon Service Engine Operator
    Replies: 2
    Last Post: 6th February 2012, 23:02
  2. Replies: 3
    Last Post: 26th November 2008, 08:36
  3. Replies: 0
    Last Post: 21st August 2007, 09:35
  4. values of my mathematics driver suddenly missing
    By markclemens in forum zenon Network
    Replies: 0
    Last Post: 20th August 2007, 12:10

Posting Rules

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