Showing results 1 to 3 of 3

Thread: Variable value change logging in CEL combined with other values

  1. #1
    Join Date
    21.07.2011
    Posts
    18

    Default Variable value change logging in CEL combined with other values

    Dear,

    I need to log variable value changing with few extra texts. 
    User need to enter start and end date and then enter some value of volume.
    When user manually changes value of volume then i need to record entered start and end date.
    Its 11 variables and 11 values, can I log all this values in 1 row in CEL? 

    BR,
    Albert



  2. #2
    Join Date
    01.07.2008
    Location
    Salzburg, AT
    Posts
    878
    Best Answer

    Default Re: Variable value change logging in CEL combined with other values

    you can make those all variables 'externally visible' for zenon Logic and add in Logic the fieldbus driver 'Logic to SCADA RT connection'. In Logic you can program the text to one STRING variable of stratonNG, e.g. CEL_Info_Text. In ST-language e.g.:
    CEL_Info_Text := 'Lucy was here '+any_to_string(zenon_var1_ms/60000)+' minutes ago';

    In zenon - link this stratonNG variable with the reaction matrix (type string) with dynamical limit text, the state:
    • Value = any
    • Limit value text = $;%Project/Global/CEL_Info_Text
    • Treat each change of value as new limit violation = active
    • in Chronological Event List = active

  3. #3
    Join Date
    21.07.2011
    Posts
    18

    Default Re: Variable value change logging in CEL combined with other values

    Thank you for replying, it was good starting point to solving my problem!

    BR
    Albert

Similar Threads

  1. Replies: 5
    Last Post: 6th March 2018, 13:09
  2. Simulate variable values
    By bojan in forum zenon Supervisor
    Replies: 3
    Last Post: 29th March 2011, 23:51
  3. Replies: 4
    Last Post: 21st June 2010, 07:12
  4. Sum of 2 variable values
    By dragosmoss in forum zenon Supervisor
    Replies: 2
    Last Post: 18th March 2009, 14:17

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
  •