DeviceCommunicationWordLength 属性 |
一个字单位的数据表示的地址长度,西门子为2,三菱,欧姆龙,modbusTcp就为1,AB PLC无效
The address length represented by one word of data, Siemens is 2, Mitsubishi, Omron, modbusTcp is 1, AB PLC is invalid
命名空间:
HslCommunication.Core.Device
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected ushort WordLength { get; set; }
Protected Property WordLength As UShort
Get
Set
protected:
property unsigned short WordLength {
unsigned short get ();
void set (unsigned short value);
}
member WordLength : uint16 with get, set
属性值
类型:
UInt16备注
对设备来说,一个地址的数据对应的字节数,或是1个字节或是2个字节,4个字节,通常是这四个选择,当设置为0时,则表示4字节的地址长度信息
For the device, the number of bytes corresponding to the data of an address, either 1 byte or 2 bytes, 4 bytes, usually these four choices, when set to 0, it means 4 words Section address length information
参见