Micro Technic PV-1700, 1800 Series user manual Address Access Name Function, Regadchi

Page 15

Users Manual & Installation Guide

PV- 1800: Power supply module with GSM MODEM

Internal registers

 

 

 

 

 

 

 

 

 

Address

Access

Name

Function

 

Base+0

Read only

REG_SIGN

Signature (8Ch)

 

Base+1

Read only

REG_MODEL

Model

 

Base+2

Read/write

REG_DIGOUT

Digital outputs

 

Base+3

Read only

REG_DIGIN

Digital inputs

 

Base+4

Read only

REG_CNTLO

Counter LSB

 

Base+5

Read only

REG_CNTHI

Counter MSB

 

Base+6

Read/write

REG_CNTMODE

Counter configuration

 

Base+7

Read/write

REG_MODEM

Modem status and on/off command

 

Base+8

Read/write

REG_UPS

UPS status

 

Base+9

Read/write

REG_UPSSHDN

Delayed UPS shutdown

 

Base+0Ah

Read/write

REG_ADCLO

ADC command/result LSB

 

Base+0Bh

Read/write

REG_ADCHI

ADC result MSB

 

Base+0Ch

-

reserved

 

 

Base+0Dh

-

reserved

 

 

Base+0Eh

-

reserved

 

 

Base+0Fh

-

reserved

 

REG_SIGN (base+0): Signature (read only)

Always reads 8Ch. Can be used by software to verify the presence of a module with register interface.

REG_MODEL (base+1): PV-1800 firmware model number (read only)

When the firmware is changed to remove, add, or change features, the model number is changed. Current model number is 00h.

REG_DIGOUT (base+2): Digital outputs (read/write)

Writing to bit 0-6 sets digital output 0-6. 0=off, 1=on.

Reading bit 0-6 returns the current status of digital output 0-6.

Bit 7 is always 0.

REG_DIGIN (base+3): Digital inputs (read only)

Reading bit 0-7 returns the current status of digital input 0-7. 0=off, 1=on.

DI0 and DI1 can also be used as counter inputs. Regardless of this, their current status can always be read at this register.

REG_CNTLO (base+4): Counter low byte (read only)

Reading this register returns bit 0-7 of the current value of the counter, and simultaneously stores bit 8-15 of the counter in the REG_CNTHI register.

REG_CNTHI (base+5): Counter high byte (read only)

Reading this register returns the previously stored value of bit 8-15 of the counter.

Page 15 / 21

Image 15
Contents Micronix PC/104 Power Supply Table of contents Ordering codes Analogue configurationsDigit Configuration General informationModel no Ordering code Description AccessoriesDescription 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 cardSetting up RS232 RS232 connector CN6RS232 port CN6 Pin no CN9 Pin no Name ConfigurationAnalogue inputs CN5 Differential measurementDigital inputs CN Mode FunctionDigital outputs CN2 UPS signals CN7 PV-1800 register interfaceBase address Regadchi Address Access Name FunctionPage Conversion Technical data Digital outputs Environmental specificationsMechanical Layout Factory settings Installation guidePrecautions to ESD Settings and connections