mirror of
https://github.com/S7NetPlus/s7netplus.git
synced 2025-12-18 01:16:50 +08:00
Updated Home (markdown)
3
Home.md
3
Home.md
@@ -16,8 +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
|
## Create a PLC instance, connect and disconnect
|
||||||
|
|
||||||
To create an instance of the driver you need to use this constructor:
|
To create an instance of the driver you need to use this constructor:
|
||||||
|
'''
|
||||||
public Plc(CpuType cpu, string ip, Int16 rack, Int16 slot)
|
public Plc(CpuType cpu, string ip, Int16 rack, Int16 slot)
|
||||||
|
'''
|
||||||
* Cpu: this specify what CPU you are connecting to. The supported CPU are:
|
* Cpu: this specify what CPU you are connecting to. The supported CPU are:
|
||||||
|
|
||||||
public enum CpuType {
|
public enum CpuType {
|
||||||
|
|||||||
Reference in New Issue
Block a user