InovanceHelperPraseInovanceAddress 方法 |
根据汇川PLC的地址,解析出转换后的modbus协议信息,适用AM,H3U,H5U系列的PLC
According to the address of Inovance PLC, analyze the converted modbus protocol information, which is suitable for AM, H3U, H5U series PLC
命名空间:
HslCommunication.Profinet.Inovance
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<string> PraseInovanceAddress(
InovanceSeries series,
string address,
byte modbusCode
)
Public Shared Function PraseInovanceAddress (
series As InovanceSeries,
address As String,
modbusCode As Byte
) As OperateResult(Of String)
public:
static OperateResult<String^>^ PraseInovanceAddress(
InovanceSeries series,
String^ address,
unsigned char modbusCode
)
static member PraseInovanceAddress :
series : InovanceSeries *
address : string *
modbusCode : byte -> OperateResult<string>
参数
- series
- 类型:HslCommunication.Profinet.InovanceInovanceSeries
PLC的系列 - address
- 类型:SystemString
汇川plc的地址信息 - modbusCode
- 类型:SystemByte
原始的对应的modbus信息
返回值
类型:
OperateResultStringModbus格式的地址
参见