background image

 

 

 

 

 

Technical support:

+49 (0)7223 / 9493-0

 
 
 
 

 

 

Technical description 

ADDIALOG PA 3110 

Analog input and output channels 

 

9th edition 04/1999 

 

Summary of Contents for ADDIALOG PA 3110

Page 1: ...Technical support 49 0 7223 9493 0 Technical description ADDIALOG PA 3110 Analog input and output channels 9th edition 04 1999...

Page 2: ...e intrusion of foreign bodies and by influence beyond the user s control Licence for ADDI DATA software products Read carefully this licence before using the standard software The right for using this...

Page 3: ...s leaflet is not with the documentation please contact us Do observe the instructions in the manual Make sure that you have not skipped any step We are not liable for damage resulting from the imprope...

Page 4: ...ences listed in the form TD3110 020 Following norms have been applied to test the product regarding electromagnetic compatibility l l l l EN55011 03 91 l l l l EN55022 08 94 l l l l EN50082 2 03 95 We...

Page 5: ...ings at delivery 11 5 2 2 Jumper settings 12 6 INSTALLATION 13 6 1 Base address 14 6 2 Inserting the board 15 6 2 1 Opening the PC 15 6 2 2 Selecting a free slot 15 6 2 3 Inserting the board 16 6 2 4...

Page 6: ...tine under DOS and Windows 3 11 35 a Flow chart for DOS Windows 3 11 and Windows NT 95 asynchronous mode 35 b Example in C for DOS and Windows 3 11 36 c Example in C for Windows NT 95 Asynchronous mod...

Page 7: ...ut channels 54 8 5 1 Testing one analog output channel 54 a Flow chart 54 b Example in C 55 9 5 2 Testing several analog output channels 56 a Flow chart 56 b Example in C 57 9 6 Timer 58 9 6 1 Testing...

Page 8: ...6 The ADDIREG registration program 18 Fig 6 7 Configuring a new board 20 Fig 7 1 Connection principle 24 Fig 7 2 37 pin SUB D male connector X20 Single ended mode 24 Fig 7 3 37 pin SUB D male connecto...

Page 9: ...s for processing analog signals The PX 901 screw terminal board allows to connect the analog signals through a shielded cable The use of the PA 3110 board in combination with external screw terminal b...

Page 10: ...tee these limit values only in this configuration The use of the board in a PC could change the PC features regarding to noise emission and immunity Increased noise emission or decreased noise immunit...

Page 11: ...y persons trained in electronics are entitled to perform the following installation use maintenance 2 2 Personal protection Consider the country specific regulations about the prevention of accidents...

Page 12: ...PA 3110 Technical descriptioin Chapter 3 4 3 HANDLING THE BOARD Fig 3 1 Wrong handling Fig 3 2 Correct handling...

Page 13: ...ppliance configuration We guarantee these limit values only in this configuration 1 Consider the following aspects your test program must be able to detect operation errors your system must be set up...

Page 14: ...s PA3110 8 4 8 SE 4 Diff 1 4 PA3110 8 8 8 SE 4 Diff 8 PA3110 16 4 16 SE 8 Diff 4 PA3110 16 8 16 SE 8 Diff 8 4 5 Limit values Operating temperature 0 to 60 C Storage temperature 25 to 70 C Relative hum...

Page 15: ...r calibration Bipolar 1 2 LSB Unipolar 1 2 LSB Drift 0 C to 60 C Bipolar 7 ppm C Unipolar 7 ppm C Analog input ranges Voltage Unipolar 0 10 V Bipolar 10 V Selectable through software Current Unipolar...

Page 16: ...ses The outputs are updated with a dummy reading on an address simultaneous updating of the output channels Settling time at 0 01 FS FS Full scale with 2 k and 100 pF load 2 5 s typ for a 10 V voltage...

Page 17: ...ax Unipolar 20 mV max Bipolar Gain error 0 2 of FSR max Galvanic separation to the PC 500 VDC min Voltage after Reset 0 V or 10V depending on the mode jumper settings and on the voltage range Watchdog...

Page 18: ...PA 3110 Technical description Chapter 5 10 5 SETTINGS 5 1 Component scheme Fig 5 1 Component scheme...

Page 19: ...Technical description Chapter 5 PA 3110 11 5 2 Jumper settings 5 2 1 Jumper location and settings at delivery Fig 5 2 Jumper location and settings at delivery...

Page 20: ...put channels 1 to 4 5 V in unipolar mode 0 V in bipolar mode J2 3 4 5 A Output voltage range Channels 5 to 8 Bipolar 10 V A B Output voltage range Channels 5 to 8 Unipolar 0 10 V J7 8 9 10 A Output vo...

Page 21: ...itch off the PC 2 Install the first board 3 Start the PC 4 Install the software only once 5 Configure the board 6 Switch off the PC 7 Install the second board 8 Start the PC 9 Configure the board etc...

Page 22: ...free the address range 32 I O addresses required by the board is not already used by the PC or by boards already installed in the PC The base address and or the address range are wrong Select another...

Page 23: ...in the manual of the PC manufacturer 6 2 2 Selecting a free slot 1 Select a free AT slot Fig 6 2 Slot types The board can be used in EISA slots under certain conditions 2 Remove the back cover of the...

Page 24: ...the board vertically into the chosen slot Fig 6 4 Inserting the board Secure the board to the rear of the PC housing with the screw which was fixed on the back cover Fig 6 5 Securing the board at the...

Page 25: ...1 Copy the contents of PA3110 16bit on a disk If several disks are to be used the directory contents is stored in several sub directories Disk1 Disk2 Disk3 Insert the first disk into a drive and chang...

Page 26: ...r several resources of the board you cannot start the ADDIREG program 6 4 1 Program description IMPORTANT Insert the ADDI DATA boards to be registered before starting the ADDIREG program If the board...

Page 27: ...program must correspond to the one set through DIP switches ISA DMA Indicates the selected DMA channel or Not available if the board uses no DMA More information Additional information like the ident...

Page 28: ...Insert The following dialog window appears Fig 6 7 Configuring a new board All boards you can register are listed on the left Select the wished board The corresponding line is highlighted On the right...

Page 29: ...registration Prints the registration parameter on your standard printer Quit Quits the ADDIREG program 6 4 2 Registering a new board IMPORTANT To register a new board you must have administrator righ...

Page 30: ...n s Select a new value Activate it with a click Repeat the operation for each parameter to be modified Once the wished configuration is set click on Set Save the configuration with Save You can test i...

Page 31: ...nloads from the Internet You can download the latest version of the device driver for the PA 3110 board http www addi data de or http www addi data com If you have any questions do not hesitate to sen...

Page 32: ...0 Technical description Chapter 7 24 7 CONNECTING THE PERIPHERAL 7 1 Connection principle Fig 7 1 Connection principle 7 2 Connector pin assignment Fig 7 2 37 pin SUB D male connector X20 Single ended...

Page 33: ...Technical description Chapter 7 PA 3110 25 Fig 7 3 37 pin SUB D male connector X20 differential mode...

Page 34: ...PA 3110 Technical description Chapter 7 26 7 3 Connection examples Fig 7 4 Screw terminal board PX 901 A and cable ST010 Fig 7 5 Connection in single ended mode Fig 7 6 Connection in differential mode...

Page 35: ......

Page 36: ...hdog can also generate interrupts The state of the watchdog is indicated in the Status Register 8 2 Analog input channels Up to 16 analog signals can be connected to the board It is possible to config...

Page 37: ...output channel of the multiplexer to the input channel of the INA so that each channel is a RC module low pass When switching from a channel to another the output capacity of the multiplexer must be r...

Page 38: ...s Table 8 1 Direct conversion software controlled R of the signal source ui_ConvertTiming 100R 1 5 500R 10 60 1K 500 700 10K 1000 2000 50K 10000 65535 Table 8 2 Cyclic conversion hardware controlled R...

Page 39: ...Initialisation 9 1 1 Initialisation of the PA 3110 under DOS and Windows 3 11 a Flow chart If Windows program then i_PA3110_InitCompiler i_PA3110_SetBoardInformation Initialisation OK return value 0...

Page 40: ...Example in C for DOS and Windows 3 11 int Initialisation unsigned char pb_BoardHandle ifdef _Windows i_PA3110_InitCompiler DLL_COMPILER_C endif if i_PA3110_SetBoardInformation 0x390 3 IRQ3 16 8 pb_Bo...

Page 41: ...the PA 3110 under Windows NT 95 a Flow chart If Windows program then i_PA3110_InitCompiler i_PA3110_SetBoardInformationWin32 Initialisation OK return value 0 Initialisation Begin Initialisation Ok Ye...

Page 42: ...c Example in C for Windows NT 95 int Initialisation unsigned char pb_BoardHandle if i_PA3110_InitCompiler DLL_COMPILER_C 0 if i_PA3110_SetBoardInformationWin32 PA3110 00 16 8 pb_BoardHandle 0 return 0...

Page 43: ...upt mask Interrupt routine Begin Interrupt routine End DMA conversion cycle is completed Save buffer Timer 2 has run down Interrupt mask 8 Interrupt mask 16 Conversion driven by timer is completed Sav...

Page 44: ...1 EOC interrupt ui_SaveArray 0 pui_ValueArray 1 break case 2 Timer conversion interrupt for ui_Cpt 0 ui_Cpt pui_ValueArray 0 ui_Cpt ui_SaveArray ui_Cpt pui_ValueArray ui_Cpt 1 break case 4 EOS interr...

Page 45: ...ned short int pui_ValueArray switch b_InterruptMask case 1 EOC interrupt ui_SaveArray 0 pui_ValueArray 1 break case 2 Timer conversion interrupt for ui_Cpt 0 ui_Cpt pui_ValueArray 0 ui_Cpt ui_SaveArra...

Page 46: ...is completed Save buffer Timer 2 has run down Interrupt mask 8 Interrupt mask 16 Conversion driven by timer is completed Save buffer End of conversion EOC Save buffer Interrupt mask 2 Interrupt mask...

Page 47: ...1 1 EOC interrupt ps_UserStruct ui_SaveArray 0 pui_ValueArray 1 if b_InterruptMask 2 2 Timer conversion interrupt Acquisition for ui_Cpt 0 ui_Cpt pusi_Index 0 ui_Cpt ps_UserStruct ui_SaveArray ui_Cpt...

Page 48: ...PA 3110 40 9 3 Direct conversion of analog inputs 9 3 1 Testing one analog input a Flow chart Initialisation Return value 0 i_PA3110_Read1AnalogInput Yes i_PA3110_CloseBoardHandle Test 1 analog input...

Page 49: ...int ui_ReadValue if Initialisation b_BoardHandle 0 if i_PA3110_Read1AnalogInput b_BoardHandle PA3110_CHANNEL_0 PA3110_1_GAIN PA3110_UNIPOLAR 10 PA3110_DISABLE ui_ReadValue 0 printf ui_ReadValue u ui_R...

Page 50: ...ion Chapter 9 PA 3110 42 9 3 2 Testing all analog inputs a Flow chart Initialisation Return value 0 i_PA3110_ReadMoreAnalogInput Yes i_PA3110_CloseBoardHandle Test all analog inputs Begin Test all ana...

Page 51: ..._Gain 3 PA3110_1_GAIN b_Gain 4 PA3110_1_GAIN b_Gain 5 PA3110_1_GAIN b_Gain 6 PA3110_1_GAIN b_Gain 7 PA3110_1_GAIN b_Polar 0 PA3110_UNIPOLAR b_Polar 1 PA3110_UNIPOLAR b_Polar 2 PA3110_UNIPOLAR b_Polar...

Page 52: ...ne i_PA3110_CloseBoardHandle i_PA3110_StopAnalogInputAcquisition Test cyclic conversion without DMA End Initialisation Return value 0 i_PA3110_SetBoardIntRoutineXX Yes i_PA3110_InitAnalogInputAcquisit...

Page 53: ...GAIN b_Polar 3 PA3110_UNIPOLAR if i_PA3110_InitAnalogInputAcquisition b_BoardHandle 4 b_Channel b_Gain b_Polar PA3110_SIMPLE_MODUS 1500 0 4 PA3110_DMA_NOT_USED PA3110_SINGLE 0 b_ReceiveInterrupt 0 if...

Page 54: ...110_1_GAIN b_Polar 3 PA3110_UNIPOLAR if i_PA3110_InitAnalogInputAcquisition b_BoardHandle 4 b_Channel b_Gain b_Polar PA3110_SIMPLE_MODUS 1500 0 4 PA3110_DMA_NOT_USED PA3110_SINGLE 0 b_ReceiveInterrupt...

Page 55: ...CHANNEL_3 b_Gain 3 PA3110_1_GAIN b_Polar 3 PA3110_UNIPOLAR if i_PA3110_InitAnalogInputAcquisition b_BoardHandle 4 b_Channel b_Gain b_Polar PA3110_SIMPLE_MODUS 1500 0 4 PA3110_DMA_NOT_USED PA3110_SINGL...

Page 56: ...NIPOLAR if i_PA3110_InitAnalogInputAcquisition b_BoardHandle 4 b_Channel b_Gain b_Polar PA3110_SIMPLE_MODUS 1500 0 4 PA3110_DMA_NOT_USED PA3110_SINGLE 0 ps_GlobalUserStruct b_ReceiveInterrupt 0 if i_P...

Page 57: ...oardHandle i_PA3110_StopAnalogInputAcquisition Test cyclic conversion with DMA End Initialisation Return value 0 i_PA3110_SetBoardIntRoutineXX Yes i_PA3110_InitAnalogInputAcquisition Test cyclic conve...

Page 58: ...nnel b_Gain b_Polar PA3110_SIMPLE_MODUS 1500 0 16 PA3110_DMA_USED PA3110_SINGLE 0 b_ReceiveInterrupt 0 if i_PA3110_StartAnalogInputAcquisition b_BoardHandle 0 while b_ReceiveInterrupt 0 b_ReceiveInter...

Page 59: ...b_Channel b_Gain b_Polar PA3110_SIMPLE_MODUS 1500 0 16 PA3110_DMA_USED PA3110_SINGLE 0 b_ReceiveInterrupt 0 if i_PA3110_StartAnalogInputAcquisition b_BoardHandle 0 while b_ReceiveInterrupt 0 b_Receive...

Page 60: ...ition b_BoardHandle 4 b_Channel b_Gain b_Polar PA3110_SIMPLE_MODUS 1500 0 16 PA3110_DMA_USED PA3110_SINGLE 0 b_ReceiveInterrupt 0 if i_PA3110_StartAnalogInputAcquisition b_BoardHandle 0 while b_Receiv...

Page 61: ...gInputAcquisition b_BoardHandle 0 while ps_GlobalUserStruct b_ReceiveInterrupt 0 ps_GlobalUserStruct b_ReceiveInterrupt 0 printf n Acquisition 1 u u u u u u u u n u u u u u u u u ps_GlobalUserStruct u...

Page 62: ...PA 3110 54 9 5 Analog output channels 8 5 1 Testing one analog output channel a Flow chart Initialisation Return value 0 i_PA3110_Write1AnalogValue Yes i_PA3110_CloseBoardHandle Test 1 analog output B...

Page 63: ...C void main void unsigned char b_BoardHandle if Initialisation b_BoardHandle 0 if i_PA3110_WriteAnalogValue b_BoardHandle 0 4095 0 printf Write test OK else printf Write value error i_PA3110_CloseBoa...

Page 64: ...9 PA 3110 56 9 5 2 Testing several analog output channels a Flow chart Initialisation Return value 0 i_PA3110_WriteMoreAnalogValue Yes i_PA3110_CloseBoardHandle Test several analog outputs Begin Test...

Page 65: ...ui_WriteValueArray 2 4095 b_Channel 3 3 ui_WriteValueArray 3 0 b_Channel 4 4 ui_WriteValueArray 4 2047 b_Channel 5 5 ui_WriteValueArray 5 4095 b_Channel 6 6 ui_WriteValueArray 6 0 b_Channel 7 7 ui_Wr...

Page 66: ...0 i_PA3110_SetBoardIntRoutineXXX Yes i_PA3110_InitTimerWatchdog Test timer interrupt Begin Test timer interrupt End Return value 0 i_PA3110_CloseBoardHandle Yes Return value 0 i_PA3110_StartTimerWatch...

Page 67: ...10_InitTimerWatchdog b_BoardHandle PA3110_TIMER 1000 PA3110_ENABLE 0 if i_PA3110_StartTimerWatchdog b_BoardHandle 0 while ui_TimerIntCpt 0 printf Receive timer interrupt i_PA3110_StopTimerWatchdog b_B...

Page 68: ...i_PA3110_InitTimerWatchdog b_BoardHandle PA3110_TIMER 1000 PA3110_ENABLE 0 if i_PA3110_StartTimerWatchdog b_BoardHandle 0 while ui_TimerIntCpt 0 printf Receive timer interrupt i_PA3110_StopTimerWatchd...

Page 69: ...ne 0 ui_TimerIntCpt 0 if i_PA3110_InitTimerWatchdog b_BoardHandle PA3110_TIMER 1000 PA3110_ENABLE 0 if i_PA3110_StartTimerWatchdog b_BoardHandle 0 while ui_TimerIntCpt 0 printf Receive timer interrupt...

Page 70: ...e 0 ps_GlobalUserStruct ui_TimerIntCpt 0 if i_PA3110_InitTimerWatchdog b_BoardHandle PA3110_TIMER 1000 PA3110_ENABLE 0 if i_PA3110_StartTimerWatchdog b_BoardHandle 0 while ps_GlobalUserStruct ui_Timer...

Page 71: ...Return value 0 i_PA3110_InitTimerWatchdog Test watchdog Begin Test watchdog End i_PA3110_CloseBoardHandle Return value 0 i_PA3110_StartTimerWatchdog i_PA3110_StopTimerWatchdog 3 1 No 2 No 2 1 Loop i_P...

Page 72: ...000 PA3110_DISABLE 0 if i_PA3110_StartTimerWatchdog b_BoardHandle 0 i_PA3110_Write1AnalogValue b_BoardHandle 1 PA3110_UNIPOLAR 8192 do i_PA3110_ReadWatchdogStatus b_BoardHandle b_WatchdogSatus while b...

Page 73: ...ver 69 functions input channels 28 output channels 28 time multiplex system 29 installation 13 1 intended purpose 1 Internet error analysis 23 jumpers location 11 settings at delivery 11 limit values...

Reviews: