点击或拖拽改变大小

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 中) 版本:11.8.2.0 (11.8.2.0)
语法
public OperateResult SetOutput(
	int number,
	bool value
)

参数

number
类型:SystemInt32
端子的索引,1,2,3
value
类型:SystemBoolean
是否通断

返回值

类型:OperateResult
返回是否成功的结果对象
参见