Page 1 of 3 1 2 3 LastLast
Showing results 1 to 10 of 22

Thread: IP-address variable

  1. #1

    Default IP-address variable

    Hello,

    I have a problem with displaying of the variable. It`s an IP address of the device. On OPC-server this variable is string data type. In zenon I choose also string data type. But variable displays as "6" , not as actual IP-address.

  2. #2
    Join Date
    30.05.2007
    Posts
    105

    Default Re: IP-address variable

    Hi,
    did you check the stringlengt of the variable in zenon.
    By default it is set to 5. maybe it need to be increased?

    Markus

  3. #3

    Default Re: IP-address variable

    Hi,

    I checked the string length. It is 65535.

  4. #4

    Default Re: IP-address variable

    What zenon Version do you use?

    What zenon element do you use, where this zenon string variable is linked to?

  5. #5

    Default Re: IP-address variable

    Zenon version is 6.51 SP0
    I use element Dynamic text with displaying of text from variable value.
    When I use element Numerical value, get 0, which is not correct too.

  6. #6

    Default Re: IP-address variable

    Try to make a MDI picture of type "variable diagnosis"and add the zenon string variable we are speaking of.
    This is a possibilitie to see the value of a zenon variable without the use of any other element.
    What does the value of the zenon string variable is in the "variable diagnosis" picture?

  7. #7

    Default Re: IP-address variable

    I made this pic. Please look at screenshot in the attachment.
    Attached Thumbnails Attached Thumbnails var_diagn.bmp  

  8. #8

    Default Re: IP-address variable

    Click the button "Refresh actual values on" to get the current value!

  9. #9

    Default Re: IP-address variable

    Ok! Please check the attachment.
    Attached Thumbnails Attached Thumbnails var_diagn_ver02.bmp  

  10. #10

    Default Re: IP-address variable

    Expand the columns "Actual value" and "Set value" in a way an IP fit in.
    Enter a IP adress in "Set value" and click the button ".....write set value"

    Does the actual value change and what does the element shows?

    If this works the representation side is ok, then there is the question why the variable contains not the IP address as you expect.
    So the communication side must be investigated.

    Is this really an text on the PLC side?
    From OPC Server I know that for each variable they offer all datatypes(canonical) no matter of the actual value on the PLC.
    Most interessting is what value comes through the communication line.
    Attached Thumbnails Attached Thumbnails 2012-01-25 14h13_45.jpg  

Similar Threads

  1. Simulation IEC 104 address
    By kirca in forum zenon Energy Edition
    Replies: 1
    Last Post: 1st September 2011, 23:26
  2. Replies: 1
    Last Post: 2nd August 2011, 10:21
  3. Replies: 1
    Last Post: 23rd July 2011, 08:51
  4. 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
  •