Showing results 1 to 5 of 5

Thread: Increase/decrease value

  1. #1
    Join Date
    09.04.2013
    Posts
    57

    Default Increase/decrease value

    Hi,
    how to increase/decrease current value (for i.e. 1) in Zenon?

    Regards.

  2. #2

    Default Re: Increase/decrease value

    Hi Tihomir,

    There are several possibilities. Which one is best depends on what you are after exactly.

    You can for example create a send value to Hardware function, set the option "suggest current value", and define the value for set value to "1". Each time the function is executed, the value of the variable will incremented by 1.

    Is this what you were looking for?

    Best regards,
    Mark

  3. #3
    Join Date
    09.04.2013
    Posts
    57

    Default Re: Increase/decrease value

    Hi Mark,
    thanks for reply.

    You can for example create a send value to Hardware function,
    Do you mean Write set value function?
    I dont see "suggest current value" option?

    I need function for decreament REAL value also.

    Regards.

  4. #4

    Default Re: Increase/decrease value

    Hi Tihomir,

    Yes, "write set value". (in older Versions the function was once called "send value to hardware")

    Please have a look at the screenshot:

    Click image for larger version

Name:	ScreenShot117.png
Views:	13
Size:	13.6 KB
ID:	1045

    Best regards,
    Mark

  5. #5
    Join Date
    09.04.2013
    Posts
    57

    Default Re: Increase/decrease value

    I dont know what to say, except...thank you Mark.
    You are really helping me.

    Best regards.

Posting Rules

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