mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Update README.md
This commit is contained in:
@@ -66,7 +66,7 @@ Logger.OnNewLogMessage((date, msg) => {
|
||||
});
|
||||
|
||||
//setting up a new PLC interface
|
||||
MewtocolInterface interf = new MewtocolInterface("10.237.191.3");
|
||||
MewtocolInterface interf = new MewtocolInterface("192.168.115.5");
|
||||
|
||||
await interf.ConnectAsync();
|
||||
```
|
||||
@@ -124,7 +124,7 @@ Logger.OnNewLogMessage((date, msg) => {
|
||||
});
|
||||
|
||||
//setting up a new PLC interface and register collection
|
||||
MewtocolInterface interf = new MewtocolInterface("192.168.115.3");
|
||||
MewtocolInterface interf = new MewtocolInterface("192.168.115.5");
|
||||
TestRegisters registers = new TestRegisters();
|
||||
|
||||
//attaching the register collection and an automatic poller
|
||||
|
||||
Reference in New Issue
Block a user