Micro Technic 1800 Series, PV-1700 user manual

Page 16

REG_CNTMODE (base+6): Counter configuration (read/write)

The counter starts at 0000h after system reset. It cannot be reset or reloaded from software. Bits: 000000cc

cc= counter mode (read/write):

00 = counter disabled, DI0 and DI1 are ignored

01 = counts rising edges of DI0

10 = counts falling edges of DI0

11 = quadrature counter on DI0 and DI1

REG_MODEM (base+7): Modem status and on/off control (read/write)

Bits: 00000vlo

v: (read only) 1 = VIO voltage (2.75V) on, 0=off.

l: (read only) Modem LED status. 0=LED off, 1=LED on.

o: (read/write) Force on/off. Writing ©1©to this bit pulls the modem on/off pin low. To turn the modem on or off, you should write ©1©to this bit, wait at least two seconds, and then write ©0©to this bit.

The module has logic that automatically turns the modem on at system reset.

REG_UPS (base+8): UPS status (read only)

The UPS status inputs have no other function than being readable here. Bits: ab000000

a: UPS status1 input from external UPS logic

b: UPS status2 input from external UPS logic

REG_UPSSHDN (base+9): UPS delayed shutdown timer (read/write)

This register holds the number of seconds until the external UPS logic is told to turn off power.

The UPS_PWROFF output is low (0V) when the system should run normally, and high (3.3V) when external UPS circuitry should turn off power.

FFh: Idle, no delayed shutdown is in progress. UPS_PWROFF is low.

00h: Delay expired, UPS_PWROFF is high.

Other values: Delay in progress, the counter decrements towards 00h. UPS_PWROFF is low. A delayed shutdown is initiated by writing the desired number of seconds to this

register. A delayed shutdown in progress can be modified (by writing a new value to this register), cancelled (by writing FFh), or you can turn off immediately by writing 00h.

Page 16 / 21

Image 16
Contents Micronix PC/104 Power Supply Table of contents Analogue configurations Digit ConfigurationGeneral information Ordering codesAccessories Model no Ordering code DescriptionBlock diagram DescriptionConnectors Power Supply Setting up the moduleModem Modem status LEDModem AUX connector CN3 Pin no Name Signal name in modem Pin no CDB-9FSIM card Base addressRS232 connector CN6 Setting up RS232RS232 port CN6 Pin no CN9 Configuration Analogue inputs CN5Differential measurement Pin no NameMode Function Digital inputs CNDigital outputs CN2 PV-1800 register interface UPS signals CN7Base address Address Access Name Function RegadchiPage Conversion Technical data Environmental specifications Digital outputsMechanical Layout Installation guide Precautions to ESDSettings and connections Factory settings