OpenModSim icon indicating copy to clipboard operation
OpenModSim copied to clipboard

missing Address 42001 value 0x0008

Open Chadlucc opened this issue 1 year ago • 1 comments

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

Chadlucc avatar Jul 24 '24 02:07 Chadlucc

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 avatar Jul 24 '24 05:07 sanny32

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

sanny32 avatar Oct 24 '24 09:10 sanny32