question

tryhou-victor avatar image
tryhou-victor asked

Writing input current limit with modbus

Hello

I want to change the input current limit with a plc via Modbus. Now it's working with a DMC panel, but I want to automate it. I've written a value to address 22 with the correct Unit-id but nothing is changing. I have no idea what's wrong. If someone can help me, it would be nice.

Regards Tryhou Victor

Venus OSModbus TCPDigital Multi Control
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
shaneyake avatar image
shaneyake answered ·

Have you turned Modbus on the GX?
It that same window under Services - > Modbus. It will show any errors. That is a good place to start.

4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

tryhou-victor avatar image tryhou-victor commented ·
Modbus is enabled on the GX and I can read values. Writing don't succeed.
0 Likes 0 ·
shaneyake avatar image shaneyake tryhou-victor commented ·

What error are you seeing on the GX screen? Settings - > Services - > Modbus
It has a Modbus status area that will show any errors.

0 Likes 0 ·
tryhou-victor avatar image tryhou-victor shaneyake commented ·

I have no errors. I wrote the value 300 to the adress 22. But nothing change. Is it possible, I have to activate an adress before I can write to adress 22? I work with a Venus GX.

knipsel.png


0 Likes 0 ·
knipsel.png (26.9 KiB)
shaneyake avatar image shaneyake tryhou-victor commented ·
Can you post the code you are using to write? If you have no errors here and it isn't changing then possibly you aren't writing?


Is the GX firmware up to date?

0 Likes 0 ·

Related Resources

Modbus TCP Basics

Additional resources still need to be added for this topic

Victron Venus OS Open Source intro page

Venus OS GitHub (please do not post to this)