Emerson PME1, PMT1 user manual InitFifo, IsLegal

Models: PMT1 PME1

1 128
Download 128 pages 13.13 Kb
Page 112
Image 112

Monitor: Standard Monitor Functions

See also: StartMon.c, NvMonDefs.h, NVTable.c, “Boot Commands” Section .

InitFifo

InitFifo(FPtr, StartAddr, Length) struct Fifo *FPtr;

unsigned char *StartAddr; int Length;

ToFifo(FPtr, c) struct Fifo *FPtr; unsigned char c;

FromFifo(FPtr, Ptr) struct Fifo *FPtr; unsigned char *Ptr;

Description: These functions provide the necessary interface to initialize, read, and write a software FIFO. The FIFO is used for buffering serial I/O when using transparent mode, but could be used for a variety of applications. All three functions accept a pointer FPtr as the first argu- ment to a FIFO management structure. This FIFO structure is described briefly below:

struct Fifo {

 

unsigned char

*Top;

unsigned char

*Bottom;

int Length;

 

unsigned char

*Front;

unsigned char

*Rear;

int Count;

 

} Fifo;

 

The function InitFifo initializes the FIFO control structure specified by FPtr to use the unsigned character buffer starting at StartAddr that is of size Length.

The function ToFifo writes the byte c to the specified FIFO. This function returns TRUE if there is room in the FIFO (before adding c to the FIFO), or FALSE if the FIFO is full.

The function FromFifo reads a byte from the specified FIFO. If a character is available, it is written to the address specified by the pointer Ptr and the function returns TRUE. If no char- acter is available, the function returns FALSE.

IsLegal

IsLegal(Type,Str) unsigned char Type; char *Str;

Description: This function is used to determine if the specified character string Str contains legal values to allow the string to be parsed as decimal, hex, uppercase, or lowercase. The function IsLe- gal traverses the character string until a NULL is reached. Each character is verified accord- ing to the Type argument.

The effects of specifying each type are described below:

8-38

PmT1 and PmE1 User’s Manual

10002367-02

Page 112
Image 112
Emerson PME1, PMT1 user manual InitFifo, IsLegal

PMT1, PME1 specifications

The Emerson PME1 and PMT1 are advanced solutions in the realm of process management and automation, designed to enhance the efficiency and effectiveness of industrial operations. These devices play a crucial role in improving process control and providing comprehensive data analysis, which can lead to increased productivity and reduced operational costs.

The PME1 is characterized by its robust design and highly flexible architecture, allowing it to adapt to a variety of industrial environments. It integrates seamlessly with existing systems and offers advanced connectivity options to ensure that data flow is uninterrupted across different platforms. This feature is particularly important in modern industrial settings where data silos can inhibit operational efficiency.

The PMT1, on the other hand, focuses on real-time monitoring and telemetry. Its streamlined interface allows for quick access to key metrics, enabling operators to make informed decisions promptly. This is crucial in processes where timing is essential and minor delays can lead to significant financial losses. The PMT1 supports both wired and wireless communication protocols, ensuring that data is transmitted reliably irrespective of operational conditions.

One of the main features of both the PME1 and PMT1 is their integration of cutting-edge predictive analytics. With machine learning capabilities, these devices can analyze patterns and trends within the data, providing insights that can preemptively address potential issues before they escalate into significant problems. This predictive capability contributes to minimizing downtime and optimizing maintenance schedules, thus enhancing the overall lifecycle of equipment.

Another significant characteristic of the PME1 and PMT1 is their user-friendly interface. The intuitive design allows operators of all skill levels to navigate the systems with ease, minimizing training time and increasing overall productivity. With customizable dashboards, users can tailor their views to highlight the most relevant data for their specific operational needs.

In terms of security, both devices utilize advanced cybersecurity measures to protect sensitive data from unauthorized access. This is becoming increasingly important as industries rely more on digital solutions, and the potential risks associated with data breaches grow.

In summary, the Emerson PME1 and PMT1 are sophisticated tools designed for modern industrial applications, combining powerful features, advanced technologies, and essential characteristics. Their ability to provide real-time data analysis, ensure connectivity, and enhance predictive maintenance makes them invaluable for optimizing process management in various sectors. With a focus on user experience and data security, these devices are set to redefine efficiency and productivity in industrial operations.