background image

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

 

- 16 - 

The 0 to +5v ADC range could alternatively be used with a gain of 
4.  This approach may reduce the affect of noise over the ADC 
range and gain selected in this example. 
 

The calibration parameters (CountCALHI and CountCALLO) 

remain to be determined before uncorrected input channel data 
can be taken and corrected. 
 

Determination of the CountCALLO Value 

 
1. 

Execute Write of 0432H to Control Register at Base Address 
+ 00H. 
a)  Select Straight Binary 
b)  External Trigger Input 
c) 

Select 0.6125v Calibration Voltage 

d)  Burst Single Scan Mode 
e) Timer 

Disabled 

f) Interrupts 

Disabled 

 

2. 

Execute Write of 1F00H to End/Start Channel Value Register 
at Base A 06H.  This will permit 32 conversions of 
the calibration voltage to be stored in the 32 Mail Box Buffers. 

 
3. 

Execute Write of 03H, as byte data transfers only, to Gain 
Select Channel Registers Base A 20H to 3FH.  This 
selects a gain of eight for all 32 channels. 

 
4. 

Execute Write 0001H to the Start Convert Bit at Base 
A 10H to start burst single mode conversions.  Thirty 
two conversions of the calibration voltage are implemented 
and stored in the 32 Mail Box Buffers. 

 
5. 

Execute Read of the 32 Mail Box Buffers at Base A 
40H to 7EH. 

 
6. 

Take the average of the 32 ADC values and save this number 
as CountCALLO. 

 
 

Determination of the CountCALHI Value

 

 
7. 

Execute Write of 042AH to Control Register at Base Address 
+ 00H.  
a)  Select Straight Binary 
b)  External Trigger Input 
c) 

Select 1.2250v Calibration Voltage 

d)  Burst Single Scan Mode 
e) Timer 

Disabled 

f) Interrupts 

Disabled 

 

8. 

Writing the Start Channel Value, End Channel Value, and the 
Gain Selects is not necessary if they have not been changed 
from that programmed in steps 2 and 3 above. 

 
9. 

Execute Write 0001H to the Start Convert Bit at Base 
A 10H.  This starts a burst single mode of 
conversions.  Thirty two conversions of the 1.2250 calibration 
voltage are implemented and stored in the 32 Mail Box 
Buffers. 

 
10.  Execute Read of the 32 Mail Box Buffers at Base A 

40H to 7EH. 

11.  Take the average of the 32 ADC values and save this number 

as 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 range (i.e. 0 to 
+1.25 volts with a PGA gain = 8).  Repeat the above steps 
periodically to re-measure the calibration parameters 
(CountCALHI and CountCALLO) as required. 

 

Measure Channels 3 to 13 Single Ended and Correct Using 

Uniform Single Mode

 

 
12.  Execute Write of 0A0AH to Control Register at Base Address 

+ 00H.  
a)  Select Straight Binary 
b)  External Trigger Input 
c) 

Select Single Ended Input 

d)  Uniform Single Scan Mode 
e) Timer 

Enabled 

f) Interrupts 

Disabled 

 

13.  Execute Write of 0D03H to End/Start Channel Value Register 

at Base A 06H.  This will permit conversions of 
channels 3 to 13.  Writing the Gain Selects is not necessary 
since they do not need to change from that programmed in 
step 3 above. 

 
14.  Execute Write of 50H, as a byte data transfer, to the Timer 

Prescaler at Base A 02H.  This sets the Timer 
Prescaler to 80 decimal. 

 
15.  Execute Write 0008H to the Conversion Timer at Base 

A 04H.  This Conversion Timer value in conjunction 
with the Timer Prescaler sets the interval time between 
conversions to (80 

 8) 

÷

 8 = 80

µ

 seconds. 

 
16.  Execute Write 0001H to the Start Convert Bit at Base 

A 10H.  This starts a uniform single mode of 
conversions. Conversions of channels 3 to 13 are 
implemented and stored in their corresponding Mail Box 
Buffers. 

 
17.  Execute Read of the Mail Box Buffers at Base A 46H 

to 5AH.  The data represents the uncorrected “Count_Actual” 
term in equation 1.  Since all parameters on the right hand 
side of equation 1 are known.  The calibrated value 
"Corrected_Count" can be calculated for each of the 
channels. 

 
18.  If channel response time requirements are not high speed it 

is recommended that a running average (i.e. of the last 8, 16, 
32, etc.) of readings be maintained for each channel.  This 
will minimize noise effects and provide the best accuracy. 

 

Error checking should be performed on the "Corrected_Count" 

value to make sure that calculated values below 0 or above 65,535 
are restricted to those end points.  Note that the software 
calibration cannot recover signals near the end points of each 
range which are clipped off due to the uncalibrated hardware (e.g. 
PGA and ADC) or power supply limitations. 
 

See the specification chapter for details regarding the 

maximum corrected (i.e. calibrated) error. 
 

 

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: