How can we help you today?

How to configure Write_Var block to send Modbus requests to an RTU device on a TCP Gateway the with BMXNOC0401 communication module?

Issue:
How do I configure a Write_Var block to send Modbus requests to an RTU device on a TCP Gateway the with BMXNOC0401 or BMENOC03X1 communication modules?

Product Line:
M580
M340

Environment:
EcoStruxure Control Expert
Unity Pro

Resolution:
See below an example of Write_Var block for writing Modbus slave data through ETG100 gateway.​
 Write_Var block for writing Modbus slave data through ETG100 gateway
In ADDM block '0.3.0{192.168.1.21}1.TCP.MBS' where
Rack = 0
NOC module slot address = 3
Channel = 0
Gateway IP address = 192.168.1.21
Modbus slave id = 1
Message type = TCP
Protocol = Modbus​(MBS)


In Write_Var block
OBJ: String declaring the type of object to write (%MW or %M)
Num: Index of the first object to write
NB: Number of objects to write
EMIS: Data to write
For more details check attached unity help documents.​


Schneider Electric Egypt and North East Africa

Attachment(s)

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.

Get a Quote

Start your sales enquiry online and an expert will connect with you.

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Center

Find support resources for all your needs, in one place.