How can we help you today?

Which Modbus function code used by the WRITE_VAR function communicating over Modbus/TCP?

Issue:
Which Modbus function code used by the WRITE_VAR function communicating over Modbus/TCP?

Product Line:
Modicon Controller, eNOC, ETY modules

Environment:
All

Resolution:
The WRITE_VAR function block over Modbus/TCP is using Modbus Function Code FC16. Even if you want to write a single register using WRITE_VAR it will be going to use FC16.

wireshark traces write function

Schneider Electric Ireland

Explore more

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more

Explore more

Need help?

Product Selector

Quickly and easily find the right products and accessories for your applications.

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Centre

Search topic-related frequently asked questions to find answers you need.