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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
ok thanks