SiemensS7NetBuildBitReadCommand 方法 |
生成一个位读取数据指令头的通用方法 ->
A general method for generating a bit-read-Data instruction header
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildBitReadCommand(
string address,
int msgId
)
Public Shared Function BuildBitReadCommand (
address As String,
msgId As Integer
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildBitReadCommand(
String^ address,
int msgId
)
static member BuildBitReadCommand :
address : string *
msgId : int -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
起始地址,例如M100.0,I0.1,Q0.1,DB2.100.2 ->
Start address, such as M100.0,I0.1,Q0.1,DB2.100.2
- msgId
- 类型:SystemInt32
message id informaion
返回值
类型:
OperateResultByte包含结果对象的报文 -> Message containing the result object
参见