Page 1
Should you have any questions that you do not find in the manual or on our website (http://www.addi-data.com) please contact us by phone or e-mail. ADDI-DATA GmbH • Dieselstr. 3 • D-77833 Ottersweier • Phone +49(0)72 23 / 94 93-0 • Fax: +49(0)72 23 / 94 93-92 E-mail: info@addi-data.com...
Page 3
Read carefully this licence before using the standard software. The right for using this software is given to the customer, if he/she agrees to the conditions of this licence. this software can only be used for configuring ADDI-DATA boards. copying the software is forbidden (except for archiving/ saving data and for replacing defective data carriers).
Page 4
WARNING In case of wrong uses and if the board is not used for the purpose it is intended: ♦ people may be injured, ♦ the board, PC and peripheral may be destroyed, ♦ the environment may be polluted ♦ Protect yourself, the others and the environment! ♦...
AVAILABLE FUNCTIONS OF THE APCI-1710..20 Available signals............20 5.1.1 Connectable signal lines............. 20 5.1.2 Maximal signal wirings of the APCI-1710 ......20 Available functions............21 5.2.1 Programmable functions of the counter board ....21 5.2.2 Connection facilities depending on the chosen function ... 22 5.2.3...
Page 6
Loading a function into a function module....31 7.3.1 Module configuration with SET1710 ........32 7.3.2 Setting a module configuration........... 34 ADDI-DATA on the internet ..........35 CONNECTING THE PERIPHERAL......36 Connector pin assignment..........36 8.1.1 50-pin SUB-D front connector ST1......... 36 8.1.2 24 V supply for 24 V digital outputs (channel H)....
Page 8
Fig. 9-3: Basic circuit of the differential inputs (5 V)......49 Fig. 9-4: Basic circuit of the differential inputs 5 V; used as TTL inputs49 Fig. 9-5: Basic circuit of the 24 V inputs (APCI-1710-24V) ....49 Fig. 9-6: Basic circuit of the digital inputs 24 V ......... 50 Fig.
Page 9
Contents APCI-1710 Table 5-7: Delivered manuals ............22 Table 8-1: Pin assignment for function module No. 1 (FM1) ..... 37 Table 8-2: Pin assignment for function module No. 2 (FM2) ..... 37 Table 8-3: Pin assignment for function module No. 3 (FM3) ..... 38 Table 8-4: Pin assignment for function module No.
IEC 61010-1. Usage restrictions The board APCI-1710 must not to be used as safety related part for securing emergency stop functions. The board APCI-1710 must not be used in potentially explosive atmospheres.
Page 11
7 x 24 V inputs (signals A to G) 1 x 24 V output (signal H) The use of the board APCI-1710 in combination with external screw terminal panels or relay boards is to occur in a closed switch cabinet. Check the shielding capacity of the PC housing and of the cable prior to putting the device into operation.
APCI-1710 User USER Qualification Only persons trained in electronics are entitled to perform the following works: installation maintenance Personal protection Consider the country-specific regulations about: the prevention of accidents electrical and mechanical installations radio interference suppression.
APCI-1710 Technical data TECHNICAL DATA Electromagnetic compatibility (EMC) The board has been subjected to EMC tests in an accredited laboratory. The board complies with the limit values set by the norms IEC61326 as follows: True value Set value ESD (Discharge by contact/air) ....4/8 kV 4/8 kV Fields ............
Technical data APCI-1710 Versions The board APCI-1710 is available in the following two versions: Version Format Onboard Options function modules APCI-1710 5 V inputs (mass-related) Digital 5 V outputs APCI-1710-24V Limit values Max. altitude: ..........2000 m Operating temperature: ......0 to 60°C Storage temperature: .........
APCI-1710 Technical data 4.4.1 Inputs Number of inputs: ........28 Input type: Differential inputs or rather TTL ....16 Mass-related inputs ........12 APCI-1710 Differential inputs, 5 V Fulfils the EIA standard RS485 Nominal voltage:........5 VDC Common-mode range:........+12/-7 V Max. differential voltage:......± 12 V Input sensitivity:.........200 mV...
Technical data APCI-1710 APCI-170-24 V 24 V inputs (channels A to G). This board version is especially designed for 24 V – encoders designed. On the inputs only 24 V signals can be connected. Nominal voltage:........24 VDC/11 mA Max. input frequency:...
Page 18
ON resistance): ........0.4 R max. Overtemperature:........170 °C (all outputs switch off) APCI-1710, 24 V The inputs/outputs A to B can be used only as inputs, i.e. that the function PWM and digital I/O (not all as inputs) cannot be used with this board.
Technical data APCI-1710 4.4.3 Safety Optical isolation (DIN VDE 0411-100): .......1000 V (from the PC to the external periphery) Logic: ............positive Creeping distance:........3.2 mm on the printed board...
24 V version (APCI-1710-24V): 7 x 24 V inputs (signals A to G) 1 x 14 V output, TTL optional (signal H) 5.1.2 Maximal signal wirings of the APCI-1710 Table 5-1: Maximal input lines on the board Inputs Available outputs...
APCI-1710 Available functions of the APCI-1710 Table 5-4: Maximal output lines on a module Outputs Available inputs 3 output lines Of them are - 2 differential and - 1 x 24 V output Available functions 5.2.1 Programmable functions of the counter board...
Available functions of the APCI-1710 APCI-1710 5.2.2 Connection facilities depending on the chosen function Table 5-6: Maximal application functions on the board Application On the board Per function Programmed module function Incremental encoder 4 (32-bit counter 1 (32-bit) Incremental depth)
APCI-1710 Installation of the board INSTALLATION OF THE BOARD IMPORTANT! Do observe the safety precautions! Opening the PC ♦ Switch off your PC and all the units connected to the PC ♦ Pull the PC mains plug from the socket.
Installation of the board APCI-1710 Plugging the board into the slot ♦ Insert the board vertically into the chosen slot. Fig. 6-2: Inserting the board ♦ Fasten the board to the rear of the PC housing with the screw which was fixed on the back cover.
- Standard software for the ADDI-DATA board: SET1719 program for the configuration of the function modules - All functions that are implemented for the APCI-1710. In this chapter you will find a description of the delivered software and its possible applications.
Base address: Chosen base address of the board. Access: Selection of the access mode of the ADDI-DATA digital boards. Access in 8-bit or in 16-bit. PCI slot: Used PCI slot. If the board is no APCI board appears “NO”.
Page 28
APCI-1710 Software Shows the selected DMA channel or “Not available” if the board do not use one. More information: Further information is shown by the dialog box, for example the sign chain for the identifier (e.g. PCI1500-50) or the installed COM interfaces. If the board is programmed with ADDIDRIVER this will be shown.
Software APCI-1710 Fig. 7-2: Configuration of a new board On the left side you can see all the boards that you can register. Please click on the selected board (the respecting line will be highlighted). On the right side of the box you can see some technical specifications about the board.
Under Edit/ADDIDriver Board Manager you can check or modify the current settings of the board set through the ADDEVICE Manager. ADDevice Manager starts and displays a list of all resources available of the virtual board. As the APCI-1710 is not programmed with ADDIPACK, this button is deactivated. Save: Saves the parameter and registrates the board.
Software APCI-1710 7.2.1 Registration of a new board IMPORTANT! For the registration of a new board you need administrator right. Only an administrator is allowed to record a new board or modify an already existing registration. ♦ Call up the ADDIREG program.
The functions are programmed once and separate for each function module through “SET1710.exe”, which is delivered with the board. After the PC’s new start the board APCI-1710 is operable. The user also can set the configuration of the modules through the software...
Software APCI-1710 7.3.1 Module configuration with SET1710 IMPORTANT! Firstly, set the board with the registration program ADDIREG under Windows XP/NT/2000/98 before configuring the function modules with the program SET1710. Fig.7-4: SET1710: Configuration program for modules Fig. 7-5: Selection of a APCI-/CPCI-170 Under “About”...
Software Fig. 7-6: General information Quit with “Exit” the SET1710 program. After having selected the APCI-1710 the following box is displayed: Fig. 7-7: Function list and module configuration Function list: In this box all available module functions are listed. Each function will be set in a configuration file into the directory CFG.
Software APCI-1710 Description: Description of the functions that are selected in the list. The version of the function, the update description and any other information about the module function is listed in this field. Configure: Programs the APCI-/CPCI-1710 with the current module configuration.
APCI-1710 Software Fig. 7-9: Setting a module configuration by keyboard Confirm the required module with “OK”. ADDI-DATA on the internet Do not hesitate to e-mail us your questions. E-mail: info@addi-data.de or hotline@addi-data.de Free downloads of standard software You can download the driver for your board from the internet: www.addi-data.com...
Connecting the peripheral APCI-1710 CONNECTING THE PERIPHERAL IMPORTANT! Interferences are emitted and inserted through the connection cable. Therefore, a wrong cable may endanger the operation and function safety of your system. ♦ Use our standard connection cable. ♦ During placing the connection cable observe the following:...
Page 38
24 V 24 V Digital Input 24 V 24 V On the 24 V signals (APCI-1710-24 V) only inputs can be connected Ax-, Bx-, Cx-, Dx- pins do not have a function on the 24 V board (see Fig. 9-5)
Page 39
Connecting the peripheral APCI-1710 Table 8-3: Pin assignment for function module No. 3 (FM3) Description Input/Output APCI-1710 APCI-1710-24 V Input/Output Diff. / TTL 24 V input Input/Output Diff. / TTL - Input/Output Diff. / TTL 24 V input Input/Output Diff. / TTL - Input Diff.
APCI-1710 Connecting the peripheral 8.1.2 24 V supply for 24 V digital outputs (channel H) WARNING! Pin 34 of the front connector has a double assignment function. If you do not connect Pin 34 correctly, your board can be destroyed.
Connecting the peripheral APCI-1710 8.1.3 50-pin ribbon cable connector ST5 Fig. 8-3: Position of the connector ST5 on the board Fig. 8-4: Pin assignment of the ribbon cable connector...
Page 42
APCI-1710 Connecting the peripheral Table 8-7: Description of the pin assignment Pin no. at Pin no. at the con- Name Description FB8001 nector TTL, input or output; after reset: input PC GND, without isolation TTL, input or output; after reset: input PC GND, without isolation TTL, input or output;...
Connecting the peripheral APCI-1710 TTL, input or output; after reset: output, FM2 TTL, input or output; after reset: output, FM2 TTL, input or output; after reset: output, FM1 TTL, input or output; after reset: output, FM1 PA, PB and PC : Pullup on 5 V Serial resistance 100 Ω, PD...
APCI-1710 Connecting the peripheral Fig. 8-6: Connection of a mass-related output Connection of the differential digital I/O Fig. 8-7: Connection of a differential input...
FUNCTIONS OF THE BOARD Description The APCI-1710 is an extension board for the PCI bus and it is compatible with the PCI specification 2.1.. The board is used for the processing of digital signals with focus on “counting and time measurement”.
- 1 x 24 V, TTL optional (signal H) Free definable lines (input or output) -2 x TTL, RS422 (signals A, B) APCI-1710-24 V - 7 x 24 V inputs (signals A to G) - 1 x 24 V output, TTL optional (signal H)
Functions of the board APCI-1710 Fig. 9-2: Block diagram of the digital inputs and outputs (1 function module) 9.2.2 Inputs The inputs are distinguished as follows: - differential inputs for very fast signals - mass-related inputs Differential inputs Max. 4 differential inputs (A, B, C and D) are available for each “function module”.
Fig. 9-4: Basic circuit of the differential inputs 5 V; used as TTL inputs In version APCI-1710-24 the differential inputs (A to D) are individually designed for the connection to a 24 V impulse transmitter / signal transmitter.
Functions of the board APCI-1710 These inputs have a common ground line. Fig. 9-6: Basic circuit of the digital inputs 24 V These inputs can be delivered on request for another signal level (option). Fig. 9-7: Basic circuit of the digital inputs 5 V (OPTION) 9.2.3 Outputs...
APCI-1710 Functions of the board Fig. 9-8: Basic circuit of the digital outputs 5 V – differential Mass-related outputs Max. one mass-related output (H) is available for one function module. The levels in the standard delivery correspond with the 24 V standard.
Functions of the board APCI-1710 TTL inputs and outputs At the connector ST5 of the ACPI-1710 are further I/O, GND and Vcc of the PC available. These signals must correspond with the TTL level and be treated carefully in order not to damage the board if other signals shall be connected.
APCI-1710 allows a 32-bit access on the peripheral for faster data transfer. the board is to be operated as “Target only” on the PCI bus. It has a common interrupt that is wired to the INTA Pin of the PCI connector.
Page 55
Functions of the board APCI-1710 Example: The incremental transmitters are programmed with reference logic in the function modules 1 to 4. The corresponding I/O function range for the “incremental transmitter” will be copied into the therefore allocated places of the function modules.
APCI-1710 Standard software STANDARD SOFTWARE 10.1 Introduction IMPORTANT! Remember the following style conventions in the text. Function: “i_APCI1710_SetBoardInformation” Variable: ui_Address Table 10-1: Type declaration for DOS and Windows 3.1x Borland C Microsoft C Borland Microsoft Visual Microsoft Visual Pascal Basic Dos...
Page 57
Standard software APCI-1710 Table 10-2: Type declaration for Windows 95/NT Borland C Microsoft C Borland Microsoft Microsoft Pascal Visual Basic Visual Basic Windows void void pointer VOID unsigned char unsigned char byte integer integer BYTE integer integer integer unsigned int...
10.2.1 Initialisation IMPORTANT! The following chapter lists the common functions for each function module. You can find the single software functions according to the function of the board APCI-1710 in the respecting manuals. I_APCI1710_InitCompiler (…) Syntax: <Return-Wert>= i_APCI1710_InitCompiler (BYTE b_CompilerDefine)
Page 59
Standard software APCI-1710 Calling convention: ANSI C : i_ReturnValue; i_ReturnValue = i_APCI1710_InitCompiler (DLL_COMPILER_C); Return value: 0: No error -1: Compiler Parameter is wrong...
ANSI C : i_ReturnValue; unsigned char b_SlotNumberArray [8]; i_ReturnValue = i_APCI1710_CheckAndGetPCISlotNumber (b_SlotNumberArray); Return value: Returns the number of APCI-1710 boards that are installed in the PC. If the Return Value shows “0” then no APCI-1710 was found on your PC.
Standard software APCI-1710 I_APCI1710_SetBoardInformation (…) Syntax: <Return-Wert> = i_APCI1710_SetBoardInformation (BYTE b_SlotNumber, PBYTE pb_BoardHandle) Parameter: - Input: BYTE b_SlotNumber slot number of the board - Ausgabe: PBYTE pb_BoardHandle Handle of the board to use the functions. Task: Controls if there is a xPCI-1710 board and saves the slot number. The user gets back a handle so that the next functions can be used.
APCI-1710 Standard software I_APCI1710_CloseBoardHandle (…) IMPORTANT! Call this function anytime you want to exit the user program! Syntax: <Return-Wert> = i_APCI1710_CloseBoardHandle (BYTE b_BoardHandle) Parameter: - Input: BYTE b_BoardHandle Handle der xPCI-1710 - Output: No output signal. Aufgabe: Releases the handle of the board. Blocks the access to the board.
Standard software APCI-1710 10.2.2 Interrupt I_APCI1710_SetBoardRoutineDos (…) IMPORTANT! This function can only be used for C/C++ and Pascal for DOS b Syntax: <Return-Wert> = i_APCI1710_SetBoardIntRoutineDos (BYTE b_BoardHandle, VOID v_FunctionName (BYTE b_BoardHandle, BYTE b_ModuleMask, ULONG ul_InterruptMask, ULONG ul_CounterLatchValue)) Parameter: - Input:...
Page 66
APCI-1710 Standard software Name of the user interrupt routine v_FunctionName Number of the xPCI-1710-handle, which b_BoardHandle has generated the interrupt. Mask of the module, which has b_ModulMask generated the interrupt. (See table of the interrupt mask in the respecting manual)
Standard software APCI-1710 i_APCI1710_SetBoardRoutingeVBDos (..) IMPORTANT! This function can be used only for Visual Basic DOS. Syntax: <Return-Wert> = i_APCI1710_SetBoardIntRoutineVBDos (BYTE b_BoardHandle) Parameter: - Input: BYTE b_BoardHandle Handle der Karte - Output: No output signal. Task: This function is to be called for all xPCI-1710 boards on which you want to activate an interrupt.
Page 68
APCI-1710 Standard software i_ReturnValue = i_APCI1710_TestInterrupt (i_BoardHandle, _ i_ModuleMask, _ l_InterruptMask, _ l_CounterLatchValue) Return ON UEVENT GOSUB IntLabel UEVENT ON i_ReturnValue = i_APCI1710_SetBoardIntRoutineVBDos (b_BoardHandle) Return value: 0: No error -1: Handle parameter of the board is wrong -2: Interrupt already installed...
Standard software APCI-1710 i_APCI1710_SetBoardIntRoutineWin16 (..) IMPORTANT! This function can be used only for Windows 3.1 and Windows 3.11. Syntax: <Return-Wert> = i_APCI1710_SetBoardIntRoutineWin16 (BYTE b_BoardHandle, VOID v_FunctionName (BYTE b_BoardHandle, BYTE b_ModuleMask, ULONG l_InterruptMask, ULONG ul_CounterLatchValue)) Parameter: - Input: BYTE b_BoardHandle Handle of the board...
Page 70
APCI-1710 Standard software (see table of the interrupt mask in the respecting manual) Mask of the events, which have generated the ul_InterruptMask interrupt (see table of the interrupt mask in the respecting manual) ul_CounterLatchValue The latched values of the timer are returned...
Standard software APCI-1710 10) i_APCI1710_SetBoardInRoutineWin32 (..) IMPORTANT! This function is only available for Windows NT and Windows 9x. Syntax: <Return-Wert> = i_APCI1710_SetBoardIntRoutineWin32 (BYTE b_BoardHandle, BYTE b_UserCallingMode, ULONG ul_UserSharedMemorySize, VOID ** ppv_UserSharedMemory, VOID v_FunctionName (BYTE b_BoardHandle, BYTE b_ModuleMask, ULONG ul_InterruptMask, ULONG ul_CounterLatchValue,...
Page 72
APCI-1710 Standard software WICHTIG! For Windows NT and Windows 95, 4 rings are available (ring 0 to ring 3). - The user application program runs under ring 3. In this ring no access to hardware is available. - VXD and SYS drivers run under ring 0 and have hardware access.
Standard software APCI-1710 Fig. 10-1: Synchronous and asynchronous mode Fig. 10-2: Synchronous and asynchronous mode SYNCHRONOUS MODE The user interrupt routine is called directly from the interrupt routine ADVANTAGES of the driver (ring 0). The time between interrupt and user interrupt routine is reduced.
Page 74
VOID * pv_UserSharedMemory) v_FunctionName Name of the user interrupt routine b_BoardHandle Handle of the APCI-1710, which has generated the interrupt. b_ModuleMask Mask of the module, which has generated the interrupt (see table in the interrupt of the respecting manual)
Page 76
APCI-1710 Standard software (i_BoardHandle, APCI1710_ASYNCHRONOUS_MODE, AddressOf v_FunctionName) Return value: 0: No error -1: Handle parameter of the board is wrong -2: Interrupt is already installed -3: The selected calling mode of the user interrupt routine is wrong -4: No memory space fort the user shared memory available.
Standard software APCI-1710 11) i_APCI1710_TestInterrupt Syntax: <Return-Wert> = i_APCI1710_TestInterrupt (BYTE b_BoardHandle, BYTE b_ModuleMask PULONG pul_InterruptMask, PULONG pul_CounterLatchValue) Parameter: - Input: There is no input - Output: PBYTE pb_BoardHandle Handle of the xPCI-1710, which has generated the interrupt. (see table of the interrupt mask in the...
Page 78
APCI-1710 Standard software -1: No interrupt > 0: IRQ number...
Standard software APCI-1710 12) i_APCI1710_ResetBoardIntRoutine (..) Syntax: <Return-Wert> = i_APCI1710_ResetBoardIntRoutine (BYTE b_BoardHandle) Parameter: - Input: BYTE b_BoardHandle Handle of the board - Output: No output signal has occurred Task: Stops the interrupt administration of the xPCI-1710. Deinstalls the interrupt routine if the interrupt administration of all xPCI- 1710 is stopped.
Index APCI-1710 INDEX Accessories 13 Limit values 14 Loading a function into a function module SET1710 32 Block diagram 48 Manuals 23 Module configuration with SET1710 33 Changing the registration of an existing board Component scheme 19 Configuration of a new board 29...
Need help?
Do you have a question about the APCI-1710 and is the answer not in the manual?
Questions and answers