Forum Home › Forums › Communicating with Devices › OPC › OPC Write value issue – Matrikon Simulation
Tagged: OPC write data
- This topic has 5 replies, 3 voices, and was last updated 7 years, 3 months ago by
Mikhail.
-
AuthorPosts
-
June 16, 2018 at 11:29 am #3845
bencyau
ParticipantI am just using the Matrikon Simulation OPC Server for testing, and I can read all the values desired within RapidScada with no issue.
Using MatrikonOPCExplorer I can set the “Bucket Bridge.Boolean” between 0 and 1.
I configured RapidScada Communicator for the above channel as “write data” with a command number 1. Sending command from the Communicator “Commands” tab got “The command was sent successfully”. However, the value in the “Device Data” tab does not seem to change.
Thanks for your help.
June 16, 2018 at 5:39 pm #3853
MikhailModeratorHi,
The command was sent successfully
This means just sending to the Communicator service.
See what is written in the communication line log in Communicator at the moment right after you send a command. You can find logs in C:\SCADA\ScadaComm\Log
June 18, 2018 at 2:02 am #3861bencyau
ParticipantOK. My mistake found after finding the message below in the line log file:
2018-06-18 09:25:58 Command execution is disabled by the communication line parameters
Turns out I missed checking the “Commands Enabled” box in the Communication Line Parameter tab.
Problem solved, now I can write to the OPC server tags.
Thank you.
June 18, 2018 at 2:15 pm #3863
MikhailModeratorGreat ))
September 12, 2018 at 4:05 pm #4231mariodavid
ParticipantI’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 reply was modified 7 years, 3 months ago by
mariodavid.
September 13, 2018 at 6:35 pm #4240 -
This reply was modified 7 years, 3 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.