background image

APCI-3504 Standard 

software 

9.2

 

Software samples 

Table 9-2: Supported software samples for the APCI-3504 

Functionality Sample 

number 

Description 

Analog 

SAMPLE01 

Write 1 analog output value without synchronising. 

outputs 

SAMPLE02 

Write several analog output values without synchronising. 

Timer 

SAMPLE01 Initialise 

timer 

in mode2 without interrupt 

 

SAMPLE02 Initialise 

timer 

in mode2 with interrupt 

 

SAMPLE01 

Initialise and release software-trigger at key stroke. Start 1 
watchdog. Read status, once the watchdog has run down. Reset 
the watchdog and quit the program. 

Watchdog 

SAMPLE02 

Initialise and release software-trigger at key stroke. Start 1 
watchdog with interrupt. Wait till interrupt. Reset the watchdog 
and quit the program. 

 

SAMPLE03 

Initialise and start all watchdogs. Read status, once all 
watchdogs have run down. Reset all and quit the program. 
Hardware gate and trigger are not used. Warning and reset 
relays are not used. 

 

SAMPLE04 Initialise 

and start all watchdogs with interrupt.wait until 

interrupt. Reset all and quit the program. 
Hardware gate and trigger are not used. Warning and reset 
relays are not used. 

 

b_ADDIDATA_GetWatchdogInformationEx() is used.  
Initialise and release software trigger at key stroke.  
Start 1 watchdog. Read status once the watchdog has run down. 
Reset the watchdog and quit the program. 

SAMPLE05 

 

b_ADDIDATA_GetWatchdogInformationEx() is used. 
Initialise and release software trigger at key stroke.  
Start 1 watchdog with interrupt. Wait for interrupt. Reset the 
watchdog and quit the program. 

SAMPLE06 

 

 

 

33 

Summary of Contents for ADDIALOG APCI-3504

Page 1: ...N ISO 9001 2000 certified ADDI DATA GmbH Dieselstraße 3 D 77833 OTTERSWEIER Technical support 49 0 7223 9493 0 Technical description ADDIALOG APCI 3504 Analog output board for the PCI bus 5th edition 06 2005 ...

Page 2: ...only is protected by copyright Duplication of the information contained in the operating instructions and of any other product information or disclosure of this information for use by third parties is not permitted unless this right has been granted by the product licence issued Non compliance with this could lead to civil and criminal proceedings ADDI DATA software product licence Please read thi...

Page 3: ...cautions yellow leaflet If this leaflet is not with the documentation please contact us and ask for it Observe the instructions of the manual Make sure that you do not forget or skip any step We are not liable for damages resulting from a wrong use of the board Used symbols i IMPORTANT designates hints and other useful information WARNING It designates a possibly dangerous situation If the instruc...

Page 4: ...t scheme 14 5 INSTALLATION OF THE BOARD 16 5 1 Opening the PC 16 5 2 Selecting a free slot 16 5 3 Plugging the board into the slot 17 5 4 Closing the PC 17 6 SOFTWARE 18 6 1 Board registration 19 6 1 1 Installation of a new board 19 ADDevice Manager 20 6 1 2 Changing the registration of a board 21 Description of the ADDIREG program 21 Registration test 24 6 2 Questions and software downloads on th...

Page 5: ...nt Board and srew terminal board 26 Screw terminal assigment 27 8 FUNCTIONS OF THE BOARD 28 8 1 Block diagram 28 8 2 Analog outputs 28 8 2 1 Voltage outputs 29 8 2 2 Current outputs 30 8 3 Watchdog 30 8 4 Timer 30 9 STANDARD SOFTWARE 31 9 1 Software functions 31 9 2 Software samples 33 5 ...

Page 6: ...on program example 21 Fig 7 1 15 pin SUB D female connector BU1 25 Fig 7 2 Connection to the screw terminal board PX 9200 25 Fig 7 3 Layout of the screw terminal board PX 9200 26 Fig 7 4 Terminal assignment of the PX 9200 27 Fig 8 1 Block diagram of the APCI 3504 28 Fig 8 2 Reaction time of the analog outputs 29 Fig 8 3 Switching principle of the analog ground lines Voltage version 29 Fig 8 4 Swit...

Page 7: ...to 4 input channels in voltage or current version for processing analog signals An external 24 V supply voltage is necessary to run the output channels The PX 9200 screw terminal board allows to connect the external voltage supply signals through the ST3122 A cable The use of the APCI 3504 board in combination with external screw terminal or relay boards is to occur in a closed switch cabinet the ...

Page 8: ...3504 board is not to be used as safety related part for securing emergency stop functions The emergency stop functions are to be secured separately This securing must not be influenced by the board or the PC The installation of the board APCI 3504 in sites lying under risk of explosion is excluded Make sure that the board remains in its protective packing until it is used Do not remove or alter th...

Page 9: ... in electronics are entitled to perform the following works installation use maintenance 2 2 Personal protection Consider the country specific regulations about the prevention of accidents electrical and mechanical installations radio interference suppression 9 ...

Page 10: ...Handling of the board APCI 3504 3 HANDLING OF THE BOARD Fig 3 1 Correct handling 10 ...

Page 11: ...ntact air 4 8 kV 4 8 kV Fields 10 V m 10 V m Burst 4 kV 2 kV Conducted radio interferences 10 V 10 V 4 2 Physical set up of the board The board is assembled on a 4 layer printed circuit card Dimensions 168 mm 99 mm Weight approx 160 g Installation in 32 64 bit PCI slot 5 V Connection to the peripheral 2 SUB D HD female connectors 1 x 15 pin connector for the analog outputs Accessories1 Standard ca...

Page 12: ...ing system Windows NT 98 2000 XP Energy requirements External operation voltage 24 V 5 Maximum current consumption 5 V from the PC 560 mA 15 mA1 4 4 1 Voltage outputs Number of channels 4 analog outputs Output type single ended Resolution 12 bit Output voltage range 10 V to 10 V 1 LSB LSB 4 8828 mV Accuracy 11 bits Time to ready tr typ 4 5 µs Settling time tr settling time of the DAC typ 15 µs by ...

Page 13: ...ime tr settling time of the DAC typ 70 µs by 20 mA step Temperature drift max 10 ppm C Maximum load 500 Ω 4 4 3 Timer Timer depth 12 bit Time bases µs ms s Control period 1 to 4095 µs ms s Tolerance 1 µs ms s 4 4 4 Safety Voltage and current outputs Optical isolation to the PC 500 VDC min Voltage current after reset 0 V 0 mA Watchdog Watchdog depth 12 bit Time bases µs ms s Control period 1 to 409...

Page 14: ...Technical data APCI 3504 4 5 Component scheme Fig 4 1 Component scheme 14 ...

Page 15: ...APCI 3504 Technical data Fig 4 2 Component scheme solder side 15 ...

Page 16: ... your PC as described in the manual of the PC manufacturer 5 2 Selecting a free slot Insert the board in a free PCI 5V slot 32 bit Fig 5 1 PCI 5V slot 32 bit Remove the back cover of the selected slot according to the instructions of the PC manufacturer Keep the back cover You will need it if you remove the board Discharge yourself from electrostatic charges Take the board out of its protective bl...

Page 17: ...to the chosen slot Fig 5 3 Inserting the board Fasten the board to the rear of the PC housing with the screw which was fixed on the back cover Fig 5 4 Fastening the board at the back cover Tighten all the loosen screws 5 4 Closing the PC Close your PC as described in the manual of the PC manufacturer 17 ...

Page 18: ...98 The user can register all hardware information necessary to operate the ADDI DATA PC boards ADDIDRIVER contains API functions to operate the ADDI DATA boards in 32 bits ADDevice Manager configures the resources of the ADDI DATA virtual board See below ADDI DATA virtual board ADDI DATA software is based on the principle of a virtual board it transposes the different functions e g digital inputs ...

Page 19: ... board is recognised the following windows is displayed Fig 6 1 New inserted board Example The boards which have been removed from the PC since the last ADDIREG start are listed in the upper table The new inserted boards are listed in the lower table In case further information is required for the operation of the board click on More Information ADDevice Manager is started 19 ...

Page 20: ...resources Analog digital input output watchdog of the virtual board V software and the real board R board The following parameters are listed Module number Number of resources Index The first index line represents the number of the first resource left virtual resource right real board The second index line represents the number of the last resource left virtual resource right real board Type 24 V ...

Page 21: ...nce you have controlled the registration you can quit the window of ADDevice Manager The board is ready to operate 6 1 2 Changing the registration of a board You can change the current board configuration with ADDIREG Description of the ADDIREG program The program is automatically installed with ADDIPACK Starten Sie ADDIREG unter Start Programme ADDIPACK ADDIREG i IMPORTANT First quit all the appl...

Page 22: ...able if the board uses no DMA or if the board is no ISA board More information Additional information like the identifier string or the installed COM interfaces It also displays whether the board is programmed with ADDIDRIVER Text boxes Base address name Description of the used base addresses for the board Select a name through the pull down menu The corresponding address range is displayed in the...

Page 23: ...ou cannot activate this button ADDIDriver Board Manager Under Edit ADDIDriver Board Manager you can check or change the current settings of the board set through the ADDEVICE Manager ADDevice Manager starts and displays a list of all resources available for the virtual board Test registration Controls if there is a conflict between the board and other devices installed in the PC A message indicate...

Page 24: ...erated In case the registration data is to be modified it is necessary to boot your PC again A message asks you to do so When it is not necessary you can quit the ADDIREG program and directly begin with your application 6 2 Questions and software downloads on the web Do not hesitate to e mail us your questions per e mail info addi data de or hotline addi data de Free downloads of standard software...

Page 25: ...ING THE PERIPHERAL 7 1 Connector pin assignment Fig 7 1 15 pin SUB D female connector BU1 7 2 Connection to the screw terminal board PX 9200 7 2 1 Connection of the APCI 3504 to the PX 9200 Fig 7 2 Connection to the screw terminal board PX 9200 25 ...

Page 26: ...signment of the front connector BU1 of the board is identical to the assignment of the connector BU1 of the screw terminal board Connector assignment Board and srew terminal board Æ Board Description PX 9200 Description Æ Pin 1 Analog output 0 Pin 1 Analog output 0 Æ Pin 6 Analog output 0 GND Pin 6 Analog output 0 GND Æ Æ Pin 15 24 V current version Pin 15 24 V current version 26 ...

Page 27: ...APCI 3504 Connecting the peripheral Screw terminal assigment Fig 7 4 Terminal assignment of the PX 9200 27 ...

Page 28: ...dresses A stauts bit DAC ready indicates if the analog output channels are ready to be updated The time Time to ready see figure below between the write operations on I O addresses DAC registers and the update of the analog outputs amounts typically 4 5 µs Further accesses on the DAC registers are not handled within this interval The time between the writing of a software command and the reaching ...

Page 29: ...rd Fig 8 2 Reaction time of the analog outputs 8 2 1 Voltage outputs The analog output channels are set to a 0 V voltage value after Power ON Reset of the PC Fig 8 3 Switching principle of the analog ground lines Voltage version 29 ...

Page 30: ...directly through software command without setting the analog outputs anew The operation status can be read back 3 different clock signals are available as time base for the watchdog See 4 4 Limit values 8 4 Timer The 12 bit timer is a down counter which can generate an interrupt after the reload value has run down timeout Through timer a time base can be defined independently from the PC clock and...

Page 31: ...tineWin32 Interrupt b_ADDIDATA_TestInterrupt b_ADDIDATA_ResetFunctionalityIntRoutine Error i_ADDIDATA_GetLastError b_ADDIDATA_EnableErrorMessage b_ADDIDATA_DisableErrorMessage b_ADDIDATA_FormatErrorMessage Timer b_ADDIDATA_GetNumberOfTimers b_ADDIDATA_GetTimerInformation b_ADDIDATA_InitTimer b_TimerMode mode 2 available b_TimerTimeUnit 1 µs 2 ms 3 s dw_ReloadValue Min 0 Max 4095 b_ADDIDATA_EnableD...

Page 32: ...atchdog Analog b_ADDIDATA_GetNumberOfAnalogOutputs b_ADDIDATA_GetAnalogOutputInformation outputs b_ADDIDATA_Init1AnalogOutput b_VoltageMode Min 0 Bipolar 10V Max 1 Unipolar 0 10V b_Polarity 2 Bipolar Only with b_VoltageMode Mode 0 1 Unipolar Only with b_VoltageMode Mode 1 b_ADDIDATA_InitMoreAnalogOutputs see b_ADDIDATA_Init1AnalogOutput b_ADDIDATA_Write1AnalogOutput dw_ValueToWrite Min 0 Max 4095 ...

Page 33: ...errupt Wait till interrupt Reset the watchdog and quit the program SAMPLE03 Initialise and start all watchdogs Read status once all watchdogs have run down Reset all and quit the program Hardware gate and trigger are not used Warning and reset relays are not used SAMPLE04 Initialise and start all watchdogs with interrupt wait until interrupt Reset all and quit the program Hardware gate and trigger...

Reviews: