sanny32 / OpenModSim

Open ModSim is a Free Modbus Slave (Server) Utility
MIT License
75 stars 11 forks source link

missing Address 42001 value 0x0008 #9

Closed Chadlucc closed 3 weeks ago

Chadlucc commented 3 months ago

Screenshot from 2024-07-24 10-30-50 Screenshot from 2024-07-24 10-31-35

sanny32 commented 3 months ago

This happens because the read request comes for the address starting with 4x2002. The address numbering in the program OpenModSim starts with 1, not 0. At the same time, in the protocol logs, addressing starts from 0, as provided in the Modbus protocol standard.

sanny32 commented 3 weeks ago

From version 1.6.0 OpenModsim support address base switch. Now you can select which address base use 0 or 1.