background image

  Installation

2.4 Jumper and DIP Switch Description

You can configure the output of each channel and base address by
setting jumpers and DIP switches on the PCL-726. The card's
jumpers and switches are preset at the factory.  Under normal
circumstances, you should not need to change the jumper settings.

A jumper switch is closed (sometimes referred to as "shorted") with
the plastic cap inserted over two pins of the jumper. A jumper is open
with the plastic cap inserted over one or no pin(s) of the jumper.

2.5 Base Address Setting

The PCL-726 requires 16 consecutive address locations in I/O
address space.  The base address of the PCL-726 is restricted by the
following conditions.

1. The base address must be within the range 200hex to 3F0hex.

2. The base address should not conflict with any PC reserved

I/O address. see Appendix A.

The

 

PCL-726's I/O port base address is selectable by an 8 position

DIP switch SW1 ( refer to Table 2.1).  The address settings for I/O
port from Hex 200 to Hex 3F0 is described in Table 2.2 below. The
default base address of your PCL-726 is set to hex 2C0 in the
factory( see Figure 2.1).

Содержание PCL-726

Страница 1: ...PCL 726 6 Channel D A Output Card ...

Страница 2: ...advised of the possibility of such damages This document contains proprietary information protected by copyright All rights are reserved No part of this manual may be reproduced by any mechanical electronic or other means in any form without prior written permission of the manufacturer Trademarks PCL 726 is registered trademarks of EVOC Technology Co Ltd IBM PC is a registered trademark of Interna...

Страница 3: ...A OUTPUT CONFIGURATION 10 2 8 CONNECTOR PIN ASSIGNMENT 13 2 9 SIGNAL CONNECTION 15 2 9 1 Voltage Output Connection 15 2 10 SOFTWARE INSTALLATION 16 PROGRAMMING 18 3 1 I O PORT ADDRESS 18 3 2 D A DATA REGISTER 19 3 2 1 Unipolar Numbering 20 3 2 2 Bipolar Numbering 20 3 3 DIGITAL I O REGISTER 21 3 4 DEMONSTRATION PROGRAMS 22 PCL 726 CALIBRATION 23 4 1 ENVIRONMENT AND TOOLS 23 4 2THE DISTRIBUTION OF ...

Страница 4: ......

Страница 5: ...hapter 2 Installation describes how to install the PCL 726 The layout of PCL 726 is shown the jumper setting for base address interrupt IRQ level and D A output ranges are specitied as well Besides all connectors pin assignment are also specified l Chapter 3 Programming describes how to program the PCL 726 for analog outputs and digital I O l Chapter 4 PCL 726 Calibration describes the calibration...

Страница 6: ......

Страница 7: ...ocation Also A rugged and reliable 37 pin D sub style connector is provided for analog outputs In addition to the 6 analog outputs the PCL 726 has 16 digital inputs and 16 digital outputs all of the digital channels are TTL compatible The PCLD 782 16 bit Isolation digital input board and PCLD 785 16 bit relay output board are designed for going with the digital input and output connection The PCL ...

Страница 8: ...t channels Enhanced IRQ capability from IRQ3 to IRQ15 Register structure is fully compatible with Advantech s PCL 726 1 2 Applications Industrial and laboratory ON OFF control Energy management Function Generator Programmable Voltage Source Security controller DIP Loop Control Programmable Current Sink Waveform and pulse generation 1 3 Specifications Analog Output D A Channel 6 channels Resolution...

Страница 9: ...t initial status 0V after RESET or POWER ON Digital Input D I Channel 16 channels Level TTL compatible Input logic low voltage Min 0 5V Max 0 8V Input logic high voltage Min 2 0V Max 5 0V Input loading current Max 0 2 mA at 0 4V Input hysteresis Typical 0 4V Min 0 2V Digital Output D O Channel 16 channels Level TTL compatible Input logic low voltage Max 0 5V at 24mA Sink Max 0 4V at 12mA Input log...

Страница 10: ...t One 36 pin slot and one 62 pin slot I O connectors 37 pin D sub connector analog output 20 pin ribbon connector digital I O Operating temp 0 50 C Storage temp 20 70 C Humility 5 95 non condensing Power Consumption 5V 360mA typical 450 max 12V 50mA typical 110mA max 12V 14mA typical 90mA max ...

Страница 11: ...ng for the PCL 726 s base address and voltage source are also specified 2 1 What You Have In addition to this User s Manual the package includes the following items PCL 726 6 channel Analog Output Card Utility Diskette If any of these items is missing or damaged contact the dealer from whom you purchased the product Save the shipping materials and carton in case you want to ship or store the produ...

Страница 12: ...ge Shipping and handling may cause damage to your module Be sure there are no shipping and handing damages on the module before processing After opening the card module carton extract the system module and place it only on a grounded anti static surface component side up Again inspect the module for damage Press down on all the socketed IC s to make sure that they are properly seated Do this only ...

Страница 13: ...Installation 7 2 3 PCL 726 s Layout Figure 2 1 PCL 726 s Layout ...

Страница 14: ...c cap inserted over one or no pin s of the jumper 2 5 Base Address Setting The PCL 726 requires 16 consecutive address locations in I O address space The base address of the PCL 726 is restricted by the following conditions 1 The base address must be within the range 200hex to 3F0hex 2 The base address should not conflict with any PC reserved I O address see Appendix A The PCL 726 s I O port base ...

Страница 15: ... fixed A9 1 A8 2 A7 3 A6 4 A5 5 A4 200 20F OFF 1 ON 0 ON 0 ON 0 ON 0 ON 0 210 21F OFF 1 ON 0 ON 0 ON 0 ON 0 OFF 1 2C0 2CF OFF 1 ON 0 OFF 1 OFF 1 ON 0 ON 0 300 30F OFF 1 OFF 1 ON 0 ON 0 ON 0 ON 0 3F0 3FF OFF 1 OFF 1 OFF 1 OFF 1 OFF 1 OFF 1 default setting ON 0 X don t care OFF 1 Note A4 A9 correspond to PC bus address lines Table 2 1 ...

Страница 16: ...rigger source is from Pin 17 of CN3 Figure 2 3 IRQ Setting 2 7 D A Output Configuration The PCL 726 s output channels can be configured as different analog output styles and they are depended on D A converter s reference voltage source and output mode Bipolar or Unipolar The reference voltage can be internal generated or by external reference voltage from the Reference Voltage Input REF IN of conn...

Страница 17: ...10V Figure 2 4 Reference Voltage Source Besides each output channel can be set as Bipolar or Unipolar output Each output channel and its corresponding jumpers for mode setup are listed as follow CHANNEL NO Corresponding Jumper for output mode CH0 JP1 1 JP1 2 CH1 JP2 1 JP2 2 CH2 JP3 1 JP3 2 CH3 JP4 1 JP4 2 CH4 JP5 1 JP5 2 CH5 JP6 1 JP6 2 The jumper settings for output channel CH0 are illustrated as...

Страница 18: ...12 Installation The different output ranges of output CH0 are shown as the following table The settings for reminder channels CH1 CH5 should follow the same rules as CH0 ...

Страница 19: ...d CN3 is used for analog outputs and reference voltage input CN2 for digital inputs CN1 digital outputs Each connector s pin assignment is specified as follows Legend V OUT Analog Voltage Output I OUT Analog Current Output A GND Analog Ground D A Analog Output D GND Digital Ground REF OUT Reference Voltage Output REF IN Reference Voltage Input EXT TRG External Interrupt Trigger DO Digital Output D...

Страница 20: ...14 Installation ...

Страница 21: ...oper signal connection when the PCL 726 is used is specified 2 9 1 Voltage Output Connection Amp Load V OUT A GND ACL 6126 Side External Side load R 2 9 2 Current Sink Connection Amp I SINK A GND ACL 6126 Side External Side Power Supply RLoad I OUT A GND Note For 4 20mA current sink mode the output range should be set as Internal Reference with 5V and Unipolar mode ...

Страница 22: ...original software disk and keep it in a safe place before install the utility 2 10 1 Installation You will need to manually copy the contents of diskette to your hard disk The procedures should be followed as 1 Turn your PC s power switch on 2 Put the PCL 726 Utility diskette into your floppy drive A or B 3 Make a directory in your hard disk and change to this directory C mkdir 726 C cd 726 4 Copy...

Страница 23: ...utput Range Setup 4 D A Outputs 5 Digital Inputs 6 Digital Outputs 7 Dos Shell All the operations in the utility are menu driven so you can easily execute all the functions and just follow the instructions on the screen step by step 2 10 3 C Language Programming Three example programs in C language are supported in the directory SAMPLES you can refer these samples and modify them for your own appl...

Страница 24: ...ase 0 Write D A 1 high byte data Base 1 Write D A 1 low byte data Base 2 Write D A 2 high byte data Base 3 Write D A 2 low byte data Base 4 Write D A 3 high byte data Base 5 Write D A 3 low byte data Base 6 Write D A 4 high byte data Base 7 Write D A 4 low byte data Base 8 Write D A 5 high byte data Base 9 Write D A 5 low byte data Base 10 Write D A 6 high byte data Base 11 Write D A 6 low byte da...

Страница 25: ...output channels and its corresponding registers are specified by table 4 2 and the details is described as table 4 3 and 4 4 CH No 0 1 2 3 4 5 High byte Base 0 Base 2 Base 4 Base 6 Base 8 Base 10 Low byte Base 1 Base 3 Base 5 Base 7 Base 9 Base 11 Table 4 2 Data Format D A High byte data Base 0 2 4 6 8 10 Bit 7 6 5 4 3 2 1 0 X X X X D11 D10 D9 D8 Table 4 3 D A Low byte data Base 1 3 5 7 9 11 Bit 7...

Страница 26: ...ferent output range 3 2 1 Unipolar Numbering 0 4095 0000 0000 0000 1111 1111 1111 2048 1000 0000 0000 V OUT Vref 0 4096 V OUT Vref 2048 4096 V OUT Vref 4095 4096 Example Converted Data 2047 Binary Code 0111 1111 1111 Vref 5V V OUT 5 V 2047 4096 2 498 V 3 2 2 Bipolar Numbering 2048 2047 0000 0000 0000 1111 1111 1111 0 1000 0000 0000 V OUT Vref 2048 2048 V OUT Vref 0 2048 0V V OUT Vref 2047 2048 Exa...

Страница 27: ...s and the address Base 14 and Base 15 for input channels The data format is shown as follows Data Format Digital I O Base 12 Base 13 Base 14 and Base 15 Bit 7 6 5 4 3 2 1 0 Base 12 Write Output DO15 DO14 DO13 DO12 DO11 DO10 DO9 DO8 Base 13 Write Output DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0 Base 14 Read Input DI15 DI14 DI13 DI12 DI11 DI10 DI9 DI8 Base 15 Read Input DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 Table 4...

Страница 28: ...s listed as following table 726 H a head file which should be included in your program when you use any function in the library 726LIB C DA_DEMO C analog output demonstration program DI_DEMO C digital input demonstration program DO_DEMO C digital output demonstration program We provide source code of all above programs you can refer to these demonstrate programs and library to speed up your own ap...

Страница 29: ...al board PCLD 9137 4 2The distribution of variable precise resistors 1 VR1 1 VR2 1 VR3 1 VR4 1 VR5 1 and VR6 1 are used to calibrate D A analog channels CHO CH1 CH2 CH3 CH4 and CH5 unipolar full scale output voltage with 5V or 10V internal reference voltage 2 VR1 2 VR2 2 VR3 2 VR4 2 VR5 2 and VR6 2 are used to calibrate D A analog channels CHO CH1 CH2 CH3 CH4 and CH5 offset bipolar output voltage ...

Страница 30: ...put voltage from each D A analog output channel as 0V measure these output voltages one by one by using the digital multi meter adjust VR1 2 VR2 2 VR3 2 VR4 2 VR5 2 and VR6 2 to ensure the actual output voltage from each channel is 0V 4 3 3 Unipolar voltage calibration with 5V internal reference voltage 1 Follow the description at 2 7 to set the jumper 2 Connect the terminal board PCLD 9137 3 Run ...

Страница 31: ...om each channel is 4mA 4 3 5 Note 1 Both Unipolar and bipolar output voltage Unipolar output current with 5V internal reference voltage are all pre calibrated in the factory User does not need re calibrate before use 2 Users who use 10V as their internal reference voltage may want to calibrate before use to minimum the measurement error Please refer to 4 3 1 to fine tuning VRx 1 precise resistor F...

Страница 32: ...er 0A0 0BF interrupt controller 2 0C0 0DF DMA controller 0F0 0FF Math coprocessor 100 1EF not usable 1F0 1F8 Fixed disk 200 207 Game I O 278 27F Parallel printer port 2 LPT2 2F8 2FF Serial Port 2 COM2 300 31F Prototype card 360 36F Reserved 378 37F Parallel printer port 1 LPT1 3B0 3BF Monochrome display 3C0 3CF Reserved 3D0 3DF Color graphics display 3F0 3F7 Diskette controller 3F8 3FF Serial port...

Отзывы: