OmronHostLinkCModeHelperReadPlcType 方法 |
[商业授权] 读取PLC的当前的型号信息
[Authorization] Read the current model information of the PLC
命名空间:
HslCommunication.Profinet.Omron.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<string> ReadPlcType(
IReadWriteDevice omron,
byte unitNumber
)
Public Shared Function ReadPlcType (
omron As IReadWriteDevice,
unitNumber As Byte
) As OperateResult(Of String)
public:
static OperateResult<String^>^ ReadPlcType(
IReadWriteDevice^ omron,
unsigned char unitNumber
)
static member ReadPlcType :
omron : IReadWriteDevice *
unitNumber : byte -> OperateResult<string>
参数
- omron
- 类型:HslCommunication.CoreIReadWriteDevice
PLC连接对象 - unitNumber
- 类型:SystemByte
站号信息
返回值
类型:
OperateResultString型号
参见