ERMA IO 1388 Manuel utilisateur

ERMA
Electronic GmbH
IO 1388
Digital IO-Card
Manual
ERMA
Electronic GmbHElectronic GmbH

Trademarks
Turbo Pascal, Delphi are registered trademarks of Borland International, INC.
MS-DOS, indows, Visual Basic are registered trademarks of Microsoft Corporation.
IBM, PC XT/AT, OS/2 are registered trademarksin of the International Business Machines
Corporation.
All other trademarks named or portrayed in the text are registered trademarks of its ownwer and are
recognized by ERMA-Electronic.
Warranty
For delivered products our "Allgemeine Lieferungs- und Zahlungsbedingungen" are effective.
In no event ERMA-Electronic or its suppliers shall be liable for any other damages whatsoever
(including, without limitation, damages for loss of business profits, business interruption or
other pecuniary loss) arising out of or inability to use this product.
All products from ERMA-Electronic are warranted against defective material and workmanship
for a period of two (2) years from date of delivery. If it is necessary to return the product to ERMA,
the sender is responsible for shipping charges, freight, insurance and proper packaging to pre-
vent breakage in transit. ERMA's warranty does not apply to defects resulting from action of the
buyer, such mishandling, improper interfacing, operation outside of design limits, improper repair
or unauthorized modification.

CONTENTS
1. Safety Instructions .......................5
2. Symbol Explanation ......................5
3. General .............................6
4. Function .............................6
5. Block diagram .........................7
6. Hints against noisy environment ...............7
7. Installation ...........................8
7.1. Hardware configuration ..................8
7.1.1. Component layout ...................8
7.1.2. Digital Input Channels .................9
7.1.3. Digital Outut Channels .................10
7.2. Open PC ..........................10
7.3. Card insertion .......................10
7.4. Close PC ..........................10
7.5. Driver installation .....................11
7.5.1. Windows 95 / 98 / ME .................11
7.5.2. Windows NT4.0 ....................11
7.5.3. Windows 2000 .....................11
7.5.4. Windows XP ......................11
7.6. Configure software .....................11
ERMA-Electronic GmbH 2

7.7. Test of the card ......................11
8. Registers of the card IO 1388 .................12
8.1. Output Register ......................12
8.2. Input Register .......................12
8.3. Interrupt Enable Register .................12
8.4. Timer-Status-Register ...................13
8.5. Watchdog-Register ....................14
8.6. Watchdog-Register ....................14
8.7. Releasing the IRQ of the Target-Controller ........15
8.8. Programming under Windows ...............15
8.9. Programming with IO 1388-DLL ..............15
8.9.1. Functions .......................15
8.10. Usage within own applications ...............18
8.10.1. Visual Basic .....................18
8.10.2. Visual C++/ LabWindowsCVI .............18
8.10.3. Delphi .........................19
8.10.4. Tips and Tricks ....................19
9. Troubleshooting ........................19
10. Pin assignment .........................20
10.1. Pin Assignment of the card ................20
3 ERMA-Electronic GmbH

10.2. Pin assignment of the additional slot ...........21
11. Technical datas .........................22
12. Ordering information ......................23
Date : 28. 03.2003
IO1388AE.PUB
Technical subjects to change
ERMA-Electronic GmbH 4

1. Safety Instructions
ThisinstrumentisproducedinaccordancewithClassIIofIEC348andVDE0411.
When delivered the intrument has been tested to meet all functions described.
Before installing the instrument please read the mounting and servicing instruc-
tions. We have no liability or responsibility to customer or any other person or
entity with respect to any liablity, loss or damage caused or alleged to be caused
directly or indirectly by equipment or software sold or furnished by us. Read the
installation instruction carefully. No liability will be assumed for any damage
caused by improper installation.
Inspect the instrument module carton for obvious damage. Be shurethereare no
shipping and handling damages on the module before processing. Do not apply
power to the instrument if it has damaged.
The warranty does not apply to defects resulting from action of buyer, such as
mishandling, improper interfacing, operation outside of design limits, improper
repair or unauthorized modifications.
2. Symbol Explanation
Caution Attention Instruction Tip
Caution: Will be used at dangerous for life and health !
Attention: Will cause damage.
Instruction: If not noticed, Trouble may occur.
Tip: Useful hints for better operation.
1. Safety Instructions
5 ERMA-Electronic GmbH

3. General
The board IO 1388 was designed to interface with the PCs internal PCI-BUS
through any available expansion slot. Ther are 2 different models available:
• model IO 1388 / 0 - supplied with 16 / 16 input / output channels
• model IO 1388 / 1 - supplied with 32 /32 input / output channels
All input and output channels are optically isolated. In addition input and output
voltage levels of 24 V are also available. By this reason all input and output
channels can directly connected to a PLC.
Theoutput channelsareshortcircuitprotected.Eachchannelcanswitchcurrents
up to 1 A.
A watchdog is implemented. In a programmable register a distinct output channel
masc configuration can be programmed. If the watchdog timeout time is over, the
output channels are set to the predetermined state.
By an interrupt-enable-register the input channels can be programmed to gene-
rate interrupts. The interrupts can be generated by a positive-edge or a negati-
ve-edge trigger.
In addition there is a timer implemented. The timer e. g. can be used for reading
input channels in distinct intervals.
4. Function
The IO 1388 will use one PCI-slot within the pc. Because the PCI-bus supports
plugandplay,there arenojumpersorswitches tochangeconfiguration.Thecard
will use 8 x 32-bit-IO-addresses for the functions and 16 x 32-bit-IO-adresses for
the PCI-target-controller. You can use any number of IO 1388 within one pc
(depends on number of PCI-slots). The standard drivers supports up to 4 cards.
If more than 4 cards should be used, you can ask for a driver for more cards. The
card has one 37-pin SUB-D male connector for the input and output channels.
The functions of the card will be handled in a FPGA. This free
programabledevicemakesitpossibletosupportcustomerspecific
functions without changing the hardware. It is possible to imple-
ment additional special functions or fast controllers within the
FPGA.
3. General
ERMA-Electronic GmbH 6

5. Block diagram
6. Hints against noisy environment
All inputs and outputs are protected against noisy environment and high voltage
spikes. Nevertheless the location should be selected to ensure that no capacitive
or inductive interference can have aneffect on theinstrument or connectionlines.
It is advisable:
• To use shielded, twisted pair cables.
• The wiring of shields and ground (0V) should be star-shaped.
• Thedistance to interference sources shouldbeasfar as possible.
If necessary, protective screen or metal enclosures must be
provided.
• Coils of relays must be supplied with filters.
• Parallel wiring of input signals and AC power lines should be
avoided.
FPGA
PCI-Target-
Controller
Input
and
Output
Circuits
Input
and
Output
Circuits
16 Inputs
16 Outputs
16 Inputs
1
6 Outputs
only IO 1388/1/xx
PCI-Bus
5. Block diagram
7 ERMA-Electronic GmbH

7. Installation
The installation of the card should only be done by qualified personal
only.Before installationallcomponentshaveto be disconnectedfrom
power supply. Because within PC’s and the peripherals are high
voltages it is dangerous to life!
7.1. Hardware configuration
The IO 1388 uses plug and play and so there is no need for any settings.
7.1.1. Component layout
Figure 1 and 2 show the component layout.
Figure 1
7. Installation
ERMA-Electronic GmbH 8

7.1.2. Digital Input Channels
Figure 3 shows one of the input circuits.
8255
71055
R9,12,15
R18,21,24
SFH615
IC1,2
R26 - R31 R10,13,16
R19,22,25 R8,11,14,17,20,23
If required
Figure 3
Figure 2
7. Installation
9 ERMA-Electronic GmbH
Table des matières

















