| 程序包 | 说明 |
|---|---|
| HslCommunication.Core.Address | |
| HslCommunication.Profinet.GE |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExOne<GeSRTPAddress> |
GeSRTPAddress.ParseFrom(String address,
boolean isBit) |
static OperateResultExOne<GeSRTPAddress> |
GeSRTPAddress.ParseFrom(String address,
short length,
boolean isBit)
从GE的地址里,解析出实际的带数据码的
GeSRTPAddress 地址信息,起始地址会自动减一,和实际的地址相匹配 |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExOne<byte[]> |
GeHelper.BuildReadCommand(long id,
GeSRTPAddress address)
构建一个读取数据的报文命令,需要指定消息号,读取的 GE 地址信息
To construct a message command to read data, you need to specify the message number and read GE address information |
static OperateResultExOne<byte[]> |
GeHelper.BuildWriteCommand(long id,
GeSRTPAddress address,
byte[] value) |
Copyright © 2022. All rights reserved.