Forum Home › Forums › Communicating with Devices › OPC › OPC write value issue-IBH opc server
Tagged: OPC write data
- This topic has 97 replies, 3 voices, and was last updated 4 years, 8 months ago by Mikhail.
-
AuthorPosts
-
September 12, 2018 at 4:13 pm #4233mariodavidParticipant
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: good2018-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: good2018-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 falsehow can i do?
- This topic was modified 5 years, 6 months ago by mariodavid.
September 13, 2018 at 6:34 pm #4239MikhailModeratorWhat is written in the communication line log when Communicator sends command?
2018-09-12 10:41:02
– this line is from the app log. September 18, 2018 at 3:16 pm #4265mariodavidParticipantcommunication 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-principal2018-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: good2018-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 5 years, 6 months ago by mariodavid.
September 19, 2018 at 5:38 am #4269MikhailModerator> 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?September 19, 2018 at 2:11 pm #4275mariodavidParticipantI 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 5 years, 6 months ago by mariodavid.
September 19, 2018 at 2:52 pm #4277mariodavidParticipantI 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 5 years, 6 months ago by mariodavid.
September 20, 2018 at 6:00 pm #4284MikhailModeratorI need to restart the computer to use again the server
Try restarting Communicator service.
September 20, 2018 at 6:02 pm #4285MikhailModeratorWriting issue: use Matrikon OPC to compare. If it works, the cause is related to the particular OPC.
September 25, 2018 at 9:36 pm #4307mariodavidParticipantI 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 5 years, 6 months ago by mariodavid.
- This reply was modified 5 years, 6 months ago by mariodavid.
September 26, 2018 at 3:59 pm #4311MikhailModeratorI 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?
October 2, 2018 at 3:16 pm #4328mariodavidParticipantI 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?
October 2, 2018 at 5:01 pm #4330MikhailModeratorOctober 3, 2018 at 12:34 am #4332mariodavidParticipantHi, 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”
October 3, 2018 at 12:42 am #4333mariodavidParticipanthow the OPC server could be debugged with SCADA-communicator?
if you need, this this the mail of the manufacturer: mholbach@softwaretoolbox.comOctober 3, 2018 at 1:50 pm #4335MikhailModeratorYou 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. -
AuthorPosts
- You must be logged in to reply to this topic.