Is there a simple example of a CWRITE_REG function for Quantum TCP/IP communication.
The Ethernet communications can be confusing to program using Unity, since they vary from PAC family to family. This is one of a series of example applications that presents each function block in a working version for the user to build on.
Product Line
Quantum, Control Expert, Unity Pro
Environment
Windows 7, Windoiws 10
Resolution
The attached application cwrite_reg.zef will continuously write ten registers to another device. The application consists of two sections. The first is an ST section in which variables are initialized. The second section, which is the example proper, is a LD section which uses a CWRITE_REG function block to write 10 registers to another device. The IP of the server is 192.168.1.30. This should be changed to suit your own addressing scheme. The application is annotated and should provide a start for the user of the CWRITE_REG block. There is both a .zef and .xef version in the zip file.
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.