YokogawaLinkTcpReadRandomBool 方法 |
[商业授权] 随机读取Boolean数组信息,主需要出传入String数组地址信息,就可以返回批量Boolean值
[Authorization] Random read Boolean array information, the master needs to pass in the String array address information, and then the batch can be returned to Boolean value
命名空间:
HslCommunication.Profinet.Yokogawa
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<bool[]> ReadRandomBool(
string[] address
)
Public Function ReadRandomBool (
address As String()
) As OperateResult(Of Boolean())
public:
OperateResult<array<bool>^>^ ReadRandomBool(
array<String^>^ address
)
member ReadRandomBool :
address : string[] -> OperateResult<bool[]>
参数
- address
- 类型:SystemString
批量地址信息
返回值
类型:
OperateResultBoolean带有成功标志的Bool数组信息
备注
读取的线圈地址支持X,Y,I,E,M,T,C,L,举例:Y100;也可以携带CPU进行访问,举例:cpu=2;Y100
The read coil address supports X, Y, I, E, M, T, C, L, for example: Y100; you can also carry the CPU for access, for example: cpu=2;Y100
参见