Benutzeranleitung / Produktwartung ADAM-4500 des Produzenten Advantech
Zur Seite of 25
ADAM - 4500 PC - based Communication Controller User's Manual Copyright Notice This document is copyrighted, 1997, by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to make improvements to the products described in this manual at any time without notice.
Part No. 2050500110 1 st Edition Printed in Taiwan July 1997 Table of Contents Chapter 1 General Information 1 1.1 Introduction 1 1.2 Features 1 1.3 Specifications 2 1.4 System Diagram 3 Chapter 2 Installation Guidelines 5 2.1 System Requirements to Setup ADAM - 4500 5 2.
Chapter 3 Programming and Downloading 1 1 3.1 Programming 1 1 Mini BIOS functions 1 1 Converting P rogram Codes 1 1 Other limitations 1 2 Programming the Watchdog timer 1 2 Interrupt types 1 3 Memory Mapping 1 3 3.
Step 2:Connect the cables 1 6 Step 3:Convert and download codes to flash ROM 1 7 Step 4:Power on ADAM - 4500 to complete the application 1 7 Chapter 4 Function Library 1 8 Appendix A Register Structure 3 0 Appendix B Safety Instructions 32 Chapter 1 General Information 1.
The controller also includes a real - time clock and a watchdog timer function. The real - time clock ensures time recording while events occur. The watchdog timer is designed to automatically reset the microprocessor when the system fails.
Mechanical ?? Case: ABS with captive mounting hardware ?? Plug - in screw terminal block: Accepts 0.5 mm 2 to 2.5 mm 2 , 1 - #12 or 2 - #14 to #22 AWG Environment ?? Operating temperature: - 10 to 70°C (14 to 158°F) ?? Storage temperature: - 25 to 70°C ( - 13 to 158°F) ?? Humidity: 5 to 95 %, non - condensing 1.
Function Block Diagram SRAM FLASH ROM RTC WDT&Reset 16 Bit up Power Converter COM#1 UART COM#2 UART RS-485 Tranceiver RS232/485 Tranceiver Programming Port Tranceiver GND +5V +5V GND +10V to 30Vdc.
into the ADAM - 4500, can function as the host computer. Power supply For ease of use in industrial environments, the ADAM - 4500 will accept industry standard +24 V DC unregulated power. The ADAM - 4500 was designed to operate using any power supply voltage between +10 and +30 V DC .
RS-232 Red White Black Female DB-9 Host PC (RS-232 PC) RS-232 Male DB-9 HOST PC DOWNLOAD CABLE and ADAM-4500 Figur e 2 - 2: Download Cable Connections Step 3: Run utility software in host computer Together with the ADAM - 4500 you will find a utility disk containing an ADAM4500.
PC, then press <enter>. The Baudrate is set to a default value of 5 7600 bps and cannot be changed. The screen is as shown in figure 2.4. Figure 2 - 4: Select Communication Port Step 4: Power on ADAM - 4500 Highlight the "Terminal" option, then press <enter>.
Figure 2 - 5: Emulating Screen of ADAM - 4500 2.3 Jumper Setting We designed the ADAM - 4500 with ease - of - use in mind. It has three jumper settings. The following sections explain how to configure the module. You may want to refer to the figure below for help in identifying card components.
The ADAM - 4500 has a DB - 9 pin connector as its RS - 232 port connector. Since the connection for an RS - 232 interface is not standardized, different devices implement the RS - 232 con nection in different ways. If you are having problems with a serial device, be sure to check the pin assignments for the connector.
mini BIOS of ADAM - 4500 o nly 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 - 450 0.
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.
The following table shows the memory mapping of the ADAM - 4500 controller. 0xF8000 -- 0xFFFFF Monitor program 0xF6C00 -- 0xF7FFF Mini BIOS 0xCC000 Start of Application ROM Disk (about 171 K) 0xC0000 .
executing, select the COMport of the host PC that has been connected to ADAM - 4500. Then select "Program" from the bar menu and press <enter> to begin downloading. The screen shown in figure 3 - 2 will appear. Figu re 3 - 2: Program downloading Follow the instructions shown on the screen.
Figure 3 - 3: Download Complete Transferring files to SR AM (ADAM - 4500's D - drive) The ADAM - 4500 provides 234 KB of free SRAM for use in program operation, and as working memory space in the event you want to test your system control logic or simulate system performance before downloading the execution code to t he flash ROM.
Step 3: Convert a nd download codes to flash ROM Within the host computer, convert the application program into 80186 or 80188 compatible code. Create an AUTOEXEC.BAT file for the application program and write the application program's name in the AUTOEXEC.
Syntax: int comm_init(int buf_size) Function description: Initializes the communication port and interrupt routine before other function calls use the communication port. Parameter Description int buf_size Sets the buffer size of every communication port for storage of received data.
int stop Stop bits setting 1, 2 (stop bit = 1 is for data bits = 5,6,7, or 8) (stop bit = 2 is for data bits = 6,7, or 8) For details, refer to RS - 232 chip set data book int cmd_type Received data format setting. 0: single byte mode. The data format is a single byte character.
data buffer ( Use comm_int function call ). Before exiting program, user must free this buffer ( Use comm_exit function call ). unsigned char port Specifies communication port (COM1 or COM2) 1: COM1 port 2: COM2 port Return: Returns a 1 if command succeeds.
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.
BASE+0 Receiver buffer register when DLAB=0 and the operation is a read. BASE+0 Transmitter holding register when DLAB=0 and the operation is a write. BASE+0 Divisor latch bits 0 - 7 when DLAB=1 BASE+1 Divisor latc h bits 8 - 15 when DLAB=1.
BASE+4 Modem Control Register (MCR) bit 0 DTR bit 1 RTS BASE+5 Line Status Register (LSR) bit 0 Receiver data ready bit 1 Overrun error bit 2 Parity error bit 3 Framing error bit 4 Break in terrupt bi.
e. The equipment has dropped and damaged. f. If the equipment has obvious sign of breakage. 15.DO NOT LEAVE THIS EQUIPMENT IN AN ENVIRONMENT UNCONDITIONED, STORAGE TEMPERATURE BELOW - 20° C ( - 4° F) OR ABOVE 60° C (140°F), IT MAY DAMAGE THE EQUIPMENT.
Ein wichtiger Punkt beim Kauf des Geräts Advantech ADAM-4500 (oder sogar vor seinem Kauf) ist das durchlesen seiner Bedienungsanleitung. Dies sollten wir wegen ein paar einfacher Gründe machen:
Wenn Sie Advantech ADAM-4500 noch nicht gekauft haben, ist jetzt ein guter Moment, um sich mit den grundliegenden Daten des Produkts bekannt zu machen. Schauen Sie zuerst die ersten Seiten der Anleitung durch, die Sie oben finden. Dort finden Sie die wichtigsten technischen Daten für Advantech ADAM-4500 - auf diese Weise prüfen Sie, ob das Gerät Ihren Wünschen entspricht. Wenn Sie tiefer in die Benutzeranleitung von Advantech ADAM-4500 reinschauen, lernen Sie alle zugänglichen Produktfunktionen kennen, sowie erhalten Informationen über die Nutzung. Die Informationen, die Sie über Advantech ADAM-4500 erhalten, werden Ihnen bestimmt bei der Kaufentscheidung helfen.
Wenn Sie aber schon Advantech ADAM-4500 besitzen, und noch keine Gelegenheit dazu hatten, die Bedienungsanleitung zu lesen, sollten Sie es aufgrund der oben beschriebenen Gründe machen. Sie erfahren dann, ob Sie die zugänglichen Funktionen richtig genutzt haben, aber auch, ob Sie keine Fehler begangen haben, die den Nutzungszeitraum von Advantech ADAM-4500 verkürzen könnten.
Jedoch ist die eine der wichtigsten Rollen, die eine Bedienungsanleitung für den Nutzer spielt, die Hilfe bei der Lösung von Problemen mit Advantech ADAM-4500. Sie finden dort fast immer Troubleshooting, also die am häufigsten auftauchenden Störungen und Mängel bei Advantech ADAM-4500 gemeinsam mit Hinweisen bezüglich der Arten ihrer Lösung. Sogar wenn es Ihnen nicht gelingen sollte das Problem alleine zu bewältigen, die Anleitung zeigt Ihnen die weitere Vorgehensweise – den Kontakt zur Kundenberatung oder dem naheliegenden Service.