Menu

how to write datachange event

2015-05-04
2015-05-08
  • avinash Vijendra

    hi

    i want to write an datachange event i.e.,when data changes in plc i should fire an event.
    is it possible.? as i was working with OPC communication. there is an event in OPC DLL
    i m new to modbus communication.

    Thanks
    Regards
    Avinash Vijendra

     
    • Rossmann Engineering

      It would be possible if you use the Server-Class. Then you can use the "HoldingRegistersChanged" or "CoilsChanged" Event. This Event occurs, if a Holding-Register or a Coil has been changed by the Client.
      But it isn't possible if you use the Client class, because the Client always initiates the communication with the Server. The Server never sends Data by itself.

       
  • avinash Vijendra

    ok thanks

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.