Technical FAQs

Ask a Question

Simple example of MBP_MSTR get local statistics (function 3) TCP/IP communication for Quantum

Causes and Fixes

The TCP/IP communications can be difficult 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.

Additional Information

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 finction 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.

  
Was this helpful?
What can we do to improve the information ?