AllenBradleyHelperReadPlcType 方法 |
从PLC里读取当前PLC的型号信息
Read the current PLC model information from the PLC
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.0.0 (12.1.0.0)
语法public static OperateResult<string> ReadPlcType(
IReadWriteDevice plc
)
Public Shared Function ReadPlcType (
plc As IReadWriteDevice
) As OperateResult(Of String)
public:
static OperateResult<String^>^ ReadPlcType(
IReadWriteDevice^ plc
)
static member ReadPlcType :
plc : IReadWriteDevice -> OperateResult<string>
参数
- plc
- 类型:HslCommunication.CoreIReadWriteDevice
PLC对象
返回值
类型:
OperateResultString型号数据信息
参见