Hello,
first of all something about the programme. Setting the enable signal on the ReadInputRegister module to TRUE only makes sense if the client module also supplies an InOperation. The InOperation output can be the input for the Read module, for example. And as long as the client always reports an error, we don't need to look for errors in the read component. If a 32-bit value is to be read, an array of words with at least 2 elements must be specified as the target. This is also described in the interface description in the documentation. So I would first do the following:
Only call the client module and check that a connection is established and that it remains established.
If this is successful, then call the ReadInputRegister module. If the connection is then broken, this is due to incorrect parameterisation of the ReadInputRegister module.
... View more