Micro Technic PV-1800 user manual Conversion

Page 15

Users Manual & Installation Guide

PV- 1800: Power supply module with GSM MODEM

REG_ADCLO (base+0Ah): ADC command, status, and result low byte (read/write) Writing to this register starts a new A/D conversion. You should only do this when the ADC is idle.

Command bits: 0000dccc

d: 0:single-ended, 1=differential

ccc: Channel.

d

c

c

c

Conversion

0

0

0

0

AIN0 relative to AGND

0

0

0

1

AIN1 relative to AGND

0

0

1

0

AIN2 relative to AGND

0

0

1

1

AIN3 relative to AGND

0

1

0

0

AIN4 relative to AGND

0

1

0

1

AIN5 relative to AGND

0

1

1

0

AIN6 relative to AGND

0

1

1

1

AIN7 relative to AGND

1

0

0

0

Differential AIN0(+) - AIN1(-)

1

0

0

1

Differential AIN1(-) - AIN0(+)

1

0

1

0

Differential AIN2(+) - AIN3(-)

1

0

1

1

Differential AIN3(-) - AIN2(+)

1

1

0

0

Differential AIN4(+) - AIN5(-)

1

1

0

1

Differential AIN5(-) - AIN4(+)

1

1

1

0

Differential AIN6(+) - AIN7(-)

1

1

1

1

Differential AIN7(-) - AIN6(+)

Reading REG_ADCLO returns status and result bits. Result bits: rrrr00pb

p: ADC present. If 1, the ADC is available. If 0, the ADC is not mounted, and you should not write to REG_ADCLO.

b: Busy. 0 = ADC idle. The previous result can be read, and a new conversion can be started. 1 = conversion in progress. All result bits are invalid when b=1.

rrrr: Four least-significant bits of the conversion result. Only valid when b=0.

REG_ADCHI (base+0Bh): ADC result, high byte (read only)

Reading this register returns the eight most-significant bits of the conversion result. Only valid when the ADC is idle.

Page 15 / 19

Image 15
Contents Micronix PC/104 Power Supply Table of contents Ordering codes Analogue configurationsAccessories General informationDescription Block diagramConnectors Modem status LED Power SupplySetting up the module ModemBase address Modem AUX connector CN3Pin no Name Signal name in modem Pin no CDB-9F SIM cardPin no CN9 Setting up RS232RS232 connector CN6 RS232 port CN6Pin no Name ConfigurationAnalogue inputs CN5 Differential measurementCounter inputs Mode FunctionDigital outputs CN2 UPS signals CN7 PV-1800 register interfaceBase address Regadchi Address Access Name FunctionPV- 1800 Power supply module with GSM Modem Conversion Technical data Digital outputs Environmental specificationsMechanical Layout Factory settings Installation guidePrecautions to ESD Settings and connections