MelsecFxSerialHelperActivePlc 方法 |
激活PLC的接收状态,需要再和PLC交互之前进行调用,之后就需要再调用了。
命名空间:
HslCommunication.Profinet.Melsec.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult ActivePlc(
IReadWriteDevice plc
)
Public Shared Function ActivePlc (
plc As IReadWriteDevice
) As OperateResult
public:
static OperateResult^ ActivePlc(
IReadWriteDevice^ plc
)
static member ActivePlc :
plc : IReadWriteDevice -> OperateResult
参数
- plc
- 类型:HslCommunication.CoreIReadWriteDevice
PLC通信对象
返回值
类型:
OperateResult是否激活成功
参见