Issue
The TCP/IP 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, M580, Control Expert, Unity Pro
Environment
Windows 7, Windows 10
Resolution
The attached application mbpmstrf3.zef will get the local Ethernet statistics from the Ethernet node (using MBP_MSTR function 3). The application consists of three 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 an MBP_MSTR function block function 3 (get the local statistics). The third section is another Structured Text section that parses the table of statistics into the individual bits of information. The application is annotated and should provide a start for the user of the MBP_MSTR block. It is up to the user to change the PAC type to meet his or her own requirements. There is both a .zef and .xef version in the zip file.
The TCP/IP 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, M580, Control Expert, Unity Pro
Environment
Windows 7, Windows 10
Resolution
The attached application mbpmstrf3.zef will get the local Ethernet statistics from the Ethernet node (using MBP_MSTR function 3). The application consists of three 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 an MBP_MSTR function block function 3 (get the local statistics). The third section is another Structured Text section that parses the table of statistics into the individual bits of information. The application is annotated and should provide a start for the user of the MBP_MSTR block. It is up to the user to change the PAC type to meet his or her own requirements. There is both a .zef and .xef version in the zip file.