How to access to variable value through symbolic string name

andreag0
2024-06-13
2024-06-15
  • andreag0 - 2024-06-13

    Hello,
    anyone know how to get valiable value using a symbolic string name?
    For example:
    - send string to runtime using TCP/IP contains "GVL.TestINT" and get back the value.
    I need function that will translate the string to symbolic variable.

    Thank you.
    Andrea

     
  • installwhat - 2024-06-13

    Maybe your question makes sense but I don't see it.
    Maybe you should rephrase and add a lot of detail

     
  • andreag0 - 2024-06-13

    No

     
  • nano - 2024-06-14

    this is not easily.
    From Point of SL-Licenses Codesys didnt provide the informations how to do.

    We created an own CDS-Component for that Behaviour.

    This Informations are available for OEM, if you are an OEM you can find the Informations in the RTS-Documentation.

     
  • andreag0 - 2024-06-14

    Good to know.
    I am looking for some soluction to avoid PLC Handler and OPC-UA.

    Thank you.

     
  • nano - 2024-06-15

    i know, this is the reason for us either. PLC-Handler is to big, and only available with additional Contracts/Costs.

    OPC-UA is to slow for us.

    As described, there is a solution available, but im not allowed to post them here. i would prefer you send a message at codesys store by "have a question" or similar called. Not sure.

    Or, if an Codesys-Official Member allows to share that informations, i can give you the right hints.

     

Log in to post a comment.