coassoftwaresystems / delphi-modbus

Delphi ModbusTCP components
MIT License
119 stars 64 forks source link

Can support Modbus RTU over TCP? #65

Open seabig6 opened 5 months ago

seabig6 commented 5 months ago

Can we add support for RTU over TCP, which means adding CRC segments at the end of the data?Can we add support for RTU over TCP, which means adding CRC segments at the end of the data?

seabig6 commented 4 months ago

source.zip

I try to wirte, could you merge to lib?

plpolak commented 3 months ago

Looks like your implementation is a copy with addition of the new functionality. Please change it to avoid code duplication: add a new property to enable RTU over TCP, and implement the additional logic in the existing components.

Please also do not touch the formatting of the existing code. This causes a lot of irrelevant updates in git, making it difficult to spot the actual changes.

seabig6 commented 3 months ago

ok