How write output values with opc communication

Forum Home Forums Communicating with Devices OPC How write output values with opc communication

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #5768
    danielfernandes
    Participant

    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?

    #5769
    Mikhail
    Moderator

    Hello,
    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.log

    When the above work, I can explain how to bind commands to user interface. Otherwise, send screenshots and logs.

    #5771
    danielfernandes
    Participant

    Hello 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.
    Configuration and log files

    #5772
    danielfernandes
    Participant

    image1

    #5773
    danielfernandes
    Participant
    #5774
    danielfernandes
    Participant

    Ok, 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?

    #5775
    Mikhail
    Moderator

    Open Line Parameters, Main Parameters page and tick “Commands enabled”.
    Upload the project to the server.

    #5897
    danielfernandes
    Participant

    Thanks,
    It is the solution for my problem.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.