Acromag PMC408 Series Скачать руководство пользователя страница 9

SERIES PMC408 PCI MEZZANINE CARD                                                  32-CHANNEL DIGITAL I/O MODULE 
___________________________________________________________________________________________

 

- 8 - 

Register will have no effect if the Change-of-State (COS) interrupt 
type is configured by the Interrupt Type Configuration Register. 

 

INTERRUPT POLARITY (HIGH/LOW) REGISTER: 
MSB    _     _     _     _     _    _   _         _    _    _    _    _    _    _ LSB 
    15   14   13   12   11   10   9   8         7    6    5    4    3    2    1     0 
      X    X     X     X    X     X   X  X    CH7....................................CH0 

 

The unused upper 8 bits of these 16-bit registers are “Don’t 

Care” and will always read high (1’s).  All bits are set to “0” following 
a reset which means that the inputs will cause interrupts when they 
are below TTL threshold. 
 

Interrupt Status Register (R/W) 

 

The Interrupt Status Register reflects the status of the 8 

possible interrupt channels (channels 0-7 only).  A “1” bit indicates 
that an interrupt is pending for the corresponding channel.  A 
channel that does not have interrupts enabled will never set its 
interrupt status flag.  A channel’s interrupt can be cleared by writing 
a “1” to its bit position in the Interrupt Status Register (writing a “1” 
acts as a reset signal to clear the set state).  However, if the 
condition which caused the interrupt to occur remains, the interrupt 
will be generated again (unless disabled via the Interrupt Enable 
Register). 
 

Note that the input channel bandwidth should be limited to 

reduce the possibility of missing channel interrupts.  For a specific 
input channel, this could happen if multiple changes occur before 
the channel’s interrupt is serviced. 
 

INTERRUPT STATUS REGISTER: 
MSB    _     _     _     _     _    _   _         _    _    _    _    _    _    _ LSB 
    15   14   13   12   11   10   9   8         7    6    5    4    3    2    1     0 
      X    X     X     X    X     X   X  X    CH7....................................CH0 

All interrupts are cleared following a reset. 

 
PMC408 PROGRAMMING CONSIDERATIONS

 

 

To make programming and communicating with the board 

easier, Acromag provides a software product (sold separately) 
consisting of PMC module VxWorks

®

 libraries.  This software 

(Model PMCSW-API-VXW, MSDOS format) is composed of 
VxWorks

®

 (real time operating system) libraries for all Acromag 

PMC modules.  The software is implemented as a library of “C” 
functions which link with existing user code to make possible simple 
control of all Acromag PMC modules. 

 
Acromag, also provides a software product (sold separately) 

consisting of PMC module ActiveX (Object Linking and Embedding) 
controls for Windows 98, 95

®

, ME, 2000 and Windows NT

®

 

compatible application programs (Model PMCSW- ATX, MSDOS 
format) to program and communicate with the board. 

 
The following sections give some pointers for programming 

interrupts. 
 

Programming Interrupts 

 

Digital input channels can be programmed to generate interrupts 

for the following conditions (channels 0-7 only): 

 

Change-of-State (COS) at selected channels. 

 

Input level (polarity) match at selected input channels. 

Interrupts generated by the PMC408 use interrupt request line 

INTA#.  The interrupt release mechanism employed is the Release 
On Register Access (RORA) type.  This means that the interrupter 
will release the interrupt request line (INTA#) after the interrupt has 
been cleared by writing a “1” to the appropriate bit position in the 
input channel Interrupt Status Register. 

 
When using interrupts, input channel bandwidth should be 

limited to reduce the possiblity of missing channel interrupts.  For a 
given input channel, this could happen if multiple changes occur 
before the channel’s interrupt is serviced.  The response time of the 
input channels should also be considered when figuring this 
bandwidth.  The total response time is the sum of the input buffer 
response time, plus the interrupt logic circuit response time, and this 
time must pass before another interrupt condition will be recognized. 

 
PMC Programming Example for Change-of-State Interrupts: 
 

1.   Enable PMC408 board interrupt by writing a “1” to bit 0 of the 

Interrupt Register at Base A 000H. 

2.   Select channel Change-of-State interrupts by writing a “1” to 

each channel’s respective bit in the Interrupt Type Register at 
Base A 214H.  Note that Change-Of-State interrupts 
(specified with “1”) may be mixed with polarity match interrupts 
(specified with “0”). 

3.   Enable individual input channel interrupts by writing a “1” to  

each channel’s respective bit in the Interrupt Enable Register at 
Base A 210H. 

4.   Clear pending interrupts by writing a “1” to each channel’s  

respective bit in the Interrupt Status Register at Base Address  
+ 21CH. 

 

Change-of-State Interrupts may now be generated by the input 
channels programmed above for any Change-Of-State 
transition. 

 

PMC Programming Example for Level (Polarity) Match 
Interrupts: 

 
1.   Enable PMC408 board interrupt by writing a “1” to bit 0 of the 

Interrupt Register at Base A 000H. 

2.   Select channel polarity match interrupts by writing a “0” to each  

channel’s respective bit in the Interrupt Type Register at Base 
A 214H.  Note that Change-Of-State interrupts 
(specified with “1”) may be mixed with polarity match interrupts 
(specified with “0”). 

3.   Select the desired polarity (High/Low) level for interrupts by 

writing a “0” (Low), or “1” (High) level to each channel’s 
respective bit in the Interrupt Polarity Registers at Base Address 
+ 218H. 

4.   Enable individual input channel interrupts by writing a “1” to  

each channel’s respective bit in the Interrupt Enable Registers 
at Base A 210H. 

5.   Clear pending interrupts by writing a “1” to each channel’s  

respective bit in the Interrupt Status Register at Base Address   
+ 21CH. 

 

Interrupts can now be generated by matching the input level with 
the selected polarity for programmed interrupt channels. 

 

General Sequence of Events for Processing an Interrupt

 

 
1. 

The PMC408 asserts the Interrupt Request  Line (INTA#) in 
response to an interrupt condition. 

Содержание PMC408 Series

Страница 1: ...service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE IN...

Страница 2: ...dule USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 624 1541 Fax 248 624 9234 Copyright 2000 Acromag Inc Printed in the USA Data and specificat...

Страница 3: ...PLE INPUT CONNECTIONS 16 4501 758 CABLE SCSI 2 to Flat Ribbon Shielded 5028 187 17 4501 464 TERMINATION PANEL 5025 552 18 IMPORTANT SAFETY CONSIDERATIONS It is very important for the user to consider...

Страница 4: ...5 187 SCSI 2 to Flat Ribbon Cable Shielded A round 50 conductor shielded cable with a male SCSI 2 connector at one end and a flat female ribbon connector at the other end The cable is used for connect...

Страница 5: ...e connection The PMC408 is non isolated between the logic and field I O grounds since output common is electrically connected to the PMC module ground Consequently the field I O connections are not is...

Страница 6: ...provides the specific information necessary to program and operate the PMC408 module This Acromag PMC408 is a PCI Local Bus Specification version 2 2 compliant PCI bus target only PMC module The carri...

Страница 7: ...t Channel Register B CH31 CH24 READ Digital Input Channel Register B CH23 CH16 204 209 R W Digital Output Channel Register A CH15 CH08 R W Digital Output Channel Register A CH07 CH00 208 20D R W Digit...

Страница 8: ...ical control applications it is recommended that outputs be directly fed back to input points and the input points monitored loopback I O By design input channels are tied to the drains of the tandem...

Страница 9: ...h at selected input channels Interrupts generated by the PMC408 use interrupt request line INTA The interrupt release mechanism employed is the Release On Register Access RORA type This means that the...

Страница 10: ...it a 0 will turn it OFF open circuit Since the input buffers are connected in tandem with the output mosfets efficient loopback monitoring of the output state can be accomplished by reading the input...

Страница 11: ...AIR SERVICE AND REPAIR ASSISTANCE Surface Mounted Technology SMT boards are generally difficult to repair It is highly recommended that a non functioning board be returned to Acromag for repair The bo...

Страница 12: ...cted in tandem to the same I O pin Output ON Current Range 0 to 1A DC continuous up to 10A total for all channels combined or 300mA DC continuous all channels ON No deration required at elevated ambie...

Страница 13: ...izing key to prevent improper installation Schematic and Physical Attributes See Drawing 4501 758 Electrical Specifications 30 VAC per UL and CSA SCSI 2 connector spec s 1 Amp maximum at 50 energized...

Страница 14: ...SERIES PMC408 PCI MEZZANINE CARD 32 CHANNEL DIGITAL I O MODULE ___________________________________________________________________________________________ 13...

Страница 15: ...SERIES PMC408 PCI MEZZANINE CARD 32 CHANNEL DIGITAL I O MODULE ___________________________________________________________________________________________ 14...

Страница 16: ...SERIES PMC408 PCI MEZZANINE CARD 32 CHANNEL DIGITAL I O MODULE ___________________________________________________________________________________________ 15...

Страница 17: ...SERIES PMC408 PCI MEZZANINE CARD 32 CHANNEL DIGITAL I O MODULE ___________________________________________________________________________________________ 16...

Страница 18: ...SERIES PMC408 PCI MEZZANINE CARD 32 CHANNEL DIGITAL I O MODULE ___________________________________________________________________________________________ 17...

Страница 19: ...SERIES PMC408 PCI MEZZANINE CARD 32 CHANNEL DIGITAL I O MODULE ___________________________________________________________________________________________ 18...

Страница 20: ...service in house repair center WE BUY USED EQUIPMENT Sell your excess underutilized and idle used equipment We also offer credit for buy backs and trade ins www artisantg com WeBuyEquipment REMOTE IN...

Отзывы: