Browse FAQs

Is there a simple example of MBP_MSTR clear local statistics (function4) TCP/IP communication.

Published date: 03 September 2019

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, UnityPro

Environment
Windows 7, Windows 10

Resolution

The attached application mbpmstrf4.zef will clear the local Ethernet statistics from the Ethernet node (using MBP_MSTR function 4). 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 an MBP_MSTR function block function 4 (get the local statistics. 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 ?

Can't find what you are looking for?

Reach out to our customer care team to receive information on technical support, assistance for complaints and more.