Is there a simple example of a CWRITE_REG function for Quantum TCP/IP communication.
Issue
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.
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.
Udgivet til: Schneider Electric Danmark


Brug for hjælp?
Produktvælger
Find hurtigt og nemt de rette produkter og det rette tilbehør til dine anvendelser.
Få et tilbud
Start din salgsforespørgsel online, så vil du blive kontaktet af en ekspert.
Find forhandler
Find den nærmeste Schneider Electric-distributør.
Hjælpecenter
Find supportressourcer til alle dine behov på ét sted.