Showing results 1 to 2 of 2

Thread: Dynamic limit texts with hexadecimal value

  1. #1
    Join Date
    15.11.2011
    Posts
    7

    Default Dynamic limit texts with hexadecimal value

    Hi.

    I want to create a limit text for an error of a servo motor. The error code is provided by an additional variable. But the error code should be displayed hexadecimal.


    e.g.: limit text (dynamic limit text format)
    @keyword %var

    First comes the text which will be translated in different languages (begins with the @). Then the value should be displayed (begins with the % parameter) - but how can i define that the value should be displayed in hex?

  2. #2

    Default Re: Dynamic limit texts with hexadecimal value

    Hi,

    While zenon elements can display a value in binary, hexadeximal, octal or scientific notation, the values for the limits in zenon are always decimal. Unfortunately, it is currently not possible to convert a value to hexadecimal for use in a dynamic limit text.

    You might be able to convert the value (onchange) to hexadeximal, (straton / VBA) and write the result to a string variable, and use the string variable in the dynamic limit text.

    Regards,
    Mark

Similar Threads

  1. Replies: 2
    Last Post: 21st June 2010, 08:42
  2. Replies: 6
    Last Post: 1st December 2009, 12:56
  3. Limit Text in Elementen zuweisen
    By kicker in forum VBA
    Replies: 2
    Last Post: 16th December 2008, 10:26
  4. Limit Text - Display ID or Name of variable
    By craigdouglas in forum zenon Supervisor
    Replies: 5
    Last Post: 9th December 2008, 15:23
  5. Edit Variable limit (Delay)
    By rloureiro in forum VBA
    Replies: 5
    Last Post: 12th September 2008, 09:25

Posting Rules

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