OPC no values

Forum Home Forums Communicating with Devices OPC OPC no values

Tagged: , ,

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • #8364
    quintelosky
    Participant

    Hi

    I have a problem with opc client module. Rapidscada can connect to opc server, and read some values. I have a rapidscada connect to s7-1500 with opc server (open, no pass)

    With siemens opc client .net I can read all values (db blocks,…) but in rapidscade I cant read values.

    https://ibb.co/ZgVN4HT

    What I can do?

    Many thanks

    • This topic was modified 3 years, 1 month ago by quintelosky.
    #8373
    Mikhail
    Moderator

    Hi,

    I can help you if you provide remote support for the OPC server for testing. Is it possible?

    #8383
    quintelosky
    Participant

    Hi

    It is impossible. Is a corporate lan. But, I do these tests in my house with two virtual machines: one running virtual plc (tia portal 15 + plc advance sim) and other running rapidscada (the screen is my personal pc). I can give you access to my computer and you can view the problem.

    These is the sourcecode of the siemens opc ua .net client:
    https://mega.nz/file/hIsFAADS#Yk9pRPYym_jFtayqJgCaaXqljCpG-46oAAKwaV25txA

    Many thanks. If you can repair these problem, rapidscada will be my scada for many projects with siemens s7-1200 and s7-1500

    #8387
    Mikhail
    Moderator

    Hi,

    Connecting to a computer by remote desktop (or similar tools) is a paid service.
    I can help you for free if you open access to OPC server, so I can run OPC UA client on my computer to debug. To do this, you should configure port forwarding on a router.

    #8392
    quintelosky
    Participant

    Hi

    How money?

    I don’t know connect my siemens plcsim advance running in a virtual machine to public ip internet. I need know, how can I do

    Thanks

    #8406
    Mikhail
    Moderator

    Hi,

    How money?

    Please contact us by email to get an offer.

    And we can proceed for free if you manage to open a connection.

    #8411
    quintelosky
    Participant

    Hi

    Well, I continue firing with my lan. Now, I can connect in my lan to my plcsim from all computers, but I don’t know if a external pc can connect to my server opc ua.

    I configured in my router: Port Forwarding (4840 to my plcsim ip), and dmz (to mi plcsim ip)

    I sent you a pm with my public ip. I don’t know what hour is good for you, but I connect my computer now ( 16:52 gmt )

    Thanks

    EDIT: Upps, I can’t send a pm, my ip: 83.42.220.118

    • This reply was modified 3 years, 1 month ago by quintelosky.
    #8413
    quintelosky
    Participant

    EDT2: Ok, I can connect to my opc server via other pc in other public ip. You can connect without problems

    #8414
    quintelosky
    Participant

    EDIT3: If you want, first you can connect with siemens opc ua server:
    https://mega.nz/file/YRFiBByB#DLzKOsxGXZYNmbk7lUpq1D0_dRokkCObRP3pEmk6nAY
    I used these program to check connection via internet and works fine, and you can view all blocks and values

    #8415
    quintelosky
    Participant

    Again. Sorry.
    I’m doing some tests. I modified the file c:\scada\projects\myproject\instances\default\scadacomm\config\kpopcua_001.xml adding the nodes and I can read the values

    <?xml version="1.0" encoding="utf-8"?>
    <KpOpcUa>
      <ConnectionOptions>
        <ServerUrl>opc.tcp://83.42.220.118:4840</ServerUrl>
        <SecurityMode>None</SecurityMode>
        <SecurityPolicy>None</SecurityPolicy>
        <AuthenticationMode>Anonymous</AuthenticationMode>
        <Username />
        <Password>C8080E774B59B0C6694063BDE2428352</Password>
      </ConnectionOptions>
      <Subscriptions>
        <Subscription active="true" displayName="" publishingInterval="1000">
          <Item active="true" nodeID="ns=3;s=&quot;DB800 TBox_Data&quot;.&quot;W_Don_Guarin&quot;.&quot;DG_FT2_F&quot;" displayName="DG_FT2_F" isArray="false" arrayLen="1" cnlNum="0" />
          <Item active="true" nodeID="ns=3;s=&quot;DB16 Señales Analogicas&quot;.&quot;TurbidezEntrada&quot;.&quot;MaxEscalat&quot;" displayName="Turbid_escalado_max" isArray="false" arrayLen="1" cnlNum="0" />
        </Subscription>
      </Subscriptions>
      <Commands>
        <Command nodeID="ns=3;s=&quot;DB16 Señales Analogicas&quot;.&quot;TurbidezEntrada&quot;.&quot;MaxEscalat&quot;" displayName="Turbid_escalado_max" dataType="System.Double" cmdNum="1" />
      </Commands>
    </KpOpcUa>

    But the command don’t work, I can’t change values I think is a problem with dataType because kpopcua can’t add commands with other opc server simulator too (indicate datatype not recognized).

    Can you check it?

    Some images with errors using opc ua server simulator ( https://integrationobjects.com/sioth-opc/sioth-opc-unified-architecture/opc-ua-server-simulator/ )

    https://ibb.co/QP4B1Z7
    https://ibb.co/sQGD86j
    https://ibb.co/VQCdGDS
    https://ibb.co/zFnvvxL
    https://ibb.co/58KtsvB

    Many thanks for all

    #8416
    Mikhail
    Moderator

    Hello,
    I can connect to opc.tcp://83.42.220.118:4840
    I will check and write here

    #8417
    quintelosky
    Participant

    Ok

    Now ( 6:05 gmt ), the opc ua server is running to the same ip ( opc.tcp://83.42.220.118:4840 ). I don’t shutdown the pc. If you will use the siemens opc ua client .net to verifiy the connection and blocks, run as administrator

    Many thanks

    #8418
    Mikhail
    Moderator

    Please try the update of KpOpcUa.dll

    Fixes:
    – browse nodes
    – Int16 and Boolean types

    String commands is currently not supported. It’s possible to support them.
    Let me know about the results.

    #8419
    quintelosky
    Participant

    Ok. Now I’m working, when I return to my house I will check.

    Can you try the commands and send values?

    Many thanks

    #8420
    quintelosky
    Participant

    For example with:
    “DB 16 Señales analogicas”.”TurbidezEntrada”.”MaxEscalat”
    I need read the value and change the value, but datatype is float and yesterday I cant modify the vale
    Thanks

Viewing 15 posts - 1 through 15 (of 20 total)
  • You must be logged in to reply to this topic.