点击或拖拽改变大小

YokogawaLinkTcpWriteRandomBool 方法

[商业授权] 随机写入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.0.0.0 (12.0.0.0)
语法
public OperateResult WriteRandomBool(
	string[] address,
	bool[] value
)

参数

address
类型:SystemString
批量地址信息
value
类型:SystemBoolean
批量的数据值信息

返回值

类型:OperateResult
是否写入成功
备注
写入的线圈地址支持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
参见