写入I/O信号状态,写入接点数请指定8的倍数。IO 信号的网络写入仅可是( #27010 ~ #29567)。
To write I/O signal status, please specify a multiple of 8 for the number of write contacts.
The network write of IO signal is only available (#27010 to #29567).
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult IOWrite(
int address,
bool[] value
)
Public Function IOWrite (
address As Integer,
value As Boolean()
) As OperateResult
public:
OperateResult^ IOWrite(
int address,
array<bool>^ value
)
member IOWrite :
address : int *
value : bool[] -> OperateResult
参数
- address
- 类型:SystemInt32
写入开始接点编号 - value
- 类型:SystemBoolean
写入的bool值,写入接点数请指定8的倍数。
返回值
类型:
OperateResult是否写入成功
参见