Skip to content

Confusion about the simulator setup regarding holding and input registers #2531

Answered by janiversen
saardrimer asked this question in Help
Discussion options

You must be logged in to vote

You have defined shared false which makes the register setup a lot more complicated.

In non shared mode registers are defined with the sizes as offset, that is
reg0 is coil
reg1 is holding
and there are no input registers in your definition.

There are no exception when addressing outside the range, so I assume the problem is that you need to define the size of the input registers.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by janiversen
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants