Figure 3-1: Converting Program Codes

Other Limitations

1.The ADAM-4500 does not support the standard PC function "8253". Therefore, the C language function call "delay ( )" cannot be used in ADAM-4500 applications.

2.Certain critical files are always kept in flash ROM, such as the operating system files, BIOS, and monitoring files. Aside from the storage space needed for these critical files, the ADAM-4500 has an additional 170 KB of free ROM space for downloading user applications. An additional

free 234 KB of SRAM is provided for operation of applications.

Programming the Watchdog Timer

The ADAM-4500 is equipped with a watchdog timer function that resets the CPU or generates an interrupt if processing comes to a standstill for any reason. This feature increases system reliability in industrial standalone and unmanned environments.

If you decide to use the watchdog timer, you must write a function call to enable it. When the watchdog timer is enabled, it must be cleared by the application program at intervals of less than

1.6seconds. If it is not cleared at the required time intervals, it will activate and reset the CPU, or generate an NMI (Non-maskable interrupt). You can use a function call in your application program to clear the watchdog timer. At the end of your program, you need an additional function call to disable the watchdog timer.

The following program shows how you might program the watchdog timer in C programs:

Example:

 

main ()

 

{

 

wdt_enable();

/* enable ADAM-4500 WDT function */

{

/* user's function block */

.

 

.

 

wdt_clear();

/* clear WDT timer */

.

 

.

 

}

 

wdt_disable();

/* disable ADAM-4500 WDT function */

}

 

Interrupt Types

 

Three types of interrupts may occur in the ADAM-4500. The following table shows the types of interrupts.

Interrupt Name

Interrupt Type

Non-Maskable Interrupt (NMI)

02h

COM1 Interrupt

0Ch

COM2 Interrupt

0Eh

Memory Mapping

 

Page 14
Image 14
Advantech ADAM-4500 user manual Other Limitations, Programming the Watchdog Timer, Example, Interrupt Types, Memory Mapping

ADAM-4500 specifications

The Advantech ADAM-4500 series represents a critical advancement in the field of industrial automation and remote monitoring with its versatile and robust features. Designed for a wide range of applications across industries, from manufacturing to environmental monitoring, the ADAM-4500 series bridges the gap between traditional data acquisition systems and modern IoT solutions.

One of the main features of the ADAM-4500 series is its ability to support both Ethernet and RS-485 communication, providing flexibility for various network setups. This dual communication capability allows users to connect the devices seamlessly into existing infrastructures while ensuring reliable data transmission over extended distances.

Another key characteristic of the ADAM-4500 series is its modular design. Users can easily configure and expand their systems according to specific project requirements by adding different I/O modules. The series supports a variety of analog and digital I/O modules, catering to diverse input and output needs. This modularity ensures that the system can evolve as technology advances or project demands change.

In terms of technology, the ADAM-4500 incorporates various protocols, including Modbus TCP and RTU, making it compatible with a wide range of SCADA and industrial automation software. Such compatibility simplifies integration and enhances communication across devices, allowing for centralized monitoring and control systems that improve operational efficiency.

The ADAM-4500 series also boasts embedded web servers, enabling users to access real-time data and configure the device through any web browser. This remote access capability is pivotal for monitoring critical parameters without the need for local presence, which is especially useful in extensive or hazardous environments.

In summary, the Advantech ADAM-4500 series combines robust hardware with advanced software features, providing a flexible, scalable, and efficient solution for data acquisition and remote monitoring in industrial applications. With its modular design, comprehensive communication protocols, and remote access capabilities, the ADAM-4500 series stands out as a reliable choice for organizations aiming to enhance their automation and monitoring systems while preparing for the future of IoT integration.