点击或拖拽改变大小

NetworkDeviceBaseWordLength 属性

一个字单位的数据表示的地址长度,西门子为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.Net
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.0.5.0 (11.0.5.0)
语法
protected ushort WordLength { 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
参见