SiemensPPIOverTcpWrite 方法 (String, Byte) |
将字节数据写入到西门子PLC中,地址为"M100.0","AI100.1","I0.3","Q0.6","V100.4","S100"等
Write byte data to Siemens PLC with addresses "M100.0", "AI100.1", "I0.3", "Q0.6", "V100.4", "S100", etc.
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public override OperateResult Write(
string address,
byte[] value
)
Public Overrides Function Write (
address As String,
value As Byte()
) As OperateResult
public:
virtual OperateResult^ Write(
String^ address,
array<unsigned char>^ value
) override
abstract Write :
address : string *
value : byte[] -> OperateResult
override Write :
address : string *
value : byte[] -> OperateResult
参数
- address
- 类型:SystemString
西门子的地址数据信息 - value
- 类型:SystemByte
数据长度
返回值
类型:
OperateResult带返回结果的结果对象
实现
IReadWriteNetWrite(String, Byte)IReadWriteNetWrite(String, Byte)参见