background image

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

 

- 13 - 

 
The external trigger signal must be configured as an input for 

this mode of operation.  The external trigger can be configured as 
an input by setting bit-2 of the Control register low. 

 
At least 5

µ

 seconds of data acquire time should be provided 

after programming of the Control register, Start Value register, and 
Gain Selects before the first external trigger is issued.  These 
configuration registers control the IP330 on board multiplexers and 
programmable gain amplifier which, respectively, control the 
channel and gain selected for the input provided to the converter. 

 
In the external trigger only mode, it is important to understand 

the sequence in which converted data is transferred from the ADC 
to the Mail Box Buffer.  Upon an external trigger the selected 
analog signal is converted but remains at the ADC while the 
previous digitized value is output from the ADC to the Mail Box 
Buffer.  Thus, with this sequence the Mail Box is consistently 
updated with the previous cycle’s converted data.  In other words, 
new data in the Mail Box is one cycle behind the ADC.  With this 
sequence, at the end of data conversions, one additional external 
trigger is required to move the data from the ADC to the Mail Box 
buffer.  At the start of data conversion, with the first external trigger 
signal (given the Start Convert Bit is set), data is not input to the 
Mail Box buffer since the data in the ADC buffer is old convert 
data. 

 

The IP330 requires the setting of the Start Convert bit to 

logic one prior to receiving the first active external trigger 
pulse.

  This will prevent erroneous data from being written into the 

Mail Box Buffer corresponding to the first channel converted.  This 
is the only mode of operation in which the Start Convert bit does 
not cause data conversions. 

 
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 as defined by the Start and End 
Channel Values.  If interrupts are configured to go active after the 
conversion of each channel, an interrupt will be issued 8

µ

 seconds 

after a valid external trigger pulse is detected.  The only exception 
to this is upon the very first 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

µ

 seconds after detection of the first 

external trigger following conversion of all channels in the selected 
group.  Again, one extra external trigger is needed to complete 
update of the Mail Box buffer for the selected group of channels. 

 

External Trigger Only mode of operation can be used to 

synchronize multiple IP330 modules to a single IP330 running in 
uniform continuous, uniform single, burst continuous, or burst 
single mode.  The external trigger, of the IP330 running uniform or 
burst mode, must be programmed as an output.  The external 
trigger signal of that IP330 must then be connected to the external 
trigger signal of all other IP330s that are to be synchronized.  
These other IP330s must be programmed for External Trigger 
Only Mode.  Data conversion can then be started by writing high to 
the Start Convert bit of the IP330 configured for Uniform or Burst 
mode. 

 

PROGRAMMING CONSIDERATIONS FOR ACQUIRING 
ANALOG INPUTS

 

 

The IP330 provides different methods of analog input 

acquisition to give the user maximum flexibility for each 
application.  The following sections describe the features of each 
and how to best use them. 

 

USE OF CALIBRATION SIGNALS

 

 

Reference signals for analog input calibration have been 

provided to improve the accuracy over the uncalibrated state.  The 
use of software calibration allows the elimination of hardware 
calibration potentiometers traditionally used in precision analog 
front ends. 
 

Software calibration uses some fairly complex equations.  

Acromag provides you with the Industrial I/O Pack Software 
Library diskette to make communication with the board and 
calibration easy.  It relieves you from having to turn the 
equations of the following sections into debugged software 
calibration code.

  The functions are written in the “C” 

programming language and can be linked into your application.  
Refer to the “README.TXT” file in the root directory and the 
“INFO330.TXT” file in the “IP330” subdirectory on the diskette for 
details. 
 

Uncalibrated Performance 
 

The uncalibrated performance is affected by two primary error 

sources.  These are the Programmable Gain Amplifier (PGA) and 
the Analog to Digital Converter (ADC).  The untrimmed PGA and 
ADC have significant offset and gain errors (see specifications in 
chapter 6) which reveal the need for software calibration. 

 
Calibrated Performance 

 

Very accurate calibration of the IP330 can be accomplished by 

using calibration voltages present on the board.  The four voltages 
and the analog ground reference are used to determine two points 
of a straight line which defines the analog input characteristic.  The 
calibration voltages are precisely adjusted at the factory to provide 
optimum performance, as detailed in chapter 6. 

 
The calibration voltages are used with the auto zero signal to 

find two points that determine the straight line characteristic of the 
analog front end for a particular range.  The recommended 
calibration voltage selection for each range is summarized in Table 
3.7. 

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: