Advantech ADAM-4500 user manual Wdtenable, Wdtclear, Wdtdisable

Page 22

Function Description:

LED ON/OFF control

Parameter

Description

int type

0: LED OFF

 

1: LED ON

wdt_enable

Syntax:

wdt_enable()

Function Description:

This function enables the watchdog timer function. After a user calls this function, the user must call the wdt_clear() function to refresh the watchdog timer; otherwise the CPU resets, or a non- maskable interrupt is generated.

wdt_clear

Syntax:

wdt_clear()

Function Description:

This function refreshes the watchdog timer, thereby avoiding the resetting of the CPU or the generation of a non-maskable interrupt.

wdt_disable

Syntax:

wdt_disable()

Function Description:

This function disables the watchdog timer function.

Appendix A Register Structure

This appendix gives a short description of each of the ADAM-4500's registers. For more information please refer to the data book for the STARTECH 16C550 UART chip.

All registers are one byte in length. Bit 0 is the least significant bit, and bit 7 is the most significant bit. The address of each register is specified as an offset from the port base address (BASE), COM1 is 3F8h and COM2 is 2F8h.

DLAB is the "Divisor Latch Access Bit", bit 7 of BASE+3.

Image 22
Contents ADAM-4500 Installation Guidelines Introduction Features Specifications System DiagramProgramming and Downloading Emulating Open PC environments Built-in Real-time Clock and Watchdog TimerIntroduction Built-in RS-232/RS-485 Communication PortsRS-232 Interface PowerSystem RS-485 InterfaceEnvironment MechanicalADAM-4500 Function Block Diagram System Requirements to Setup ADAM-4500Host computer Utility software Power supplyWiring the power cables and download cable Download cableSetup COM port Run utility software in host computerPower on ADAM-4500 Select Communication PortWatchdog Timer Setting JP2 Jumper SettingCOM1 Port Setting JP1 Reset Function Setting JP3Pin No. Description Mini Bios FunctionsProgramming RS-485 ConnectionConverting Program Codes Example Programming the Watchdog TimerOther Limitations Interrupt TypesInstall Utility Software on Host PC Program downloading Write and simulate control logic on a PC Transferring files to Sram ADAM-4500s D-driveConnect the cables Function Library for Turbo C ComminitFunction Library for Microsoft C Commexit CommopenCommsend CommgetrecdatasLedinit CommgetrecstrLed Wdtdisable WdtenableWdtclear Bit Fifo trigger level Baud rate DivisorBit Word length bits BASE+4 Wichtige Sicherheishinweise

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.