Peppe - 2014-08-25

Hi!

I create a software using the Jamod API for monitoring PLC using a Driver written in Java. My program is a multithreading code: a thread causes the PC to act as a master to create request to the PLC; the second thread causes the PC to act as a slave to listen the message sent by the PLC.

My problem is in the second thread. The PLC send its request (specially WriteSingleRegister or Coil), the PC is able to read that request but it creates an EXCEPTION response (I see it in Hex format). I don't understand why the method "createResponse()" in the class "MessageRequest" is abstract and how it is called from the other classes based on the type of request.

Thanks for the time! :D