beautypg.com

2 read channel data registers, 3 write channel data registers – Contemporary Control Systems BASremote User Manual (firmware 3.1.x) User Manual

Page 63

background image

TD040300-0MF

63

7.4.1.2

Read Channel Data Registers

Two 16-bit registers are assigned to each of the eight channels for reading input data.
Adding an extra register was done to accommodate accumulator values when
measuring pulse inputs. The least significant word resides at the register base address
while the most significant word resides one register location above the base address.
The base register address for channel 1 is 40101 so its most significant word is at
40102. Similarly, channel 8’s base address is at 40115 so its most significant word is at 40116.

Register

Bits

Value

Description

401YX

0:15

0x0000 to 0x1388

0–5000 mV on 0–5 V scale*

401YX

0:15

0x0000 to 0x2710

0–10000 mV on 0–10 V scale*

401YX

0:15

0x0000 to 0x07D0

0–2000 hundredths of mA on current

401YX

0:15

0xFEA2 to 0x044C

–350 to 1110 tenths of °F (2’s comp.)

401YX

0:15

0xFE8E to 0x01B8

–370 to 440 tenths of °C (2’s comp.)

401YX

0:15

0x0000

Contact off (relay de-energized)

401YX

0:15

0x0001

Contact on (relay energized)

* Resolution on 0

–5 V scale is 5 mV, and on the 0–10 V scale 10 mV.

Table 4

— Read Channel Data Registers Least Significant Word

Register

Bits

Value

Description

401YX

0:15

0x0000 to 0xFFFF

0–16,777,215 counts

401YX+1

0:15

0x0000 to 0x00FF

Table 5

— Read Channel Data Registers Accumulator

7.4.1.3

Write Channel Data Registers

Unlike input data registers, output data registers only require one register per channel.
Output channel 1 is located at register location 40201 and output channel 8 is located at
register location 40208. Since channel 8 is a relay output, outputting a 0x0001 to
register 40208 will energize the relay coil.

Register

Bits

Value

Description

4020X

0:15

0x0000 to 0x2710

0–10000 mV on voltage

4020X

0:15

0x0000 to 0x07D0

0–2000 tenths of mA on current

40207

0:15

0x0000

De-energize channel 7 relay

40207

0:15

0x0001

Energize channel 7 relay

40208

0:15

0x0000

De-energize channel 8 relay

40208

0:15

0x0001

Energize channel 8 relay

Table 6

— Write Channel Data Registers

This manual is related to the following products: