点击或拖拽改变大小

SiemensPPIReadBool 方法 (String, UInt16)

从西门子的PLC中读取bool数据信息,地址为"M100.0","AI100.1","I0.3","Q0.6","V100.4","S100"等
Read bool data information from Siemens PLC, the addresses are "M100.0", "AI100.1", "I0.3", "Q0.6", "V100.4", "S100", etc.

命名空间:  HslCommunication.Profinet.Siemens
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法
public override OperateResult<bool[]> ReadBool(
	string address,
	ushort length
)

参数

address
类型:SystemString
西门子的地址数据信息
length
类型:SystemUInt16

[缺少 "M:HslCommunication.Profinet.Siemens.SiemensPPI.ReadBool(System.String,System.UInt16)" 的 <param name="length"/> 文档]

返回值

类型:OperateResultBoolean
带返回结果的结果对象

实现

IReadWriteNetReadBool(String, UInt16)
IReadWriteNetReadBool(String, UInt16)
参见