Showing results 1 to 2 of 2

Thread: Importing of values from text file to Runtime

  1. #1

    Default Importing of values from text file to Runtime

    Hi Guys
    I am taking few data from the IED through FTP. The Data are present in the the Text file. I want to read the values from that Text file into the Runtime and store in our historian. Is there any solution or suggestion?? 

  2. #2
    Join Date
    Salzburg, AT

    Default Re: Importing of values from text file to Runtime

    In zenon Logic there are function blocks for files operations, so you may read a file line-by-line and encode the values (and timestamps eventually too) to some additional stratonNG variables. These variables in zenon can be then handled like any other process variables, e.g. displayed on screens, stored in Historian, produce CEL/AML entries etc.

    While programing the Logic you have to consider that a variable shall change the value only once per a cycle. The programs in Logic are transferring at the end of cycle only the final values of variables. So if the file contains more as one value change of the same data point (of the same variable) you have to evaluate the next value (the next line of file) in the next Logic cycle. 

Similar Threads

  1. Replies: 0
    Last Post: 26th January 2015, 12:36
  2. Open Log file in runtime
    By sdolnyy in forum zenon Supervisor
    Replies: 0
    Last Post: 4th February 2014, 16:07
  3. Change the text on a button in the runtime
    By s.jonigk in forum zenon Supervisor
    Replies: 3
    Last Post: 30th October 2013, 11:09
  4. Display Help File in Runtime
    By ionvalesareanu in forum zenon Supervisor
    Replies: 1
    Last Post: 4th June 2009, 17:49
  5. Importing CSV file
    By pakman in forum VBA
    Replies: 10
    Last Post: 26th March 2009, 19:26

Posting Rules

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