OmronFinsNetHelperBuildWriteWordCommand 方法 |
根据写入的地址,数据,是否位写入生成Fins协议的核心报文
According to the written address, data, whether the bit is written to generate the core message of the Fins protocol
命名空间:
HslCommunication.Profinet.Omron
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteWordCommand(
OmronPlcType plcType,
string address,
byte[] value,
bool isBit
)
Public Shared Function BuildWriteWordCommand (
plcType As OmronPlcType,
address As String,
value As Byte(),
isBit As Boolean
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteWordCommand(
OmronPlcType plcType,
String^ address,
array<unsigned char>^ value,
bool isBit
)
static member BuildWriteWordCommand :
plcType : OmronPlcType *
address : string *
value : byte[] *
isBit : bool -> OperateResult<byte[]>
参数
- plcType
- 类型:HslCommunication.Profinet.OmronOmronPlcType
PLC的类型信息 - address
- 类型:SystemString
地址内容,具体格式请参照示例说明 - value
- 类型:SystemByte
实际的数据 - isBit
- 类型:SystemBoolean
是否位数据
返回值
类型:
OperateResultByte带有成功标识的Fins核心报文
参见