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.
Gepubliceerd voor: Schneider Electric Belgium


Hulp nodig?
Selecteer zelf het juiste product
Vind snel en eenvoudig de juiste producten en toebehoren voor uw toepassingen.
Offerte aanvragen
Dien uw aanvraag online in en een expert zal contact met u opnemen.
Verkooppunten
Vind eenvoudig de dichtstbijzijnde distributeur van Schneider Electric op uw locatie.
Help Center
Vind de antwoorden die u nodig heeft via bladeren door veelgestelde vragen over onderwerpen.