mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2025-12-17 08:56:49 +08:00
Updated Home (markdown)
4
Home.md
4
Home.md
@@ -16,9 +16,9 @@ To get started with S7.Net you have to download and include the S7.Net.dll in yo
|
||||
## Create a PLC instance, connect and disconnect
|
||||
|
||||
To create an instance of the driver you need to use this constructor:
|
||||
'''
|
||||
```
|
||||
public Plc(CpuType cpu, string ip, Int16 rack, Int16 slot)
|
||||
'''
|
||||
```
|
||||
* Cpu: this specify what CPU you are connecting to. The supported CPU are:
|
||||
|
||||
public enum CpuType {
|
||||
|
||||
Reference in New Issue
Block a user