XinJEHelperPraseXinJEXCAddress 方法 |
根据信捷PLC的地址,解析出转换后的modbus协议信息,适用XC系列
命名空间:
HslCommunication.Profinet.XINJE
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<string> PraseXinJEXCAddress(
string station,
string address,
byte modbusCode
)
Public Shared Function PraseXinJEXCAddress (
station As String,
address As String,
modbusCode As Byte
) As OperateResult(Of String)
public:
static OperateResult<String^>^ PraseXinJEXCAddress(
String^ station,
String^ address,
unsigned char modbusCode
)
static member PraseXinJEXCAddress :
station : string *
address : string *
modbusCode : byte -> OperateResult<string>
参数
- station
- 类型:SystemString
站号的特殊指定信息,可以为空 - address
- 类型:SystemString
信捷plc的地址信息 - modbusCode
- 类型:SystemByte
原始的对应的modbus信息
返回值
类型:
OperateResultString还原后的modbus地址
参见