Forum Home › Forums › Communicating with Devices › OPC › How write output values with opc communication
Tagged: opc communication; write output
- This topic has 7 replies, 2 voices, and was last updated 4 years, 6 months ago by danielfernandes.
-
AuthorPosts
-
July 30, 2019 at 2:46 pm #5768danielfernandesParticipant
Hello,
I am using Kepware software for middleware with PLC Omron. The kepware implement the OPC server.
I already can communicate and I read the memory positions of Plc.
Now, I want write in this positions of Plc, but I don’t understand how I can doing.
I am using Administrator version 5.5.0.0.
I don’t know how setting to write data, I only was to device properties and I add variable of server browse to write data of Device. The command number was with number 1. After, I click in send command but nothing happens.
Can you help me?July 30, 2019 at 4:42 pm #5769MikhailModeratorHello,
The actions below relate to Communicator settings available in the Administrator app.1. Double click the node of your device to open the device data form.
2. Click the Properties button. The OPC device properties form opens.
3. Select “Write data” node in the right tree.
4. In the left tree, double click the item you need to write. It is added to the right tree.
5. Click Save and close the form.
6. Click command button and try sending commands.
7. You should see sent commands in the opened device data widow.
8. If commands don’t work, find sending command action in a communication line log (Line Stats > Line Log). You can find full log file in C:\SCADA\ScadaComm\Log\lineXXX.logWhen the above work, I can explain how to bind commands to user interface. Otherwise, send screenshots and logs.
July 31, 2019 at 7:50 am #5771danielfernandesParticipantHello Mikhail,
Thank you for this explanation.
I already doing these steps but it did not work.
Now, I analise the log file and I understand that the tag modified with writting operation is “PLC2.Device2.Tempo Produção Atual Turno (min)” but the tag that I want write is “PLC.Device2.valor escrever”.
The tag “PLC2.Device2.Tempo Produção Atual Turno (min)” is only readding parameter.
I am not understand what I am doing wrong.
July 31, 2019 at 7:51 am #5772danielfernandesParticipantJuly 31, 2019 at 7:53 am #5773July 31, 2019 at 8:10 am #5774danielfernandesParticipantOk, I found problem in Line Stats.
I am received the message “Command execution is disable by the communication line
parameters”.
How can I doing to able this execution?July 31, 2019 at 11:00 am #5775MikhailModeratorOpen Line Parameters, Main Parameters page and tick “Commands enabled”.
Upload the project to the server.September 3, 2019 at 7:47 am #5897danielfernandesParticipantThanks,
It is the solution for my problem. -
AuthorPosts
- You must be logged in to reply to this topic.