ModbusRtuOverTcpAddressStartWithZero 属性 |
获取或设置起始的地址是否从0开始,默认为True
Gets or sets whether the starting address starts from 0. The default is True
命名空间:
HslCommunication.ModBus
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public bool AddressStartWithZero { get; set; }
Public Property AddressStartWithZero As Boolean
Get
Set
public:
virtual property bool AddressStartWithZero {
bool get () sealed;
void set (bool value) sealed;
}
abstract AddressStartWithZero : bool with get, set
override AddressStartWithZero : bool with get, set
属性值
类型:
Boolean实现
IModbusAddressStartWithZero备注 警告: |
---|
因为有些设备的起始地址是从1开始的,就要设置本属性为False |
参见