PanasonicMewtocolWriteAsync 方法 (String, Boolean) |
将Bool数组值写入到指定的离散地址里,一个地址对应一个bool值,地址数组长度和值数组长度必须相等,地址支持X,Y,R,T,C,L, 举例:R1.0, X2.0, R3.A
Write the Bool array value to the specified discrete address, one address corresponds to one bool value,
the length of the address array and the length of the value array must be equal, the address supports X, Y, R, T, C, L, for example: R1.0, X2.0, R3.A
命名空间:
HslCommunication.Profinet.Panasonic
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> WriteAsync(
string[] address,
bool[] value
)
Public Function WriteAsync (
address As String(),
value As Boolean()
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ WriteAsync(
array<String^>^ address,
array<bool>^ value
)
member WriteAsync :
address : string[] *
value : bool[] -> Task<OperateResult>
参数
- address
- 类型:SystemString
离散的地址列表 - value
- 类型:SystemBoolean
bool数组值
返回值
类型:
TaskOperateResult是否写入成功的结果对象
参见