Advantech ADAM-4500 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Advantech ADAM-4500, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Advantech ADAM-4500 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Advantech ADAM-4500. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Advantech ADAM-4500 should contain:
- informations concerning technical data of Advantech ADAM-4500
- name of the manufacturer and a year of construction of the Advantech ADAM-4500 item
- rules of operation, control and maintenance of the Advantech ADAM-4500 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Advantech ADAM-4500 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Advantech ADAM-4500, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Advantech service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Advantech ADAM-4500.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Advantech ADAM-4500 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    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. No part of this manual may be reproduce d, copied, tr[...]

  • Page 2

    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.2 Steps to Successfully Setup the System 5 Step 1: Review the requirements 5 S[...]

  • Page 3

    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.2 Downloading and transferring 1 4 Install Utility Software on Host PC 1 4 Preparing the ALLFILE directory 1 4 Downloading into flash RO[...]

  • Page 4

    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.1 Introduction The ADAM - 4500 is a fully functional standalone controller, de[...]

  • Page 5

    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. This feature greatl y reduces the level of maintenance required and makes the ADAM - 4500 ideal for use in ap[...]

  • Page 6

    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.4 System Diagram ADAM - 4500 Figu[...]

  • Page 7

    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 Figure 1 - 2: ADAM - 4500 Function Block Diagram Chapter 2 Installation Guidelines This chapter provides guidelines to set up and install the ADAM - [...]

  • Page 8

    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 . Power ripples must be limited to 5 V peak to pe ak while the vol[...]

  • Page 9

    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.EXE file. This file is a menu - driven software utility provided for do[...]

  • Page 10

    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>. Power on the ADAM - 4500. After 5 seconds, the screen shown in figur[...]

  • Page 11

    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 following diagram shows th e locations of the jump[...]

  • Page 12

    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. The following table shows the [...]

  • Page 13

    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. The ADAM - 4500 mini BIOS function calls are listed in[...]

  • Page 14

    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, B IOS, and monit[...]

  • Page 15

    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 Start of ROM - DOS (about 48 K) 0x40000 -- 0xBFFFF No Use 0x00400 -- 0x3FFFF SRAM area 0x00000 -- 0x003FF System area 0x003F8 -- 0x003FF COM1 0x002F8 [...]

  • Page 16

    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. Power off the ADAM - 4500 and then re - pow[...]

  • Page 17

    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. You can tran[...]

  • Page 18

    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.BAT file. Also create COMMAND.COM and CONFIG.SYS files for the application program. Load[...]

  • Page 19

    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. The unit of size is bytes. Return: Returns a 1 if command succeed[...]

  • Page 20

    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. User can use comm_get_rec_datas to receive single byte data. 1: comman[...]

  • Page 21

    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. Returns a 0 if it fails. comm_get_rec_str Syntax: int comm_get_rec_str(unsigned char **data,[...]

  • 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 - maskab[...]

  • Page 23

    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. The two bytes BASE+0 and BASE+1 together form a 16 - bit number, the divisor, which determines the baud rate[...]

  • Page 24

    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 bit 5 Transmitter holding register empty bit 6 Transmitter shift register empty bit 7 At least one parity error, framing error or break indication in th[...]

  • Page 25

    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. The sound pressure level at the operators position according to IEC 704 - 1:1982 is equal to [...]