Showing results 1 to 2 of 2

Thread: Messwerte als Peak

  1. #1

    Default Messwerte als Peak

    Hallo.

    Ich habe eine Frage zum Trend. Eine Trendkurve zu erstellen ist ja relativ einfach. Ich habe aber das Problem, dass Anlagenbedingt die Messwerte nur minimal voneinander abweichen und man daher nicht sieht, wann die Messung stattfand. Ist es möglich, die Messwerte als DOT darzustellen, oder noch besser als PEAK? Dann hätte ich auch eine Anzeige, wann genau die Messung stattfand.

    Vielen Dank für die Hilfe.

  2. #2
    Join Date
    01.07.2008
    Location
    Salzburg, AT
    Posts
    801

    Default Re: Messwerte als Peak

    The measured value when received from PLC stays like received until the PLC sends new value. For the particular value the curve is horizontal during period between changes. So the question is: how to make better visible only “steps” on the curve.

    My proposal is to place on trend additional vertical belts at the moments of value change. You can do it using an additional, internal variable:

    1. create additional, internal variable NEW_VAL, data type BOOL, calculation: Network, initial value 0.

    2. create two zenon functions ‘write set value’, linked to NEW_VAL, set value 0 and set value 1, both ‘direct to HW’.

    3. by variable NEW_VAL link by limit 1 the function created in (2) setting value 0, eventually with ‘Delay’=1s.

    4. Create a reaction matrix – multi-numeric – with one state: value ‘Any’, activated ‘Treat each change of value as new limit violation’, calling function created in (2) – setting value 1

    5. link rema (4) to your process variable with measured values.

    Now, each time when new measured value comes from PLC the additional variable has – for 1s – the value 1 (and the rest of time value 0).

    6. add to trend a curve with variable NEW_VAL --> you will have “peaks”.


    Similar solution - with NEW_VAL as numerical (same as process variable), not bool, no rema but allocation:

    1. like above but with numerical data type
    2. like above but create only one function - set value 0.
    3. like above
    4. create allocation with source=process variable, destination=NEW_VAL, trigger by edge.
    5. -
    6. like above

Similar Threads

  1. einen webclient anders konfigurieren als andere?
    By michab in forum Webserver/Webclient
    Replies: 4
    Last Post: 22nd April 2014, 17:00
  2. Bild als XML exportieren
    By perschke in forum VBA
    Replies: 4
    Last Post: 24th April 2013, 15:33
  3. zenon7 Runtime als Dienst auf Server 2008R2
    By markus.wuelfert in forum zenon Supervisor
    Replies: 2
    Last Post: 16th August 2012, 11:36
  4. Word als Binär Code anzeigen
    By sknoerr in forum zenon Supervisor
    Replies: 2
    Last Post: 26th March 2009, 19:51

Posting Rules

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