FanucInterfaceNetWrite 方法 (String, Boolean) |
批量写入Boolean数组数据,返回是否写入成功,需要指定起始地址,地址示例:M1,I1,Q1,共计3个区的数据,注意地址的起始为1
Write Boolean array data in batches. If the write success is returned, you need to specify the starting address. Example address: M1, I1, Q1, a total of 3 areas of data. Note that the starting address is 1.
命名空间:
HslCommunication.Robot.FANUC
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public override OperateResult Write(
string address,
bool[] value
)
Public Overrides Function Write (
address As String,
value As Boolean()
) As OperateResult
public:
virtual OperateResult^ Write(
String^ address,
array<bool>^ value
) override
abstract Write :
address : string *
value : bool[] -> OperateResult
override Write :
address : string *
value : bool[] -> OperateResult
参数
- address
- 类型:SystemString
起始地址,地址示例:M1,I1,Q1,共计3个区的数据,注意地址的起始为1 - value
- 类型:SystemBoolean
等待写入的数据值
返回值
类型:
OperateResult是否写入成功
实现
IReadWriteNetWrite(String, Boolean)IReadWriteNetWrite(String, Boolean)备注
地址也支持直接使用 SDO100, SDI100, RDI100, RDO100, UI100, UO100, SI100, SO100
参见