18 Commits

Author SHA1 Message Date
wangjun c99999b8c9 modbus: add 64-bit byte order support for WS and WR
Add support for WS (34 12 78 56) and WR (56 78 12 34) as additional 64-bit byte orders for Modbus int64, uint64, and double tags.

This change extends address suffix parsing, updates 64-bit endian conversion in the Modbus read/write paths, updates the Modbus TCP/RTU schemas, and adds functional test coverage.

Signed-off-by: wangjun <794997265@qq.com>
2026-04-16 13:59:53 +08:00
hxy7yx 750ac85102 feat(modbus):support endianess of 8-Byte data 2025-06-15 19:47:15 -07:00
hxy7yx c22aaf25d4 feat(modbus):support start address base 0 or 1 2024-10-14 17:13:57 +08:00
hxy7yx 64467a28a7 feat(modbus):supoort configuring endianness in node configuration 2024-10-14 14:06:44 +08:00
hxy7yx 928289eaf1 optimize modbus 2023-07-19 16:40:34 +08:00
evhv ee8ec446fb add FC 0x06 compatibility to neuron and simulator 2023-04-23 10:27:42 +00:00
evhv 89b1fb8fa4 add FC 0x06 compatibility to neuron and simulator 2023-04-22 22:49:36 +00:00
hxy7yx e1ca981860 Open source Modbus TCP/RTU, delete existing Modbus TCP community 2023-04-10 17:56:17 +08:00
fengzero 4405d9cae5 feat(driver): based on the tag address, the endianness is translated 2022-08-30 07:42:40 +00:00
lixiumei123 27246452ec fix(modbus-tcp):Remove unnecessary crc checks 2022-08-11 02:51:59 +00:00
fengzero 203328dffd copyright 2020-2022 2022-06-10 04:43:06 +00:00
fengzero 27d1f38b1c refactor modbus-tcp 2022-05-29 09:47:58 +00:00
fengzero 45240126c9 In write msg, set the exact tag type 2022-04-01 08:40:18 +00:00
fengzero e09963911d Add unit test for modbus point
sort modbus point for optimizing read efficiency
read modbus point(coil, input, hold reg, input reg)
write modbus point(coil, hold reg)
2021-08-27 17:04:15 +08:00
fengzero 8194e2b2c7 Add write operation for modbus tcp, and process NEU_REQRESP_READ_DATA/NEU_REQRESP_WRITE_DATA
NEU_REQRESP_READ_DATA:
	interval > 0: just parse modbus point
	interval ==0: read modbus point
2021-08-26 15:39:34 +08:00
fengzero 8f72ec0c7e refactor: modbus tcp read point
use point module process modbus point order
remove timerfd epoll
2021-08-25 18:38:39 +08:00
fengzero 2707499b17 remove tcp epoll, add modbus tcp plugin
send/receive data synchronously
2021-08-25 11:38:06 +08:00
fengzero 2abc5a6f27 Add tcp for connecting device and add modbus tcp plugin
*use epoll process tcp connection
*define modbus protocol struct and pack function
2021-08-24 11:52:22 +08:00