KeyenceSR2000SerialSetOutput 方法 |
设置OUT端子的使能,需要传入哪个OUT端子,返回是否设置成功!
Set the enable of the OUT terminal, which OUT terminal needs to be passed in, and return whether the setting is successful!
命名空间:
HslCommunication.Profinet.Keyence
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult SetOutput(
int number,
bool value
)
Public Function SetOutput (
number As Integer,
value As Boolean
) As OperateResult
public:
virtual OperateResult^ SetOutput(
int number,
bool value
) sealed
abstract SetOutput :
number : int *
value : bool -> OperateResult
override SetOutput :
number : int *
value : bool -> OperateResult
参数
- number
- 类型:SystemInt32
端子的索引,1,2,3 - value
- 类型:SystemBoolean
是否通断
返回值
类型:
OperateResult返回是否成功的结果对象
参见