PanasonicHelperBuildWriteCoils 方法 |
创建写入多个离散触点的报文指令
命名空间:
HslCommunication.Profinet.Panasonic
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<List<byte[]>> BuildWriteCoils(
byte station,
string[] address,
bool[] value
)
Public Shared Function BuildWriteCoils (
station As Byte,
address As String(),
value As Boolean()
) As OperateResult(Of List(Of Byte()))
public:
static OperateResult<List<array<unsigned char>^>^>^ BuildWriteCoils(
unsigned char station,
array<String^>^ address,
array<bool>^ value
)
static member BuildWriteCoils :
station : byte *
address : string[] *
value : bool[] -> OperateResult<List<byte[]>>
参数
- station
- 类型:SystemByte
站号信息 - address
- 类型:SystemString
等待写入的地址列表 - value
- 类型:SystemBoolean
等待写入的值列表,长度应和地址长度一致
返回值
类型:
OperateResultListByte所有写入命令的报文列表
参见