点击或拖拽改变大小

SiemensPPIOverTcpReadPlcTypeAsync 方法

读取西门子PLC的型号信息,参数信息可以携带站号信息 "s=2;", 注意,分号是必须的。
Read the model information of Siemens PLC, the parameter information can carry the station number information "s=2;", note that the semicolon is required.

命名空间:  HslCommunication.Profinet.Siemens
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public Task<OperateResult<string>> ReadPlcTypeAsync(
	string parameter = ""
)

参数

parameter (Optional)
类型:SystemString
额外的参数信息,例如可以携带站号信息 "s=2;", 注意,分号是必须的。

返回值

类型:TaskOperateResultString
包含是否成功的结果对象
参见