Advantech ADAM-4500 user manual Converting Program Codes

Page 13

mini BIOS of ADAM-4500 only provides 10 function calls. Since the user's program can not use other BIOS function calls, the ADAM-4500 may not work as intended. Additionally, certain language compilers such as QBASIC directly call BIOS functions that are not executable in ADAM-4500. The ADAM-4500 mini BIOS function calls are listed in the following table.

Function

Subfunction

Task

07h

 

186 or greater co-processor esc instruct

10h

0eh

TTY Clear output

11h

 

Get equipment

12h

 

Get memory size

15h

87h

Extended memory read

 

88h

Extended memory size

 

c0h

PS/2 or AT style A20 Gate table

16h

0

Read TTY char

 

1

Get TTY status

 

2

Get TTY flags

18h

 

Print "Failed to BOOT ROM-DOS" message

19h

 

Reboot system

1ah

0

Get tick count

 

1

Set tick count

 

2

Get real time clock

 

3

Set real time clock

 

4

Get date

 

5

Set date

1ch

 

Timer tick

Converting Program Codes

The ADAM-4500 has an 80188 CPU. Therefore, programs downloaded into its flash ROM must first be converted into 80186 or 80188 compatible code, and the floating point operation must be set to emulation mode. For example, if you were to develop your application program in Borland C, you would compile the program as indicated in the screen below.

Image 13
Contents ADAM-4500 Introduction Features Specifications System Diagram Installation GuidelinesProgramming and Downloading Introduction Built-in Real-time Clock and Watchdog TimerEmulating Open PC environments Built-in RS-232/RS-485 Communication PortsSystem PowerRS-232 Interface RS-485 InterfaceEnvironment MechanicalADAM-4500 Function Block Diagram System Requirements to Setup ADAM-4500Host computer Wiring the power cables and download cable Power supplyUtility software Download cableRun utility software in host computer Setup COM portSelect Communication Port Power on ADAM-4500COM1 Port Setting JP1 Jumper SettingWatchdog Timer Setting JP2 Reset Function Setting JP3Programming Mini Bios FunctionsPin No. Description RS-485 ConnectionConverting Program Codes Other Limitations Programming the Watchdog TimerExample 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 Commopen CommexitCommgetrecdatas CommsendLedinit 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.