-
-
-
Tổng tiền thanh toán:
-
Code C# kết nối PLC Siemens S7 200/300/400/1200/1500
Đăng bởi CÔNG TY TNHH KORESU 02/08/2022
Code C# kết nối PLC Siemens S7 200/300/400/1200/1500 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 { S7200 = 0, S7300 = 10, S7400 = 20, S71200 = 30, S71500 = 40, } · Ip: this contains the IP address of the CPU of external Ethernet card · Rack: this contains the rack of the plc, that you...