- 1、本文档共17页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
S7.Net documentation
S7.Net 文档
How to download s7.Net 如何下载s7.Net
The official repository is on GitHub ( /killnine/s7netplus) , you can also download the library directly
from NuGet (/packages/S7netplus/).
官方存储库位于 GitHub (/killnine/s7netplus )上,您也可以直接从 NuGet
(/packages/S7netplus/ )下载该库。
What is S7.Net 什么是S7.Net
S7.Net is a plc driver that works only with Siemens PLC and only with Ethernet connection. This means that
your plc must have a Profinet CPU or a profinet external card (CPxxx card).
S7.Net is written entirely in C#, so you can debug it easily without having to go through native dlls.
S7.Net 是一个plc 驱动程序,仅适用于Siemens PLC 和以太网连接。 这意味着
您的PLC 必须具有Profinet CPU 或Profinet 外部卡(CPxxx 卡)。
S7.Net 完全用C #编写,因此您无需通过本机dll 即可轻松调试它。
Supported PLC 支持的PLC
S7.Net is compatible with S7-200, S7-300, S7-400, S7-1200, S7-1500.
S7.Net 与S7-200,S7-300,S7-400 ,S7-1200 和S7-1500 兼容。
Getting started with S7.Net S7.Net 入门
To get started with S7.Net you have to download and include the S7.Net.dll in your project. You can do this
by downloading the NuGet package, or by downloading the sources and compile them.
要开始使用S7.Net,您必须下载S7.Net.dll 并将其包含在您的项目中。 你可以这样做
通过下载NuGet 软件包,或通过下载源代码并进行编译。
Create a PLC instance, connect and disconnect 创建一个PLC 实例,连接和断
开连接
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
包含外部以太网卡CPU 的IP 地址
Rack: this contains the rack of the plc, tha
您可能关注的文档
- 2007 GEELY 吉利金刚汽车电路图册 .pdf
- 2009 GEELY 吉利金刚整车电器原理图.pdf
- BD Accuri C6软件用户指南.pdf
- boyue 博阅T65软件升级说明书 V1.1.pdf
- ChargerLAB POWER-Z KM001、KM001C充电测试仪说明书.pdf
- Eric Carle毛毛虫点读笔使用说明书.pdf
- NOVA3D Elfin2 MONO SE 3D打印机说明书.pdf
- Panasonic 松下DMC-LX10GK数码相机说明书(4K).pdf
- RSM 中岩科技 SR-IM管桩测斜仪使用说明书.pdf
- RYDBATT 瑞鼎 RYD-IC99充放测容 PC互联 全兼容智能充电器产品使用说明书.pdf
最近下载
- 2022一级注册消防工程师继续教育人员密集场所消防安全管理题目和答案.doc
- 九省联考【安徽省】2024届高三物理试题及答案 .pdf VIP
- 毕业论文参考-基于ANSYS的连杆应力有限元分析及结构优化.docx VIP
- 北京市海淀区2025年中考数学一模试卷(含答案) .pdf VIP
- 初中数学第6章《实数》单元作业设计.pdf VIP
- 2025国家工业和信息化部所属事业单位招聘28人笔试备考试题及答案解析.docx
- 《无人机航飞与倾斜摄影测量入门与应用》考核试题及答案.docx
- 履带吊安拆监理细则.docx
- JC/T 547-2017 陶瓷砖胶粘剂.docx VIP
- 2025国家工业和信息化部所属事业单位招聘28人笔试备考题库及答案解析.docx
文档评论(0)