YokogawaLinkTcpWriteRandomBoolAsync 方法 |
[商业授权] 随机写入Boolean数组信息,主需要出传入String数组地址信息,以及对应的Boolean数组值
[Authorization] Randomly write the Boolean array information, the main need to pass in the String array address information,
and the corresponding Boolean array value
命名空间:
HslCommunication.Profinet.Yokogawa
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> WriteRandomBoolAsync(
string[] address,
bool[] value
)
Public Function WriteRandomBoolAsync (
address As String(),
value As Boolean()
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ WriteRandomBoolAsync(
array<String^>^ address,
array<bool>^ value
)
member WriteRandomBoolAsync :
address : string[] *
value : bool[] -> Task<OperateResult>
参数
- address
- 类型:SystemString
批量地址信息 - value
- 类型:SystemBoolean
批量的数据值信息
返回值
类型:
TaskOperateResult是否写入成功
备注
写入的线圈地址支持Y,I,E,M,T,C,L,举例:Y100;也可以携带CPU进行访问,举例:cpu=2;Y100
The write coil address supports Y, I, E, M, T, C, L, for example: Y100; you can also carry the CPU for access, for example: cpu=2;Y100
参见