How to configure Write_Var block to send Modbus requests to an RTU device on a TCP Gateway the with BMXNOC0401 communication module?
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.
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.
Publié pour: Schneider Electric Belgium






Besoin d'aide ?
Sélectionnez le bon produit
Trouvez rapidement et facilement les produits et accessoires adaptés à vos applications.
Obtenir un devis
Effectuez une demande de renseignements en ligne et un expert vous contactera.
Où acheter ?
Trouvez facilement le distributeur Schneider Electric local le plus proche.
Centre d'aide
Trouvez des ressources de support pour tous vos besoins, en un seul endroit.