Page 1
DIN EN ISO 9001:2000 certified ADDI-DATA GmbH Dieselstraße 3 D-77833 OTTERSWEIER +49 (0)7223 / 9493 – 0 Technical description APCI-1500, CPCI-1500 Digital I/O board, optically isolated Edition: 12.08 - 01/2008...
Page 2
The user is not permitted to make changes to the product beyond the intended use, or to interfere with the product in any other way. ADDI-DATA shall not be liable for obvious printing and phrasing errors. In addition, ADDI DATA, if legally permissible, shall not be liable for personal injury or damage to materials caused by improper...
Page 3
WARNING The following risks result from improper implementation and from use of the board contrary to the regulations: ♦ Personal injury ♦ Damage to the board, PC and peripherals ♦ Pollution of the environment ♦ Protect yourself, the others and the environment! ♦...
Electromagnetic compatibility (EMC) ........12 Physical set-up of the board ..........12 Options .................. 13 Limit values................13 Component scheme.............. 16 INSTALLATION OF THE BOARD ........18 Installing the APCI-1500............18 5.1.1 Opening the PC ................18 5.1.2 Selecting a free slot ..............18 5.1.3 Plugging the board into the slot ...........19...
Page 5
8.2.3 Interrupt ..................38 8.2.4 Counter/timer ................39 Input frequencies ................ 40 Data .................... 40 Option (only implemented for the APCI-1500) ......40 STANDARD SOFTWARE ..........41 Introduction ................41 Software functions..............42 9.2.1 Base address and interrupt............42 i_APCI1500_InitCompiler (..) ............42 i_APCI1500_CheckAndGetPCISlotNumber (...) ......
Page 7
Figures and Tables Figures Fig. 3-1: Correct handling of the CPCI-1500 ........11 Fig. 3-2: Correct handling of the APCI-1500 ........11 Fig. 4-1: Component scheme of the APCI-1500 ......16 Fig. 4-2: Component scheme of the CPCI-1500 ......17 Fig.
DEFINITION OF APPLICATION Intended use The APCI-1500 board must be inserted in a PC with PCI 5V/32-bit slots which is used as electrical equipment for measurement, control and laboratory pursuant to the norm EN 61010-1 (IEC 61010-1). The used personal computer (PC) must fulfil the requirements of IEC 60950-1 or EN 60950-1 and 55022 or IEC/CISPR 22 and EN 55024 or IEC/CISPR 24.
Page 9
APCI-/CPCI-1500 Definition of Application metallized plastic hoods shielded cable cable shield folded back and firmly screwed to the connector housing. The use of the board according to its intended purpose includes observing all advises given in this manual and in the safety leaflet. Uses beyond these specifications are not allowed.
User APCI-/CPCI-1500 USER Qualification Only persons trained in electronics are entitled to perform the following works: installation use, maintenance. Country-specific regulations Consider the country-specific regulations about: the prevention of accidents electrical and mechanical installations radio interference suppression.
European EMC directive for an industrial environment are complied with. The respective EMC test report is available on request. Physical set-up of the board The board is assembled on a 4-layer printed circuit card. APCI-1500 CPCI-1500 131 mm Dimensions 100 mm...
Storage temperature: ........-25 to + 70°C Relative humidity at indoor installation 50% at +40 °C 80% at +31 °C Minimum PC requirements (APCI-1500): - PCI BIOS - operating system: ........MS DOS 3.3 or > Windows 3.1, NT, 95, 98 - bus speed: ..........
Page 14
Max. output current / output channel: ..500 mA Short-circuit current / output channel at 24 V, APCI-1500: R load < 0,1 R: ....1,5 A max. (switches off the output channel) CPCI-1500: R load < 0,01 R: ....2,5 A max. (switches off the...
Page 15
Times from 10 μs to 37 s are available. Counter input channels: ......max. 10 kHz, 24 V APCI-1500 Option: fast counter input channels: ..max. 140 kHz, 24 V CPCI-1500 Status LEDs on front connector: Green LED on: ..........
INSTALLATION OF THE BOARD IMPORTANT! Do observe the safety precautions (yellow leaflet)! Installing the APCI-1500 5.1.1 Opening the PC ♦ Switch off your PC and all the units connected to the PC ♦ Pull the PC mains plug from the socket.
APCI-/CPCI-1500 Installation of the board 5.1.3 Plugging the board into the slot ♦ Insert the board vertically into the chosen slot. Fig. 5-2: Inserting the board ♦ Fasten the board to the rear of the PC housing with the screw which was fixed on the back cover.
Installation of the board APCI-/CPCI-1500 Installing the CPCI-1500 The following Compact PCI slot types are available for 5V systems: CPCI-5V (32-bit) and CPCI-5V (64-bit) See in the computer manual which types of slots are free. Fig. 5-4: Types of slots for CompactPCI boards ♦...
APCI-/CPCI-1500 Installation of the board ♦ Make sure that the board is correctly connected by connecting the key of the board to the key of the backplane (blue key connectors if the board operates with 5 V) Fig. 5-6: Connector keying ♦...
Software APCI-/CPCI-1500 SOFTWARE In this chapter you will find a description of the delivered software and its possible applications. IMPORTANT! Further information for installing and uninstalling the different drivers is to be found in the delivered description "Installation instructions for the PCI and ISA bus". A link to the corresponding PDF file is available in the navigation pane (Bookmarks) of Acrobat Reader.
ADDIREG program. 6.1.1 Program description IMPORTANT! Insert the ADDI-DATA boards to be registered before starting the ADDIREG program. If the board is not inserted, the user cannot test the registration. Once the program is called up, the following dialog box appears.
Page 24
Selected base address of the board. For PCI boards the base address is allocated through BIOS. Access: Selection of the access mode for the ADDI-DATA digital boards. Access in 8-bit or 16-bit or 32-bit mode. PCI bus/device/(slot): Number of the used PCI bus, slot, and device. If the board is no PCI board, the message "NO"...
APCI-/CPCI-1500 Software Buttons: Edit: Selection of the highlighted board with the different parameters set in the text boxes. Insert: When you want to insert a new board, click on "Insert". The following dialog window appears: Fig. 6-2: Configuring a new board All boards you can register are listed on the left.
Software APCI-/CPCI-1500 More information (not available for the boards with ADDIPACK) You can change the board specific parameters like the identifier string, the COM number, the operating mode of a communication board, etc... If your board does not support these information, you cannot activate this button. Fig.
APCI-/CPCI-1500 Software 6.1.2 Registering a new board IMPORTANT! To register a new board, you must have administrator rights. Only an administrator is allowed to register a new board or change a registration. ♦ Call up the ADDIREG program. The Fig. 6-1 is displayed on the screen. ♦...
ADDIREG program and directly begin with your application. Questions and software downloads on the web Do not hesitate to e-mail us your questions. per e-mail: info@addi-data.de hotline@addi-data.de Free downloads of standard software You can download the latest version of the software for the board APCI-/CPCI-1500.
APCI-/CPCI-1500 Connecting the peripheral CONNECTING THE PERIPHERAL Connector pin assignment Fig. 7-1: 37-pin SUB-D male connector Connection principle Fig. 7-2: Connection principle of the input and output channels...
APCI-/CPCI-1500 Connecting the peripheral Fig. 7-4: Connection to the screw terminal panel IMPORTANT! Insert the FB on the connector with the red cable lead on the side of the pin 1.
Functions of the board APCI-/CPCI-1500 FUNCTIONS OF THE BOARD Description of the board 8.1.1 Block diagram Fig. 8-1: Block diagram of the APCI-1500 Fig. 8-2: Block diagram of the CPCI-1500...
APCI-/CPCI-1500 Functions of the board The board APCI-/CPCI-1500 is intended for parallel input/output for digital signals in 24 V industrial environment. The peripheral and the system have a simultaneous optical isolation. The board offers: 16 digital inputs: 14 are interruptible. 3 counters (or timers): programmable by software 1 timer: can be used as a watchdog for the outputs.
Functions of the board APCI-/CPCI-1500 WARNING! Do you operate all inputs with the same voltage supply? The voltage supply must deliver at least 16 x 6 = 96 mA. The maximum input voltage is 30 V. Transil diodes, Z diodes, C filters and optical couplers protect the system bus from noise emitted by the peripheral.
APCI-/CPCI-1500 Functions of the board Example: Port 1 (digital inputs 1-8), AND-logic Event for generating an interrupt: Digital input 8 7 6 5 4 3 2 1 Event mask 3 X 1 0 0 1 0 1 The following events generate an interrupt: Inputs 2 and 4 and 5 = 0 V Inputs 1 and 3 and 6 = 24 V Input 8 = rising edge...
Functions of the board APCI-/CPCI-1500 interrupt will be generated because the OR-event is not fulfilled Counter Counter 1: Input 14 signal input Counter 2: Input 10 signal input Input 11 can be used for a "trigger" function Input 12 can be used for a "gate" function. Counter 3 Input 15 signal input Input 16 can be used as a "gate"...
APCI-/CPCI-1500 Functions of the board 8.2.2 Digital outputs The board supplies 16 optically isolated outputs. The outputs comply with the 24 V industry standard (IEC1131-2): The positive logic is used logic "1": sets the output by software (switch on ON), logic "0": resets the output (switch on OFF).
Functions of the board APCI-/CPCI-1500 Special functions 2 diagnostic bits are available on the board. ϑ -diagnostic (Pin 19 on the front connector) is released: - when short-circuit has occurred on an output or - in case of overtemperature on an output component (8 channels). The V -diagnostic informs that: - the external voltage supply has dropped <...
APCI-/CPCI-1500 Functions of the board The interrupt source information are available on the user program through an interrupt routine See API functions: i_APCI1500_SetBoardIntRoutineXX, i_APCI1500_ResetBoardIntRoutine. An event indicates a change of status (level): - on an input (ex. "0" 1") - or on several inputs if a logic has been defined between the inputs. Running-down: if the counter changes from 1 8.2.4 Counter/timer On the board three 16-bit counters/timers are available in the component Z8536...
3.49 kHz 1.14 ms 74.9 s 1.747 kHz Option (only implemented for the APCI-1500) The counter input channels 1, 2 and 3 can be equipped with fast optical couplers. The maximum input frequency is then 140 kHz. (Standard frequency: 10 kHz)
APCI-/CPCI-1500 Standard software STANDARD SOFTWARE Introduction Table 9-1: Type Declaration for Dos and Windows 3.1X Borland C Microsoft C Borland Microsoft Microsoft Pascal Visual Basic Visual Basic Windows VOID void void pointer BYTE unsigned char unsigned char byte integer integer integer integer integer...
Standard software APCI-/CPCI-1500 Software functions Remark: The CPCI-1500 board is entirely compatible with the APCI-1500 board regarding the software installation and the device driver. The program ADDIREG will thus make no difference between the systems (PCI board or Compact PCI board).
= i_APCI1500_CheckAndGetPCISlotNumber (b_SlotNumberArray); Return value: Returns the number of xPCI-1500 boards which are inserted in your PC. If the return value equals 0 then no xPCI-1500 board was found in your PC. Common designation for the boards APCI-1500 and CPCI-1500...
Standard software APCI-/CPCI-1500 i_APCI1500_SetBoardInformation (...) Syntax: <Return value> = i_APCI1500_SetBoardInformation (BYTE b_SlotNumber, PBYTE pb_BoardHandle) Parameters: - Input: BYTE b_SlotNumber: Slot number of the xPCI-1500 board - Output: PBYTE pb_BoardHandle: Handle of board xPCI-1500 for using the functions Task: Checks if the board xPCI-1500 is present and stores the slot number. A handle is returned to the user which allows to use the following functions.
Standard software APCI-/CPCI-1500 i_APCI1500_CloseBoardHandle (..) IMPORTANT! Call up this function each time you want to leave the user program! Syntax: <Return value> = i_APCI1500_CloseBoardHandle (BYTE b_BoardHandle) Parameters: - Input: BYTE b_BoardHandle Handle of board xPCI-1500 - Output: No output signal has occurred. Task: Releases the board handle.
APCI-/CPCI-1500 Standard software 9.2.2 Interrupt IMPORTANT! This function is only available for C/C++ and Pascal for DOS. i_APCI1500_SetBoardIntRoutineDos (..) Syntax: <Return value> = i_APCI1500_SetBoardIntRoutineDos (BYTE b_BoardHandle, VOID v_FunctionName (BYTE b_BoardHandle, BYTE b_InterruptMask BYTE b_InputChannelNbr)) Parameters: - Input: BYTE b_BoardHandle Handle of board xPCI-1500 VOID v_FunctionName Name of the user interrupt routine...
Standard software APCI-/CPCI-1500 The following errors are possible - overtemperature - short-circuit - no voltage is available If several boards are operated and if they have to react to interrupts, the variable b_BoardHandle returns the identification number (handle) of the board which has generated the interrupt.
Page 49
APCI-/CPCI-1500 Standard software Calling convention: ANSI C : void v_FunctionName (unsigned char b_BoardHandle, unsigned char b_InterruptMask, unsigned int b_InputChannelNumber) i_ReturnValue; unsigned char b_BoardHandle; i_ReturnValue = i_APCI1500_SetBoardIntRoutineDos (b_BoardHandle, v_FunctionName ); Return value: 0: No error -1: The handle parameter of the board is wrong -2: Interrupt already installed...
Standard software APCI-/CPCI-1500 IMPORTANT! This function is only available for Visual Basic DOS. i_APCI1500_SetBoardIntRoutineVBDos (..) Syntax: <Return value> = i_APCI1500_SetBoardIntRoutineVBDos (BYTE b_BoardHandle) Parameters: - Input: BYTE b_BoardHandle Handle of board xPCI-1500 - Output: No output signal has occurred. Task: This function must be called up for each xPCI-1500 on which an interrupt action is to be enabled.
Page 51
APCI-/CPCI-1500 Standard software Calling convention: Visual Basic DOS: Dim Shared i_ReturnValue As Integer Dim Shared i_BoardHandle As Integer Dim Shared i_InterruptMask As Integer Dim Shared l_InputChannelNbr As Integer IntLabel: i_ReturnValue = i_APCI1500_TestInterrupt (i_BoardHandle, _ i_InterruptMask, _ i_InputChannelNbr) Return ON UEVENT GOSUB IntLabel UEVENT ON i_ReturnValue = i_APCI1500_SetBoardIntRoutineVBDos (b_BoardHandle) Return value:...
Standard software APCI-/CPCI-1500 IMPORTANT! This function is only available for Windows 3.1 and Windows 3.11 i_APCI1500_SetBoardIntRoutineWin16 (..) Syntax: <Return value> = i_APCI1500_SetBoardIntRoutineWin16 (BYTE b_BoardHandle, VOID v_FunctionName (BYTE b_BoardHandle, BYTE b_InterruptMask, BYTE InputChannelNbr)) Parameters: - Input: BYTE b_BoardHandle Handle of board xPCI-1500 VOID v_FunctionName Name of the user interrupt routine...
Page 53
APCI-/CPCI-1500 Standard software The following errors are possible - overtemperature - short-circuit - no voltage is available If several boards are operated and if they have to react to interrupts, the variable b_BoardHandle returns the identification number (handle) of the board which has generated the interrupt.
Page 54
Standard software APCI-/CPCI-1500 IMPORTANT! If you use Visual Basic for Windows the following parameters have no signification. You must use "i_APCI1500_TestInterrupt". VOID v_FunctionName (BYTE b_BoardHandle, BYTE b_InterruptMask, BYTE b_InputChannelNbr) Calling convention: ANSI C : void v_FunctionName (unsigned char b_BoardHandle, unsigned char b_InterruptMask, unsigned char b_InputChannelNbr) i_ReturnValue;...
Page 56
Standard software APCI-/CPCI-1500 Task: WINDOWS 32-BIT INFORMATION For Windows NT and Windows 2000/9x, 4 running rings (ring 0 to ring 3) are available The user application operates in ring 3. This ring gives no access to hardware. VXD and SYS driver operate in ring 0 and give access to hardware. Ring 0 has no direct access to global variable from ring 3.
Page 57
APCI-/CPCI-1500 Standard software User interrupt routine can be called : - directly by the driver interrupt routine (Synchronous mode). The code of the user interrupt routine directly operates in ring 0. - by the driver interrupt thread (Asynchronous mode). An event is generated and the interrupt thread calls up the user interrupt routine.
Page 58
Standard software APCI-/CPCI-1500 Shared memory If you have selected the APCI1500_SYNCHRONOUS_MODE you cannot have access to global variables. But you have the possibility to create a shared memory (ppv_UserSharedMemory). The user shared memory can have all predefined compiler types or user define types. The variable ul_UserSharedMemorySize indicates the size in bytes of the selected user type.
Page 59
APCI-/CPCI-1500 Standard software IMPORTANT! If you use Visual Basic 4 the following parameters have not signification. You must used the "i_APCI1500_TestInterrupt" function BYTE b_UserCallingMode, ULONG ul_UserSharedMemorySize, VOID ** ppv_UserSharedMemory, VOID v_FunctionName (BYTE b_BoardHandle, BYTE b_InterruptMask, BYTE b_InputChannelNbr, BYTE b_UserCallingMode, VOID * pv_UserSharedMemory) Calling convention: ANSI C : typedef struct...
Page 60
Standard software APCI-/CPCI-1500 i_ReturnValue = i_APCI1500_SetBoardIntRoutineWin32 (i_BoardHandle, APCI1500_ASYNCHRONOUS_MODE, AddressOf v_FunctionName) Return value: 0: No error -1: The handle parameter of the board is wrong -2: Interrupt already installed -3: Calling mode selection of the user interrupt routine is wrong -4: No memory available for the user shared memory...
APCI-/CPCI-1500 Standard software i_APCI1500_TestInterrupt (..) Syntax: <Return value> = i_APCI1500_TestInterrupt (PBYTE pb_BoardHandle, PBYTE pb_InterruptMask, PBYTE pb_ChannelNbr) Parameters: - Input: No input signal is to occur. - Output: PBYTE pb_BoardHandle Handle of the board PCI-1500 which has generated the interrupt, PBYTE pb_InterruptMask Error mask of the event which has generated the interrupt.
APCI-/CPCI-1500 Standard software 9.2.3 Kernel functions i_APCI1500_KRNL_Read16DigitalInput (...) Syntax: <Return value> = i_APCI1500_KRNL_Read16DigitalInput (UINT ui_BaseAddress, PLONG pl_InputValue) Parameters: - Input: UINT ui_BaseAddress xPCI-1500 base address - Output: PLONG pl_InputValue State of the digital input channels of both ports (0 to 65535) Task: Indicates the state of both ports.
Standard software APCI-/CPCI-1500 v_APCI1500_KRNL_Set16DigitalOutputOn (...) Syntax: <Return value> = v_APCI1500_KRNL_Set16DigitalOutputOn (UINT ui_BaseAddress, LONG l_Value) Parameters: - Input: UINT ui_BaseAddress xPCI-1500 base address LONG l_Value Output value (0 to 65535) - Output: No output signal has occurred. Task: Sets one or several output channels of board xPCI-1500 Example: l_Value = 5555 Hex The output channels 1, 3, 5, 7, 9, 11, 13, 15 are set.
APCI-/CPCI-1500 Standard software 9.2.4 Digital input channel i_APCI1500_Read1DigitalInput (...) Syntax : <Return value> = i_APCI1500_Read1DigitalInput (BYTE b_BoardHandle, BYTE b_Channel, PBYTE pb_ChannelValue) Parameters: BYTE b_BoardHandle Handle of board xPCI-1500 BYTE b_Channel The number of the input channel to be read (1 to 16) PBYTE pb_ChannelValue State of the digital input channel:...
Standard software APCI-/CPCI-1500 Example: b_Port = 1 pb_PortValue = 55 Hex A voltage is present on the input channels 1, 3, 5, 7 A voltage is not present on the input channels 2, 4, 6, 8. Return value: 0: No error -1: Handle parameter of the board is wrong -2: The parametered port number is wrong (parameter 1 or 2) i_APCI1500_Read16DigitalInput (...)
APCI-/CPCI-1500 Standard software 9.2.5 Digital input channel - events i_APCI1500_SetInputEventMask (...) Syntax: <Return value> = i_APCI1500_SetInputEventMask (BYTE b_BoardHandle, BYTE b_PortNbr, BYTE b_Logik, PCHAR pc_EventMask) Parameters: BYTE b_BoardHandle Handle of board xPCI-1500 BYTE b_Port Number of the input port to be masked (1 or 2) BYTE b_Logik Event logic...
Page 68
Standard software APCI-/CPCI-1500 An event is a change of state (ex. Low high) on one or several input channels if an AND/OR/OR_PRIORITY logic has been defined. Examples: Example 1: b_PortNbr b_Logik = APCI1500_AND pc_EventMask = "3X100101" An event is generated: - when the input channels 2, 4 and 5 are on "0".
APCI-/CPCI-1500 Standard software i_APCI1500_StartInputEvent (...) Syntax : <Return value> = i_APCI1500_StartInputEvent (BYTE b_BoardHandle, BYTE b_PortNbr) Parameters: BYTE b_BoardHandle Handle of the xPCI-1500 BYTE b_Port Number of the input port (1 or 2) Task: As soon as the function is called, it is possible to process an event on one port. First mask the input channels with the following function i_APCI1500_SetInputEventMask .
Standard software APCI-/CPCI-1500 9.2.6 Digital output channel i_APCI1500_SetOutputMemoryOn (...) Syntax: <Return value> = i_APCI1500_SetOutputMemoryOn (BYTE b_BoardHandle) Parameters: BYTE b_BoardHandle Handle of the xPCI-1500 Task: Activates the digital output memory. After calling this function, the output channels you have previously activated with the functions "i_APCI1500_SetXDigitalOutputOn"...
APCI-/CPCI-1500 Standard software i_APCI1500_Set1DigitalOutputOn (...) Syntax: <Return value> = i_APCI1500_Set1DigitalOutputOn (BYTE b_BoardHandle, BYTE b_Channel) Parameters: BYTE b_BoardHandle Handle of the xPCI-1500 BYTE b_Channel Number of the output channel you want to set (1 to 16) Task: Sets the output channel which has been passed with b_Channel. Setting an output channel means setting an output channel on high.
Standard software APCI-/CPCI-1500 Return value: 0: No error -1: The handle parameter of the board is wrong -2: The input number is not between 1 and 16 -3: Digital output memory OFF. First use the function "i_APCI1500_SetOutputMemoryOn" i_APCI1500_Set8DigitalOutputOn (...) Syntax: <Return value>...
APCI-/CPCI-1500 Standard software i_APCI1500_Set8DigitalOutputOff (...) Syntax: <Return value> = i_APCI1500_Set8DigitalOutputOff (BYTE b_BoardHandle, BYTE b_Port, BYTE b_Value) Parameters: BYTE b_BoardHandle Handle of the xPCI-1500 BYTE b_Port Number of the output port (1 or 2) BYTE b_Value Output value (0 to 255) Task: Resets one or several output channels of one port.
Standard software APCI-/CPCI-1500 v_APCI1500_Set16DigitalOutputOn (...) Syntax: <Return value> = v_APCI1500_Set16DigitalOutputOn (BYTE b_BoardHandle, LONG l_Value) Parameters: BYTE b_BoardHandle Handle of the xPCI-1500 LONG l_Value Output value (0 to 65535) Task: Sets one or several output channels of board xPCI-1500 Example: Switching on the digital output memory (ON) see function "i_APCI1500_SetOutputMemoryOn (...) l_Value = 5555 Hex The output channels 1, 3, 5, 7, 9, 11, 13, 15 are set.
APCI-/CPCI-1500 Standard software v_APCI1500_Set16DigitalOutputOff (...) Syntax: <Return value> = v_APCI1500_Set16DigitalOutputOff (BYTE b_BoardHandle, LONG l_Value) Parameters: BYTE b_BoardHandle Handle of the xPCI-1500 LONG l_Value Output value (0 to 65535) Task: Resets one or several output channels of board xPCI-1500. Example: l_Value = 5555 Hex The output channels 1, 3, 5, 7, 9, 11, 13, 15 are reset.
Standard software APCI-/CPCI-1500 IMPORTANT! The timer component internally operates with half of the input frequency. Task: Selects the input clock timing for all timers Return value: 0: No error -1: The handle-parameter of the board is wrong -2: The parameter for selecting the input clock is wrong i_APCI1500_InitTimerCounter1 (...) Syntax: <Return value>...
APCI-/CPCI-1500 Standard software Task: Selects the operating mode of the first counter/timer. The user enters its start value. You have to decide: - if the counter/timer must execute once or several times the counting operation, - if the counter/timer is used as a counter or a timer, - and if an interrupt must be generated when the counter/timer has run down.
Page 78
Standard software APCI-/CPCI-1500 BYTE b_HardwareOrSoftwareTriggerSelect: - APCI1500_HARDWARE_TRIGGER: The input 12 is used for the trigger. If this input channel is on high, the start value is re-loaded. - APCI1500_SOFTWARE_TRIGGER: Input 12 has no influence on the trigger BYTE b_HardwareOrSoftwareGateSelect: - APCI1500_HARDWARE_GATE: The input 13 is used for the gate.
APCI-/CPCI-1500 Standard software i_APCI1500_InitWatchdogCounter3 (...) Syntax: <Return value> = i_APCI1500_InitWatchdogCounter3 (BYTE b_BoardHandle, BYTE b_WatchdogOrCounterSelect, LONG l_ReloadValue, BYTE b_ContinuousOrSingleCycleSelect, BYTE b_HardwareOrSoftwareGateSelect, BYTE b_InterruptHandling) Parameters: BYTE b_BoardHandle Handle of the xPCI-1500 BYTE b_WatchdogOrCounterSelect Selects the mode of the third counter/watchdog - APCI1500_WATCHDOG: The third counter/watchdog is used as a watchdog.
Standard software APCI-/CPCI-1500 Return value: No error -1: The handle parameter of the board is wrong -2: The parameter for selecting the counter or the timer is wrong (APCI1500_COUNTER or APCI1500_WATCHDOG) -3: Interrupt selection error (APCI1500_ENABLE or APCI1500_DISABLE) -4: User interrupt routine is not installed -5: Cycle parameter is wrong (APCI1500_CONTINUOUS or APCI1500_SINGLE) -6: Gate parameter is wrong (APCI1500_SOFTWARE_GATE or...
APCI-/CPCI-1500 Standard software i_APCI1500_StartCounter3 (...) Syntax: <Return value> = i_APCI1500_StartCounter3 (BYTE b_BoardHandle) Parameters: BYTE b_BoardHandle Handle of the xPCI-1500 Task: Starts the third counter. Please initialise it previously with the function "i_APCI1500_InitWatchdogCounter3". Return value: 0: No error -1: The handle parameter of the board is wrong -2: Counter has not been initialised -3: The counter/watchdog has been initialised as a watchdog.
Standard software APCI-/CPCI-1500 i_APCI1500_StopTimerCounter2 (...) Syntax: <Return value> = i_APCI1500_StopTimerCounter2 (BYTE b_BoardHandle) Parameters: BYTE b_BoardHandle Handle of the xPCI-1500 Task: Stops the second counter/timer. The timer counter value is freezed. Return value: 0: No error -1: The handle parameter of the board is wrong -2: The counter or timer has not been initialised.
APCI-/CPCI-1500 Standard software 12) i_APCI1500_TriggerTimerCounter2 (...) Syntax: <Return value> = i_APCI1500_TriggerTimerCounter2 (BYTE b_BoardHandle) Parameters: BYTE b_BoardHandle Handle of the xPCI-1500 Task: Triggers the second counter/timer. The start value is loaded in the counter/timer. Return value: 0: No error -1: The handle parameter of the board is wrong -2: The counter or timer has not been initialised.
Standard software APCI-/CPCI-1500 15) i_APCI1500_ReadTimerCounter1 (...) Syntax: <Return value> = i_APCI1500_ReadTimerCounter1 (BYTE b_BoardHandle, PLONG pl_ReadValue) Parameters: BYTE b_BoardHandle Handle of the xPCI-1500 PLONG pl_ReadValue This parameter has two meanings. When the counter/timer is used as a counter, it returns the current value of the counter. When the counter/timer is used as a timer, it returns the current value of the timer.
APCI-/CPCI-1500 Standard software Task: Reads the current value of the second counter/timer if used as a counter or reads the timer content if used as a timer. Counter: the counter value is decremented each time the input channel changes from low to high. This counter value can be read with this function. Timer: the timer value is decremented each time the input clock changes from low to high.
Glossary APCI-/CPCI-1500 GLOSSARY Table 10-1: Glossary Term Description A/D converter = ADC An electronic device that produces a digital output directly proportional to an analog signal output. Acquisition The process by which data is gathered by the computer for analysis or storage. The group of conductors that interconnect individual circuitry in a computer.
Page 87
APCI-/CPCI-1500 Glossary Inductive loads The voltage over the inductor is U=L.(dI/dt), whereas L is the inductivity and I is the current. If the current is switched on fast, the voltage over the load can become very highly for a short time. Input impedance The measured resistance and capacitance between the high and low inputs of a circuit.
Page 88
Glossary APCI-/CPCI-1500 PCI bus PCI bus is a fast local bus with a clock rate up to 33 MHz. This bus is used for processing a great number of data. The PCI bus is not limited like the ISA and EISA systems. = Programmable Logic Device Prorammable logic circuitry Protective circuitry...
Need help?
Do you have a question about the APCI-1500 and is the answer not in the manual?
Questions and answers