OPC write value issue-IBH opc server

Forum Home Forums Communicating with Devices OPC OPC write value issue-IBH opc server

This topic contains 95 replies, has 2 voices, and was last updated by Mikhail Mikhail 2 weeks, 4 days ago.

Viewing 15 posts - 1 through 15 (of 96 total)
  • Author
    Posts
  • #4233

    mariodavid
    Participant

    I’m using an OPC server to connect to a PLC plc s7-300. I did everything that is said above but the value in the “Device Data” tab does not seem to change.

    “2018-09-12 10:41:02 Device 81. Handle current data changing. Subscription: llenado.diesel
    Device 81. Process tag. Name: PLC1.Generic.sensor-nivel-bajo-tanque-prinicipal. Value: True. Quality: good

    2018-09-12 10:41:03 Device 81. Handle current data changing. Subscription: llenado.diesel
    Device 81. Process tag. Name: PLC1.Generic.sensor-nivel-bajo-tanque-prinicipal. Value: False. Quality: good

    2018-09-12 10:41:02 <CONTROL-PC><SYSTEM><ACT> The command is received from file: type=Standard, device=81, number=4”

    i want set the tag to true but
    immediately changes to false

    how can i do?

    • This topic was modified 3 months, 1 week ago by  mariodavid.
    #4239
    Mikhail
    Mikhail
    Moderator

    What is written in the communication line log when Communicator sends command?

    2018-09-12 10:41:02 – this line is from the app log.

    #4265

    mariodavid
    Participant

    communication line log:
    “2018-09-12 10:41:02 Command to Device 81 “llenado.diesel”,type: Kopc
    Tag value has been passed to OPC server. Name: PLC1.Generic.sensor-nivel-bajo-tanque-principal

    2018-09-12 10:41:02 Device 81. Handle current data changing. Subscription: llenado.diesel
    Device 81. Process tag. Name: PLC1.Generic.sensor-nivel-bajo-tanque-prinicipal. Value: True. Quality: good

    2018-09-12 10:41:03 Device 81. Handle current data changing. Subscription: llenado.diesel
    Device 81. Process tag. Name: PLC1.Generic.sensor-nivel-bajo-tanque-prinicipal. Value: False. Quality: good”

    • This reply was modified 3 months ago by  mariodavid.
    #4269
    Mikhail
    Mikhail
    Moderator

    > Tag value has been passed to OPC server. Name: PLC1.Generic.sensor-nivel-bajo-tanque-principal

    The above line says that the command is sent.
    What OPC server do you use?
    Can you try sending commands to Matrikon OPC for testing reason?
    What communication protocol is used by the PLC?

    #4275

    mariodavid
    Participant

    I am using an IBH OPC SERVER to connect to PLC through an MPI/USB siemens adapter. the protocol is S7 Simatic Net. I’ve been trying write tags with OPC QUICK CLIENT and the same thing happens. I will try to sending commands to Matrikon OPC…

    • This reply was modified 3 months ago by  mariodavid.
    #4277

    mariodavid
    Participant

    I am using a demo version of IBH opc sever. This only lasts connected 30 minutes. Everytime the time is over, I need to restart the computer to use again the server. with QUICK client I just need to close the aplication and re-open it. When I restart the comnunication line in rapid scada the tags quality is: uncertainlastvalue. So i can not use the server until i restart the computer. how can i do?

    • This reply was modified 3 months ago by  mariodavid.
    #4284
    Mikhail
    Mikhail
    Moderator

    I need to restart the computer to use again the server

    Try restarting Communicator service.

    #4285
    Mikhail
    Mikhail
    Moderator

    Writing issue: use Matrikon OPC to compare. If it works, the cause is related to the particular OPC.

    #4307

    mariodavid
    Participant

    I am using Matrikon OPC to write Bucket brigade.boolean and Bucket brigade.int1 tags and works well. Also, i tried to write tags with QUICK CLIENT using IBH opc server and works well.

    I tried to restart Communicator service and Server services after 30 minutes and the quality tag still: UncertainLastUsableValue.

    I need to restart the computer to use the server again.

    • This reply was modified 2 months, 3 weeks ago by  mariodavid.
    • This reply was modified 2 months, 3 weeks ago by  mariodavid.
    #4311
    Mikhail
    Mikhail
    Moderator

    I need to restart the computer to use the server again.

    As I understand this is a temporary issue because of trial version of the OPC server.

    I am using Matrikon OPC to write Bucket brigade.boolean and Bucket brigade.int1 tags and works well. Also, i tried to write tags with QUICK CLIENT using IBH opc server and works well.

    Fixing of this issue is possible if a manufacturer of the OPC server agree to debug his OPC server with SCADA-Communicator. Can you contact the OPC developer?

    Do you have OPC UA option?

    #4328

    mariodavid
    Participant

    I wrote to the manufacter but not answer yet. I do not not opc ua opction. How can i get the Source code of KpOpc.dll?

    #4330
    Mikhail
    Mikhail
    Moderator
    #4332

    mariodavid
    Participant

    Hi, answer of the manufacturer:

    “Hello Mario,

    I am sorry for the delayed response, unfortunately Colin is not in the office. We do not offer a student license for the server, but I would be happy to help identify the issues. What kind of debugging is Rapid Scada wanting us to do? I would think that installing the OPC Foundation OPC Analyzer as a go-between between Rapdid Scada and the Server would give them all the information that is needed.

    What kind of write issues are you seeing? Are you sure it is an issue with Rapid Scada? Or are the points potentially being overwritten controller side/ or are the items read only in the Server?

    Kind Regards,

    Marc”

    #4333

    mariodavid
    Participant

    how the OPC server could be debugged with SCADA-communicator?
    if you need, this this the mail of the manufacturer: mholbach@softwaretoolbox.com

    #4335
    Mikhail
    Mikhail
    Moderator

    You need to debug the OPC server itself, not Communicator. This is another Windows process.
    I’m not going to text to the manufacturer. You can do it, and contact me if he needs explanations.

Viewing 15 posts - 1 through 15 (of 96 total)

You must be logged in to reply to this topic.