I am trying to simulate an TCP Modbus slave.
I extended the class TcpSlave for this and added some Process Images.
Unfortunately, the TcpSlave provides only the port to set.
How can I set the IP Address of the slave ?
I tried to add the following code snippet in TcpSlave but it doesn't help :
Can someone help me ?
|