Cpci Ea221 o I de en Us
Cpci Ea221 o I de en Us
Cpci Ea221 o I de en Us
sicomp
INDUSTRIAL MICROCOMPUTERS
Introduction 1
Description 2
Technical Specifications 3
SICOMP Industrial Microcomputers
Replacement Parts /
Accessories 4
Digital I/O module
CPCI-EA221 A
Appendix
ESD Guidelines B
Operating Instructions
List of
Abbreviations / Acronyms C
01/2005
J31069-D2112-U001-A2-7618
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended by
Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 iii
Table of contents
A Appendix.................................................................................................................................................A-1
A.1 Related references.....................................................................................................................A-1
B ESD Guidelines ......................................................................................................................................B-1
B.1 ESD protective measures ..........................................................................................................B-1
C List of Abbreviations / Acronyms.............................................................................................................C-1
C.1 List of Abbreviations / Acronyms................................................................................................C-1
Index................................................................................................................................................ Index-1
CPCI-EA221
iv Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Introduction 1
1.1 Contents of this Documentation
This documentation describes the functions and the prescribed use of the CPCI-EA221
input/output module from the SICOMP product range of industrial microcomputers.
See also
Related references (Page A-1)
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 1-1
Introduction
1.4 Related SICOMP literature
CPCI-EA221
1-2 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Description 2
2.1 Overview of CPCI-EA221
The CPCI-EA221 is a digital I/O module with 16 optoisolated inputs and outputs.
The modules has the following features:
General:
• Module width 20.16 mm (1 EP)
• 50-pin subminiature D socket connector for I/O
• Ventilation by free convection
Outputs:
• Electrical isolation between system and I/O section 500 V DC
• 16 digital outputs (arranged in 2 groups each with 8 outputs)
• Separated by groups, ground and load power supply have common reference potential
• Output characteristics: 24 V L+ switching, 500 mA per output, max. 4 A per group
• Current limiting, overload and short-circuit protection integrated in the driver device (see
/3/)
• Interrupt generated at short-circuit, overload or cable break
• Readback of output value
Inputs:
• Electrical isolation between system and I/O section 500 V DC
• 16 digital inputs (arranged in 2 groups each with 8 inputs)
• Separated by groups, ground connected to common potential
• 24 V/<10 mA per input
• Input filter (3.3 ms) which can be switched off for each input
• Edge or level triggered interrupt generation for all inputs
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 2-1
Description
2.2 CPCI Bus Settings
Counters:
• Two loadable 16-bit decrementers
• Cyclic counting within a selectable window
• Pulse counter
• Start-stop function via inputs
• Interrupt generated at zero crossing (maskable)
• Counter can be cascaded to 32 bits
CPCI-EA221
2-2 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Description
2.3 Outputs
2.3 Outputs
The module is equipped with 16 outputs, organized in two groups with eight outputs each.
The outputs are controlled by means of the I/O register.
The outputs can be controlled with certain inputs. Data can be stored in the output buffers
and are transferred to the outputs when the corresponding input signal is set. Four different
data bytes can be stored in the output buffers for each output group. See the chapters
"Configuration register", "Output buffer 0" and "Output buffer 1".
See also
Configuration Register (Page 2-10)
Output buffer 0 (Page 2-11)
Output buffer 1 (Page 2-11)
"Continuous Mode"
The affected outputs are pulsed with a high pulse duty factor until the overload ceases. They
are then reactivated.
"Switch-off Mode"
The affected output group is deactivated. The outputs of the group can only be reactivated
when the interrupt register has been read.
The mode can be specified by programming (see section "Configuration Register").
See also
Interrupt Register (Page 2-11)
Configuration Register (Page 2-10)
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 2-3
Description
2.4 Inputs
2.4 Inputs
Every input can trigger an interrupt. Using the input mode register, each input can be
individually set to determine which state (high or low level) or which event (rising/falling
edge) at the input results in an interrupt.
The bandwidth of the input signals can be limited for each input by a switchable low-pass
filter.
See also
Input Mode Register (Page 2-9)
2.5 Counter
The two 16-bit counters are deincremtental and can be clocked at the 10 MHz rate or by
external pulses. Individual settings can be made for each counter using the configuration
register.
Functions:
• The two counters can count from a preset value to ZERO.
• When ZERO is reached, the counters can be reloaded with a value from the counter
buffer.
• Both counters can counter input pulses. The polarity of the pulse can be set in the input
module register (see section "Input Mode Register").
• Start-Stop Counter: Counter 0 is started with a pulse at input IN0 and can then be
stopped by another pulse at either input IN0 or input IN1. The polarity of the pulse can be
set in the input module register.
• Counter 1 can be cascaded with counter 0, which makes a 32-bit counter available.
• The counters can trigger an interrupt when ZERO is reached.
See also
Input Mode Register (Page 2-9)
Configuration Register (Page 2-10)
Counter Buffer (Page 2-14)
CPCI-EA221
2-4 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Description
2.6 Interfaces
2.6 Interfaces
See also
Related references (Page A-1)
LED 1:
LED register 0, bits 0 to 15, can be used to select the output to be displayed with the LED.
An OR logic gate can be used to select more than one output.
LED 2:
The LED indicates an error detected from one of the output drivers (e.g. overload, short-
circuit etc.).
LED 3:
LED register 1, bits 0 to 15, can be used to select the input to be displayed with the LED.
The LED lights up with a HIGH level at the selected input. An OR logic gate can be used to
select more than one input..
LED 4:
LED register 1, bits 16 to 31, can be used to select the input to be displayed with the LED.
The LED lights up with a LOW level at the selected input. An OR logic gate can be used to
select more than one input..
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 2-5
Description
2.6 Interfaces
CPCI-EA221
2-6 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Description
2.6 Interfaces
Notice
The inputs of the load current supplies VCC0/GND0 to VCC1/GND1 are not protected
against reverse polarity!
All load current supply and reference potential connections of the two output groups must
always be connected.
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 2-7
Description
2.7 Register
2.7 Register
The module uses base address register 0 of the PCI configuration space. The base address
(BA) of the module is stored there by the BIOS or operating system (see /2/). Each of the
following registers can be read back.
See also
Related references (Page A-1)
Note
The readback of the outputs supplies the previously output values and not the actual level at
the outputs.
CPCI-EA221
2-8 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Description
2.7 Register
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 2-9
Description
2.7 Register
See also
Reaction to Overload (e.g. Short-circuit) (Page 2-3)
Counter Buffer (Page 2-14)
Reset Response (Page 2-15)
CPCI-EA221
2-10 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Description
2.7 Register
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 2-11
Description
2.7 Register
IINT0 to IINT15
Output Group 1
Output Group 1
STB13 Error status of outputs 15 and 14
STB12 Error status of outputs 13 and 12
STB11 Error status of outputs 11 and 10
STB10 Error status of outputs 9 and 8
0 No overload at the outputs of a
group
1 Overload or cable break at at
least one output
Output Group 0
Output Group 0
STB03 Error status of outputs 7 and 6
STB02 Error status of outputs 5 and 4
STB01 Error status of outputs 3 and 2
STB00 Error status of outputs 1 and 0
0 No overload at the outputs of a
group
1 Overload or cable break at at
least one output
CPCI-EA221
2-12 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Description
2.7 Register
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 2-13
Description
2.7 Register
CPCI-EA221
2-14 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Description
2.8 Reset Response
Software Reset
A software reset is triggered by setting bit 31 in the configuration register (address BA + 8H).
As long as a software reset is active:
• All inputs and outputs are deactivated.
• All interrupts are cleared and disabled.
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 2-15
Description
2.8 Reset Response
CPCI-EA221
2-16 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Technical Specifications 3
3.1 Digital Outputs
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 3-1
Technical Specifications
3.2 Digital Inputs
CPCI-EA221
3-2 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Technical Specifications
3.4 Environmental conditions
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 3-3
Technical Specifications
3.4 Environmental conditions
CPCI-EA221
3-4 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Replacement Parts / Accessories 4
4.1 Recommended Accessories
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 4-1
Replacement Parts / Accessories
4.1 Recommended Accessories
CPCI-EA221
4-2 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Appendix A
A.1 Related references
/1/ PICMG 2.0 R3.0
CompactPCI Specification
October 1, 1999
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 A-1
Appendix
A.1 Related references
CPCI-EA221
A-2 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
ESD Guidelines B
B.1 ESD protective measures
Caution
ESD protective measures
When handling modules and components carrying this symbol, always observe the ESD
protection directives (Electrostatically Sensitive Devices/).
• Never touch the boards unless necessary work makes this unavoidable.
• When handling the boards, use a conductive and grounded work surface.
• Wear a grounding bracelet.
• Never touch chip pins, component connections or circuit board conductors when handling
the boards.
• Never allow boards or components to touch chargeable objects (plastics).
• Never place components or boards in the vicinity of cathode ray tube units or television
sets (minimum distance: 10 cm).
• Leave the boards in their special packaging until you are ready to use them. Do not take
the boards out of their packaging or touch them when registering them and so on.
• Boards may only be installed or removed when the power is off.
• This warning sign on Siemens products draws your attention to appropriate protective
measures you need to take.
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 B-1
ESD Guidelines
B.1 ESD protective measures
CPCI-EA221
B-2 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
List of Abbreviations / Acronyms C
C.1 List of Abbreviations / Acronyms
3.3-V device PCI board which is suitable only for 3.3-V signals
IDC Connector
Sub-D Connector
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 C-1
List of Abbreviations / Acronyms
C.1 List of Abbreviations / Acronyms
CPCI-EA221
C-2 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Index
LED register 1, 2-15
LEDs, 2-5
3
3.3 V device, 3-2
O
Output buffer 0, 2-11
A Output register 1, 2-11
Outputs, 2-1, 3-1
Ambient conditions, 3-3
Continuous mode, 2-3
Overload, 2-3
Short-circuit, 2-3
C
Switch-off mode, 2-3
Configuration register, 2-10 Overview
Continuous mode, 2-3 Counter, 2-2
Counter, 2-2, 2-4 General, 2-1
Counter buffer, 2-14 Inputs, 2-1
Counter register, 2-13 Outputs, 2-1
CPCI bus, 2-5
R
D References, 1-1
Documentation, 1-1 Register, 2-8
Configuration register, 2-10
Counter buffer, 2-14
F Counter register, 2-13
Input mode register, 2-9
Front socket signals, 2-6
Input/output register, 2-8
Interrupt mask register, 2-13
Interrupt register, 2-11
I
LED register 0, 2-14
Input mode register, 2-9 LED register 1, 2-15
Input/output register, 2-8 Output buffer 0, 2-11
Inputs, 2-1, 2-4, 3-2 Output register 1, 2-11
Interfaces Reset
CPCI bus, 2-5 after a reset, 2-15
Front socket, 2-6 Software reset, 2-15
LEDs, 2-5
Interrupt
Mask register, 2-13 S
Register, 2-11
Settings, 2-2
Switch-off mode, 2-3
System unit (3.3 V device), 3-2
L
LED register 0, 2-14
CPCI-EA221
Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618 Index-1
Index
CPCI-EA221
Index-2 Operating Instructions, 01/2005, J31069-D2112-U001-A2-7618
Siemens AG