background image

SERIES IP330 INDUSTRIAL I/O PACK                                  16-BIT HIGH DENSITY ANALOG INPUT MODULE 
___________________________________________________________________________________________

 

- 11 - 

 

Table 3.6:  Gain Select Binary Codes 

Gain

 

Data Bits 7 to 2 

Data Bit 1 

Data Bit 0 

1 Unused  0 

2 Unused  0 

4 Unused  1 

8 Unused  1 

 

The Gain Select register contents are undefined upon 

power up or system reset

.  The Gain Select registers 

corresponding to all channels selected for conversion must be 
written with the desired gain select binary codes prior to initializing 
data conversions. 
 

Mail Box Buffer (Read Only, 40H - 7EH) 
 

The Mail Box Buffer is read-only, and contains 16-bit digitized 

input channel values.  The Mail Box Buffer has 32 storage 
locations-one for each of the 32 channels supported by the IP330 
in the single ended mode of operation.  If the IP330 is used in the 
differential mode of operation each of the 16 channels supported 
are allocated two Mail Box Buffer locations.  

 
See Table 3.2 which gives the Mail Box Buffer address 

locations corresponding to each of the 32 channels (or 16 
channels in differential mode).  In differential mode the first 
digitized data values will be stored in buffer locations 40H to 5FH 
while the second digitized values are stored in buffer locations 60H 
to 7EH.  The storage of data in the Mail Box, in differential mode 
will, continue to alternate between these two Mail Box sections. 

 
The New Data register can be read to determine which Mail 

Box Buffers contain updated digitized data.  A set bit in the New 
Data register indicates an updated digitized data value resides in 
its corresponding Mail Box Buffer.  In addition, the Missed Data 
register can be read to determine if a Mail Box Buffer has been 
overwritten with a new digitized value before the previous one had 
been read.  A set bit in the Missed Data register indicates that a 
digitized data value has been lost or overwritten. 

 
All register accesses to the IP330 require one wait state with 

the exception of a read access to the Mail Box Buffer.  A read 
access to the Mail Box Buffer could take up to six wait states if a 
read is issued while a hardware write of channel data to the same 
Mail Box is currently underway.  Most of the time, contention with 
hardware writes is not an issue.  In which case, one wait state is 
required for a read access to the Mail Box. 

 
MODES OF OPERATION 
 

The IP330 provides five different modes of analog input 

acquisition to give the user maximum flexibility for each 
application.  These modes of operation include: uniform 
continuous, uniform single, burst continuous, burst single, and 
convert on external trigger only.  In all modes a single channel or a 
sequence of channels may be converted.  The following sections 
describe the features of each and how to best use them. 
 

Uniform Continuous-Mode 
 

In uniform continuous mode of operation, conversions are 

performed continuously (in sequential order) for all channels 
between and including the Start and End Channel Values.  The 
interval between conversions is controlled by the interval timer 

(Timer Prescaler and Conversion Timer as described in the 
Conversion Timer Register section).  The interval timer must be 
used in this mode of operation. 

 
After software selection of the uniform continuous mode of 

operation, conversions are started either by an external trigger, or 
by setting the software start convert bit.  If the external trigger is to 
be used bit-2 of the Control register must be set low to accept the 
external trigger as an input signal. 

 
Stopping the execution of uniform continuous conversions is 

possible by writing 000 to the Scan Mode bits (8-10) of the Control 
register.  See the Control register section for additional information 
on the Scan Mode control bits and the Control register board 
address location. 

 
When configured for differential input, the Mail Box functions 

as a dual level data buffer.  The first half of the Mail Box is used to 
store all selected channel data for the initial pass through the 
channels defined by the Start and End Value registers.  The 
second half of the Mail Box is then used to store the channel data 
corresponding to the second pass though all selected channels.  
Storage of channel data continues to alternate between the first 
and second halves of the Mail Box Buffer.  As seen in Table 3.2, 
the first half of the Mail Box is defined by word addresses 40H to 
5EH while the second half is defined by word addresses 60H to 
7EH. 

 
Interrupts can be enabled to activate after conversion of each 

channel or the group of channels defined by the Start and End 
Channel Values.  If interrupts are configured to go active after the 
conversion of each channel, the actual interrupt will be issued 8

µ

 

seconds after the programmed interval has lapsed.  If interrupt 
upon completion of a group of channels is selected, an interrupt 
will be issued 8

µ

 seconds after the interval time of the last 

selected channel has expired. 

 
If interrupts are selected to go active after conversion of each 

channel be sure to program a large enough interval between 
conversions to allow adequate time for execution of an interrupt 
service routine.  It may also be necessary to allow time for your 
computer to perform other housekeeping operations between 
servicing interrupts. 

 

Summary of Contents for IP330 Series

Page 1: ...ut Module 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 1995 Acromag Inc Printed in the USA Data and speci...

Page 2: ...NCE 19 PRELIMINARY SERVICE PROCEDURE 19 6 0 SPECIFICATIONS 20 GENERAL SPECIFICATIONS 20 ANALOG INPUT 20 INDUSTRIAL I O PACK COMPLIANCE 21 APPENDIX 21 CABLE MODEL 5025 551 21 Recommended APC8600 Shiele...

Page 3: ...le ended channels Precision On Board Calibration Voltages Calibration autozero and autospan precision voltages are available to permit host computer correction of conversion errors Trimmed calibration...

Page 4: ...Library diskette Model IPSW LIB M03 MSDOS format to simplify communication with the board Example software functions are provided for both VMEbus and ISA bus PC AT applications All functions are writ...

Page 5: ...iguration Software configurable control registers are provided for control of external trigger mode data output format acquisition mode timer control interrupt mode convert channel s selection and cha...

Page 6: ...l has been driven low it should remain low for a minimum of 500n seconds As an output an active low TTL signal can be driven to additional IP330s thus providing a means to synchronize the conversions...

Page 7: ...elect Ch 07 27 28 Gain Select Ch 08 Gain Select Ch 09 29 2A Gain Select Ch 10 Gain Select Ch 11 2B 2C Gain Select Ch 12 Gain Select Ch 13 2D 2E Gain Select Ch 14 Gain Select Ch 15 2F 30 Gain Select Ch...

Page 8: ...10 Uniform Single 011 Burst Continuous 100 Burst Single 101 Convert on External Trigger Only 110 Not Used 111 Not Used See the Modes of Operation section for a description of each of these scan modes...

Page 9: ...z clock signal The output of this clock is input to the second counter the Conversion Timer and the output is used to generate periodic trigger pulses The time period between trigger pulses is describ...

Page 10: ...y 0CH Data Bit 15 14 13 12 11 10 09 08 SE or Diff Ch 15 14 13 12 11 10 09 08 Missed Data Register Read Only 0FH Data Bit 07 06 05 04 03 02 01 00 SE Channel 23 22 21 20 19 18 17 16 Diff Channel 07 06 0...

Page 11: ...niform continuous uniform single burst continuous burst single and convert on external trigger only In all modes a single channel or a sequence of channels may be converted The following sections desc...

Page 12: ...Box functions as a dual level data buffer The first half of the Mail Box is used to store all selected channel data for the initial pass through the channels defined by the Start and End Value regist...

Page 13: ...external trigger pulse no interrupt will be issued since data is not written to the Mail Box buffer If interrupt upon completion of a group of channels is selected an interrupt will be issued 8 secon...

Page 14: ...5 2 0 to 5 0 6125 CAL3 2 4500 CAL1 Input Range Volts PGA Gain ADC Range Volts Rec Low Calib Voltage VoltCALLO Volts Rec High Calib Voltage VoltCALHI Volts 0 to 1 25 4 0 to 5 0 6125 CAL3 1 2250 CAL2 0...

Page 15: ...are known It is now possible to correct input channel data from any input channel using the same input range i e 10 to 10 volts with a PGA gain 1 Repeat the above steps periodically to re measure the...

Page 16: ...CountCALHI Calculate Equation 2 Calculate m actual_slope from equation 2 since all parameters are known It is now possible to correct input channel data from any input channel using the same input ra...

Page 17: ...he host uses the vector to form a pointer to an interrupt service routine for the interrupt handler to begin execution 7 Example of Generic Interrupt Handler Actions a Disable the interrupting IP by w...

Page 18: ...from the Mail Box buffer Access to both ID and I O spaces are implemented with one wait state read or write data transfers There is one exception on a rare occasions read and write operations to the M...

Page 19: ...r is clocked by the 8MHz board clock The output of the Timer Prescaler counter is then used to clock the second counter Conversion Timer In this way the two counters are cascaded to provide variable t...

Page 20: ...ware limitations For example if an input may reach zero volts or less a bipolar input range should be selected 4 These ranges can only be achieved with 15 Volt external power supplies The input ranges...

Page 21: ...E Specification This module meets or exceeds all written Industrial I O Pack specifications per revision 0 7 1 Electrical Mechanical Interface Single Size IP Module IP Data Transfer Cycle Types Suppor...

Page 22: ...he field I O signals to the P2 connector on each of the Industrial I O Pack modules Field signals are accessed via screw terminal strips Each Industrial I O Pack IP has its own unique P2 pin assignmen...

Page 23: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 23...

Page 24: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 24...

Page 25: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 25...

Page 26: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 26...

Page 27: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 27...

Page 28: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 28...

Reviews: