You have to start an instance of nettoplcsim for each plcsim-instance. If you want to connect to 5 instances of plcsim, you have to start and configure 5 nettoplcsim instances.
The 0.7 and previous versions of nettoplcsim uses the prosim interface. This interface is limited, so inputs are write-only (can not be read) and outputs are read-only (can not be written).
In the 0.9 version it should be possible to read inputs. But I don't think you could write to them, because they will be overwritten every cycle by the process image.
Bookmarks