メインコンテンツへスキップ

Ewon flexy 205 OPC UA Server & Client

コメント

24件のコメント

  • Kyle Reynolds

    Here is a link to docs:
    https://websupport.ewon.biz/sites/default/files/aug-0064-00-en-opc-ua-server.pdf
    I found this example for Kepware v5.2:

    You could also publish modbus TCP and have kepware server read those registers to test.

    Kyle

    0
  • Samir_Hamroun

    Hi,
    I create a tag that I receive from PLC ro share with OPC UA
    name of tag: LogTag_Integer

    did I have to change something , see please the part in yellow


    I enable OPC uA IO server

    but when I create a Channel in kapeserver

    to add tag in kepserverEX, I use expression: ns=3;s=Channel1.Olymel2019.LogTag_Integer

    it' s seems that connection is good but the tag cannot be read

    Can you please help
    Thank you
    0
  • Kyle Reynolds

    Did you tell the flexy which group of tags to publish?

    0
  • Samir_Hamroun

    Hi, thanks for your support but I have that selected in ewon

    0
  • Samir_Hamroun

    I review the configuration of KepServerEX 6



    those tags that I try to connect to
    • LogTag_Integer: Log tag Integer for Counter
    • LogTag_bool1: Log Tag Boolean flash every 2000ms

    the syntaxe of tag in kepwareserver is the following:

    ns=3;S=channel1.Olymel2019.LogTag_bool1
    ns=3;s=Channel1.Olymel2019.LogTag_Integer
    maybe the syntexe not correct ?

    If I try tag generation , I get error

    0
  • Kyle Reynolds

    Have you checked all of the documentation for the OPC UA server? I am not very familiar with it, but it seems there is some kind of configuration missing on that side.

    You said the connection is good, but are you sure? can you ping flexy from OPC UA server? Is there a firewall in between? Is that port open?

    There was an error in the software for the Data Logger Plug-in which says "data source not found and driver name not specified". Is there a driver that you need to set up?

    Is this working with other devices, other than the Flexy?

    0
  • Samir_Hamroun_M_Sc_A

    To make the troubleshooting easy

    I Use the OPC UA technology sample

    As you can see ,I'm able to see the sever , so the port not blocked by the firewall.

    When I use the next step to open a session:

    I use the same use and password that I create in OPC Ua IO server settings

    The result i get bad use access

    Bonne Journée / Best Regards

    Samir Hamroun, M. Sc. A. / M.A.Sc.

    programmeur PLC R&D / PLC R&D programmer "¢ Phone: +1 418 885 4493

    0
  • Kyle Reynolds

    Make sure the OPC UA client is logging in with an eWON user for which the right "Force
    Outputs" has been granted.

    0
  • Samir_Hamroun

    Thanks , really that's the missing information that I have to create user that match with OPC UA.
    I hope this information be added in help.
    Thanks again for your help,

    0
  • Kyle Reynolds

    Great! Glad it's working for you now. It can be easy to overlook in the manual, but now it will be on the discussion board.

    Thank you,
    Kyle

    0
  • Samir_Hamroun_M_Sc_A

    Hi Guys!

    My application is working fine now but I have last Question :

    Did we have a way to connect to UPC UA ewon without to install ecatcher in client side?

    I would like to give the client just the following information:

    opc.tcp://server[:port] (port 4840 used when not specified)

    username

    Password

    Without activing ecatcher the UPC UA stop working. Did you have any proposition

    Thank you

    Bonne Journée / Best Regards

    Samir Hamroun, M. Sc. A. / M.A.Sc.

    programmeur PLC R&D / PLC R&D programmer "¢ Phone: +1 418 885 4493

    0
  • Kyle Reynolds

    This depends on how your network is setup. I assume you must be connecting to the Flexy through the VPN currently. If you connect locally you won't need the VPN and eCatcher. Is the Flexy on the same physical network as your OPC UA server or can it be? What does the network look like?

    0
  • Samir_Hamroun_M_Sc_A

    Hi Kyle,

    The client will use the wan connection to get access to OPC UA Server from ewon Flexy 205 as showed below

    SERVER INFORMATION:

    Endpoint Url:

    opc.tcp://wan adress:4840

    Username:

    XXXX

    Password:

    XXXXX

    The idea was in drawing that i find in ewon documentation, it's was no comment that I need to have an active ecatcher to make the UPC UA work,?

    the good to give client access to tags in UPC UA by WAN connection without give the client access to our LAN network, that why I choose ewon flexy 205, but I never know that ecatcher is require to make that working

    I hope with this description, you know my need and you can get me the right answer or suggestion

    Thank you

    Bonne Journée / Best Regards

    0
  • Kyle Reynolds

    Hi Samir,

    I need more information on the networks involved. Which devices are on the same network and which are on separate networks. The drawings show the Flexy and PLC on one network connected to the Client and SCADA on another network via VPN connection. Isn't there another OPC UA server? Which netowrk is that on?

    Kyle

    0
  • Samir_Hamroun_M_Sc_A

    Hi Kyle!

    The PLC and ewon are in the same local network

    But the client Scada are in another network and will use WAN to connect to the UPC UA trough internet.

    Let me know if that clarify the situation?

    Thanks

    Bonne Journée / Best Regards

    0
  • Kyle Reynolds

    Hi Samir,

    In order to connect the 2 remote networks securely over the public internet, you will need to use a VPN. You can use eCatcher or another VPN, but we can only support our own VPN. We can't guarantee another company's VPN is going to work as we don't have control over that. You can also use the M2Web API for transmitting data securely over the internet. Of course, that will be more complicated to set up and support.

    https://developer.ewon.biz/content/m2web-api-0

    Kyle

    0
  • Jun_Zian_Wong

    Hi,
    When i try to import tags from ewon flexy to kepware, it shows error.
    Could i know how to solve this issue?
    Thank you!

    0
  • Kyle Reynolds

    Have you made sure that the OPC UA client is logging in with an eWON user for which the right "Force Outputs" has been granted?

    0
  • Jun_Zian_Wong

    Hi,
    yes, the force output access right has been granted, and i had imported the kepware server and client cert to ewon but it still doesn't work.

    0
  • Kyle Reynolds

    Where (on what network) is the OPC UA Server located? Can you ping the ewon 192.168.3.5 or connect to port 4841 from the network (nc -v 192.168.3.5 4841)?

    What type of authentication are you using? (Password or certificate?)

    There are many reasons that you may be getting this error, so any additional information you can provide would help.

    0
  • Jun_Zian_Wong

    Hi Kyle,
    I plan to use Ewon Flexy as my OPC UA Server and Kepware as my OPC UA Client.
    In flexy, my ip address is 192.168.3.5 and i set my port to 4841. In the OPC Connection, i set it as anonymous login.

    In my Kepware, i created an OPC UA Client, and i set the UA Server URL as image below.


    In Authentication, i leave it blank to ensure anonymous to login.

    However, in OPCUA Configuration page, i can't inserted my flexy ip address in server endpoint. There are only two servers endpoints. i had trusted ewon certificate in Kepware although anonymous login does not need to do this.

    I can read the tags from kepware to ewon flexy using IOSERVER OPC UA (i just type kepware server endpoint url in ewon opcua ioserver), but i can't read the tags from flexy to kepware. Does all the information above helps?

    Thank you.

    0
  • Kyle Reynolds

    You need to make sure that the authentication settings are matching up in both the Flexy and the Kepware software. Something is not set up properly. Generally we don't recommend using anonymous connections, but if you really want to you will need to make sure both sides support it. I'm not sure that Kepware allows it, so you may want to consider using a username/password or certificate.

    You can try changing these settings as well:
    Device properties > Subscription > Update Mode = Poll
    Device properties > Subscription > Registered Read/Writes = Disabled

    0
  • Jun_Zian_Wong

    Hi Kyle,
    It works. Thank you very much.:blush:

    0

サインインしてコメントを残してください。