Jäger ADwin-light-16 Manual
Hide thumbs Also See for ADwin-light-16:

Advertisement

Quick Links

ADwin-light-16
Manual
ADwin-light-16 , manual version 2.2, December 2004

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADwin-light-16 and is the answer not in the manual?

Questions and answers

Summary of Contents for Jäger ADwin-light-16

  • Page 1 ADwin-light-16 Manual ADwin-light-16 , manual version 2.2, December 2004...
  • Page 2 For any questions, please don’t hesitate to contact us: Hotline: +49 6251 96320 Fax: +49 6251 5 68 19 Jäger Computergesteuerte E-Mail: info@ADwin.de Messtechnik GmbH Rheinstraße 2-4 Internet www.ADwin.de D-64653 Lorsch Germany ADwin-light-16 , manual version 2.2, December 2004...
  • Page 3: Table Of Contents

    9 ADwin-light-16-Boot ........
  • Page 4: Typographical Conventions

    Courier New and are printed in color (see also the editor of the ADbasic development environment). Bits in data (here: 16 bit) are referred to as follows: Bit No. … Bit value … Synonym ADwin-light-16 , manual version 2.2, December 2004...
  • Page 5: Information About This Manual

    Information about this manual 1 Information about this manual This manual contains comprehensive information about the operation of the ADwin-light-16 system. Additional information are available in – the manual "ADwin Driver Installation", which describes all interface installations for the ADwin systems.
  • Page 6: System Description

    The habitual, easy-to-learn BASIC instruction syntax has been extended by many more functions, in order to get direct access to inputs and outputs as well as by functions for process control and communication with the PC. ADwin-light-16 , manual version 2.2, December 2004...
  • Page 7 Windows programs to access the same ADwin system in coordination at the same time. This is of course a great advantage when programs are developed and installed. Fig. 1 – Concept of the ADwin systems ADwin-light-16 , manual version 2.2, December 2004...
  • Page 8: Adwin-Light-16

    Fig. 2 – Functions diagram (with USB interface) Analog outputs ADwin-light-16 is equipped with 2 analog outputs with 16 bit resolution and an output voltage range of -10 V ... +10 V. You can synchronize and calibrate the output of the voltage of all DACs per software. In order to smooth the output signal, it passes through a low pass filter with a cut-off frequency of f 700 kHz.
  • Page 9 ADwin System description ADwin-light-16 is available as basic version with USB connection in different Designs designs. PC plug-in board (L16-PCI) 19" plug-in board (L16-EURO) external enclosure (L16-EXT) Compact-PCI plug-in board (L16-cPCI) Fig. 3 – Designs The designs L16-EURO and L16-EXT can optionally be delivered with USB or Types 10/100 MBit Ethernet interface.
  • Page 10 ADwin System description 2.2.1 Ordering options (no later upgrading possible) ADwin-light-16 can be equipped with the following options: – L16-CO1: counter option with a 32-bit up/down counter with four edge evaluation for incremental encoders. – L16-DIO1: add-on module with •...
  • Page 11: Operating Environment

    ADwin Operating Environment 3 Operating Environment The borad of the ADwin-light-16 may only be operated in a closed casing (already given with L16-EXT design). According to type and accessories (see chapter 2.2.1f, delivery options / accessories) the system can be operated in 19" enclosures, control cabinets or as a mobile system (e.g.
  • Page 12: Start-Up Of The Hardware

    ADwin Start-up of the Hardware 4 Start-up of the Hardware Do not connect any cables to the ADwin-light-16 system on start-up before you have executed the following steps: 1. Software installation / hardware installation in the PC or 19“ rack.
  • Page 13: Inputs And Outputs

    ADwin Inputs and Outputs 5 Inputs and Outputs The ADwin-light-16 system is equipped with a connecting socket for USB or Connections Ethernet as well as with a 37-pin D-SUB socket. You will find on the D-SUB socket (pin assignment next page) as follows: –...
  • Page 14 (see also chapter 11). More detailed information about the analog as well as the digital inputs and out- puts can be found in the following chapters. ADwin-light-16 , manual version 2.2, December 2004...
  • Page 15: Analog Inputs And Outputs

    If it is not, the maximum or minimum value is output (see also ADbasic manual). 5.1.3 Calculation Basis The voltage range of the ADwin-light-16 system at the analog inputs and out- Voltage range puts is –10 V to +10 V (bipolar 10 V).
  • Page 16 32-bit memory upper word 16-bit value of the ADC/DAC in the lower word Conversion Digits Voltage For a DAC: ⋅ Digits U U OUT U – Digits ---------------------------------------- - U LSB For an ADC: ADwin-light-16 , manual version 2.2, December 2004...
  • Page 17: Digital Inputs And Outputs

    The ADwin-light-16 system is equipped with an external trigger input Trigger input (EVENT) (EVENT). An external signal (trigger) with rising edge can start processes, which are processed completely and immediately (see ADbasic manual, chapter "Structure of an ADbasic-Program").
  • Page 18 A and read it CNT_READ(#) (# = counter n 1, 2) * these functions are reset after being executed. All other functions are reset by the opposing function.. Fig. 11 – Counter instructions - short reference ADwin-light-16 , manual version 2.2, December 2004...
  • Page 19 - is not registered. Such a lap overflow occurs after some 3½ minutes with an input frequency of 20 MHz or after more than 14 minutes with 5 MHz. ADwin-light-16 , manual version 2.2, December 2004...
  • Page 20: Time-Critical Tasks

    Use the waiting times shown below for instance for computing operations and thus, save computing time: – Settling time of the multiplexer: At a maximum voltage jump of 20 V it is 6.5 µs. – Conversion time of the 16 bit ADC: 10 µs. ADwin-light-16 , manual version 2.2, December 2004...
  • Page 21 0 0 0 0 0 0 no effect 20 40 00 C8 DIGOUT Bit-CLEAR-Register 1 1 1 1 1 1 clear bit Fig. 15 – DIO hardware addresses of the control and data registers ADwin-light-16 , manual version 2.2, December 2004...
  • Page 22 1 1 latch counter value into latch A * * The bits are reset after the function has been executed. All other functions are reset by the opposing function. Fig. 16 – Counter hardware addresses of the control and data registers ADwin-light-16 , manual version 2.2, December 2004...
  • Page 23: Calibration

    Select the device number of the system to be calibrated and confirm by press- ing "OK". You will get a warning, if you haven’t selected an ADwin-light-16 system or if you have selected one with an older firm ware version. You can ignore the warning with "YES"...
  • Page 24 -10 V. value is made automatically. Adjust the offset value at the scroll- bar in such a manner that the set- point at the ADC 01 is displayed in the overview window. ADwin-light-16 , manual version 2.2, December 2004...
  • Page 25 On the printout you will also find the calibration settings and the date of print. With Close you return to the overview window. The calibration is finished. Step 5 ADwin-light-16 , manual version 2.2, December 2004...
  • Page 26: Co1 Counter Add-On

    ADC 13 INPUT(-) ADC 13 INPUT(-) DAC 2 OUTPUT DAC 2 OUTPUT AGND DAC AGND DAC DAC 1 OUTPUT DAC 1 OUTPUT L16-PCI and L16-cPCI L16-EURO and L16-EXT Fig. 18 – Pin assignment of L16-CO1 ADwin-light-16 , manual version 2.2, December 2004...
  • Page 27: Programming

    * The bits are reset after the function has been executed. All other functions are reset by the opposing function. Fig. 20 – CO1 hardware addresses of the control and data registers ADwin-light-16 , manual version 2.2, December 2004...
  • Page 28: Dio1 Add-On

    The pin assignment at the connection "ADwin I/O-CONNECTOR" is similar to the basic version, except one difference: The pins 15/16 - in the basic version each with double functions - are now solely used as DIGIN-04 and DIGIN-05. ADwin-light-16 , manual version 2.2, December 2004...
  • Page 29 DIP switches to the counters 1 and 2 switches (upper half, half at right) and to the CAN interface (lower left corner). The setting of the DIP switches is described in chapter 8.2 "Counters" and chapter 8.3 "CAN-Bus". ADwin-light-16 , manual version 2.2, December 2004...
  • Page 30 CNTR #2 3098 XILINX-FPGA XCS20XL CAN- Controller AN82527 CAN-Term. Fig. 23 – Position of the DIP switches on the DIO1 PCB The technical data of the DIO1 add-on is shown in the Annex. ADwin-light-16 , manual version 2.2, December 2004...
  • Page 31: Digital Inputs And Outputs

    DIGOUT_WORD1_E ADbasic instruc- DIGOUT_SET2_E DIGOUT_SET1_E tions to use: DIGOUT_RESET2_E DIGOUT_RESET1_E DIGIN_LONG_E, DIGOUT_LONG_E Fig. 24 – Configurations with CONF_DIO_E More information about programming of time-critical tasks can be found in chapter 5.4 on page ADwin-light-16 , manual version 2.2, December 2004...
  • Page 32: Counters

    CLR/LATCH from the values in latch A and latch B. • the impulse width and pause time from the values in latch A and latch B. ADwin-light-16 , manual version 2.2, December 2004...
  • Page 33 Please initialize the counters in the following order: 1. disable specified counter (CNT_ENABLE) The instruction CNT_ENABLE always accesses all counters. Even if you want to change the status (disabled/enabled) of only one counter, you ADwin-light-16 , manual version 2.2, December 2004...
  • Page 34 = 1: configure channels as output bit 2: DIO 16...23; bit 3: DIO 24...31 * Function has no effect with inputs Fig. 27 – DIO1 hardware addresses of the control and data register ADwin-light-16 , manual version 2.2, December 2004...
  • Page 35 (increment) or low signal (decrement) at the direction input (DIR); this signal can be a fixed voltage or a dynamic signal (e.g. given by an external logic). ADwin-light-16 , manual version 2.2, December 2004...
  • Page 36 If it differs from 90 degrees, the maximum input freqeuency of 5 MHz decreases for instance to 45 degrees at 2.5 MHz. ADwin-light-16 , manual version 2.2, December 2004...
  • Page 37 The pulse width will be derived from the counter value difference multiplied by the period duration of the reference clock. 32 bit Latch A (#1, #2) Data LATCH 32 bit Counter (#1, #2) 20 or 5 MHz Control-Registers ADwin-light-16 , manual version 2.2, December 2004...
  • Page 38 Thus, pulse and pause duration can be evaluated separately by calculating the differences of the latches. 32 bit Latch A (#1& #2) LATCH Data 32 bit Counter (#1& #2) 20 or 5 MHz 32 bit Latch B (#1& #2) Data Control-Registers ADwin-light-16 , manual version 2.2, December 2004...
  • Page 39: Can-Bus

    The 255 registers are used for configuration and status display of the CAN con- troller. Here the bus speed and interrupt handling, etc. are set (see separate documentation "82527 - Serial Communications Controller, Architectural Over- ® view" by Intel ADwin-light-16 , manual version 2.2, December 2004...
  • Page 40 Not relevant bits are not compared to each other, that is, the message is transferred to the object (if it depends on this bit). – Relevant bits are set in the global mask. ADwin-light-16 , manual version 2.2, December 2004...
  • Page 41 Select the sample point (specified by TSEG1 and TSEG2) in such a way that it is between 50% and 80% of the total bit length. The CAN bus frequency is calculated as follows: ADwin-light-16 , manual version 2.2, December 2004...
  • Page 42 Setting and reading of registers SET_REG, GET_REG Initializing of message objects EN_RECEIVE, EN_TRANSMIT Transmitting and receiving data sets TRANSMIT, READ_MSG Enabling of interrupts EN_INTERRUPT Setting the Baud rate SET_CAN_BAUDRATE Fig. 29 – DIO1 Overview of CAN instructions ADwin-light-16 , manual version 2.2, December 2004...
  • Page 43: Adwin-Light-16-Boot

    This option is only available in conjunction with the Ethernet interface, that means with the L16-EXT-ENET or the L16-EURO-ENET. After power-up ADwin-light-16-Boot automatically starts an application which has been programmed before. Thus after initializing the application an operation without PC is possible.
  • Page 44: Accessories

    – cable connector for an external power supply – installation kit for enclosures ADwin-light-16-pow On the secondary side ADwin-light-16-pow provides 12 Volt at a maximum continuous load of 2 Ampere. The power supply is rated for the highest load and maximum expansions.
  • Page 45: Software

    ADwin Software 11 Software You are programming the ADwin-light-16 - all expansions included - with sim- ple ADbasic instructions. All instructions are described in the ADbasic manual (which contains a com- plete instruction list in the appendix). 11.1 Example Program...
  • Page 46 = 15 'object, where the new message ELSE 'can be found object = object - 2 ENDIF result = READ_MSG(object) 'read out new data REM The data are available in the field CAN_MSG. ADwin-light-16 , manual version 2.2, December 2004...
  • Page 47: Annex

    226 x 109 x 44 width x height x depth w x h x d L16-EXT-ENET 226 x 109 x 74 + CO1 add-on see basic version L16-EURO: width +10 TE + DIO1 add-on L16-EXT: height +30 ADwin-light-16 , manual version 2.2, December 2004...
  • Page 48 2 incremental counters. Counter and latch reso- lution EVENT input Edge recognition, pos. (Low) = 5V 1.65 2.15 Edge recognition, neg. (High) = 5V 0.75 1.25 Switching hysteresis = 2.7V input current µA = 0.4V ADwin-light-16 , manual version 2.2, December 2004...
  • Page 49 *FSR = Full Scale Range Processor Parameters Symbol Conditions min. typ. max. Unit type ADSP21062 (SHARC™) manufacturer Analog Devices clock frequency register width for the program internal memory(SRAM) kByte for data external memory (SDRAM) MByte ADwin-light-16 , manual version 2.2, December 2004...
  • Page 50 (Low) = +6mA 0.17 0.33 each DIO line ±35 each logic-output current DIO group (8) ±70 TOTAL via V / GND * see also data sheet SN74 HCT 245 from Texas Instruments ADwin-light-16 , manual version 2.2, December 2004...
  • Page 51: Hardware Addresses - General Overview

    Bit 0: DIO 07:00; Bit 1: DIO 15:08 x = 1: group as output Bit 2: DIO 23:16; Bit 3: DIO 31:24 * after execution the register is automatically reset ** function without any effect at inputs ADwin-light-16 , manual version 2.2, December 2004...
  • Page 52: Table Of Figures

    Fig. 3 – Designs ..........5 Fig. 4 – Types of the ADwin-light-16 basic version ....5 Fig.
  • Page 53: Index

    ADwin Annex A-4 Index Bus frequency CAN CAN-Bus Global mask · 37 CAN bus event · 38 Event To calculate the bus frequency · CAN bus · 38 ADwin-light-16 , manual version 2.2, December 2004...
  • Page 54: List Of Abbreviations

    Digital Signal Processor Transistor-Transistor Logic End Of Conversion Voltage collector-collector Electro-Magnectic Compati- bility Voltage emitter-emitter Electro-Static Discharge FPGA Field Programmable Gate Array Full Scale Range GrouND Manufacturer Analog Devices Burr-Brown Linear Technology Texas Instruments ADwin-light-16 , manual version 2.2, December 2004...

Table of Contents