Showing results 1 to 2 of 2

Thread: How to set the symbolic address????

  1. #1
    Join Date
    09.03.2015
    Posts
    34

    Default How to set the symbolic address????

    Hi,

    I am able to create Variables in an open Zenon Editor. Unfortunately I can't find any property which has the name SymbAddr (like NetAddr or BitAddr).

    How can I set the symbolic address in a subitem??

    Here is my code...

    // add variable to the zenon editor
                    zVariable = zProject.Variables()
                        .CreateVar(sVariableName, pDriver, tpKanaltypes.tpSPSMerker, pVarType);
                    zVariable.ActivateSubItem(0);

  2. #2
    Join Date
    13.08.2013
    Posts
    57

    Default Re: How to set the symbolic address????

    I i couldn't really test it yet but it may be possible to set it via the dynProperties
    e.g.
     zVariable.set_DynProperties("SymbAddr",yourValue);

    A lot of properties which are not shown in the IDE may be set through DynProperties. A good way to find out which properties are present is to Export e.g. the variable as XML and the check which Properties are in there. In your case SymAddr should be available, im just not sure if it is settable or readonly.

Similar Threads

  1. Modbus TCP slave address
    By diemon in forum Drivers
    Replies: 4
    Last Post: 23rd March 2015, 16:05
  2. Originator address in T104
    By amigo in forum Drivers
    Replies: 1
    Last Post: 2nd February 2015, 08:52
  3. S7TCP Driver IP Address
    By ronmany in forum Drivers
    Replies: 1
    Last Post: 4th July 2013, 12:23
  4. IP-address variable
    By croc in forum Drivers
    Replies: 21
    Last Post: 31st January 2012, 09:51
  5. Change the Ip Address in Zenon 5.5
    By sikenga in forum zenon Network
    Replies: 1
    Last Post: 9th June 2009, 13:09

Posting Rules

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