Showing results 1 to 3 of 3

Thread: Process Gateway - VBA

  1. #1
    Join Date
    20.07.2020
    Posts
    6

    Default Process Gateway - VBA

    Hi all guys, it's me again.

    I'm struggling with the process gateway: IEC870-104. For now I am making sure that when I import the variables into the editor, via VBA, I also write the process gateway configuration xml file.
    I wanted to ask you if it was possible to configure the process gateway directly via VBA.
    If so, would you give me a couple of tips.


    Thanks in advance,

    RE

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

    Default Re: Process Gateway - VBA

    Directly not, but you can write from VBA the CSV file - this file would be easier to produce: one entry is one IO definition. Then import in zenon Process Gateway the CSV file. 
     Help: Manual > Process Gateway > IEC870 slave > Module configuration > Configuration via XML file > .CSV export and import

    If you need the XML file, not CSV, to dynamically reload zPG during/after the runtime reload (re-read of the file is possible to trigger with variable T00 IOA=8) then you can use another instance of zenPG (on Editor's, not Runtime, PC) to first import CSV and export as XML with the name of file like the right zPG uses. 

    To the PC where Runtime is running you can transfer the XML file (to the right directory C:\ProgramData\COPA-DATA\System) via additional, manually created entry in the file list of Remote Transfer dialog.

  3. #3
    Join Date
    20.07.2020
    Posts
    6

    Default Re: Process Gateway - VBA

    Ok, perfect.

    I think Iíll create an XML file via VBA.

    Thank you very much for the answer.

    RE

Similar Threads

  1. Process Gateway
    By mehrdad66 in forum zenon Energy Edition
    Replies: 3
    Last Post: 18th August 2020, 13:52
  2. Process gateway
    By gunhunter in forum Editor and Runtime Setup
    Replies: 0
    Last Post: 8th December 2017, 03:07
  3. Process Gateway
    By yara in forum Drivers
    Replies: 1
    Last Post: 4th November 2014, 17:36
  4. Process Gateway
    By murphys in forum Drivers
    Replies: 4
    Last Post: 8th February 2011, 09:45
  5. DNP- Process Gateway
    By hoscillada in forum Drivers
    Replies: 6
    Last Post: 17th December 2009, 05:48

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
  •