Skip to main content
Skip table of contents

IO Addresses

This document is meant to be used by Barionet M44 application developers and provides details on the IO Addresses that can be accessed via:

  • Built-in “io-mapping” python and lua modules (used to develop Flexa Apps )

  • SNMP (OID objects)

  • Modbus TCP

  • BacNET

IO Address

R / W

Size

Descritpion

1..4

Read / Write

1bit

Relay 1..4

5..8

Read / Write

1bit

Relay 5..8

Reserved for future implementations

9

Read / Write

1bit

RS232 RTS Output

10

Read / Write

1bit

Virtual IO

11..18

Read / Write

1bit

UX8 Extension #1 Relays 1..8

Only available when this UX8 is detected (see address 60007). Otherwise, these bits can be used as Virtual IO bits.

19-26

Read / Write

1bit

UX8 Extension #2 Relays 1..8

Only available when this UX8 is detected (see address 60008). Otherwise, these bits can be used as Virtual IO bits.

27-34

Read / Write

1bit

UX8 Extension #3 Relays 1..8

Only available when this UX8 is detected (see address 60009). Otherwise, these bits can be used as Virtual IO bits.

35-42

Read / Write

1bit

UX8 Extension #4 Relays 1..8

Only available when this UX8 is detected (see address 60009). Otherwise, these bits can be used as Virtual IO bits.

43-100

Read / Write

1bit

Virtual IO bits

101..108

Read / Write

1bit

Digital Outputs 1..8.

Not used on Barionet M44 but reserved for future use.

109..200

Read / Write

1bit

Virtual IO bits

Reserved for future IO extension supporting Digital Outputs.

201..204

Read

1bit

Digital Inputs 1..4

205..208

Read

1bit

Digital Inputs 5..8

Reserved for future implementations

209

Read

1bit

RS232 CTS Input

210

Read / Write

1bit

Virtual IO

211..218

Read

1bit

UX8 Extension #1 Digital Inputs (8 inputs)

Only available when this UX8 is detected (see address 60007). Otherwise, these bits can be used as Virtual IO bits.

219..226

Read

1bit

UX8 Extension #2 Digital Inputs (8 inputs)

Only available when this UX8 is detected (see address 60008). Otherwise, these bits can be used as Virtual IO bits.

227..234

Read

1bit

UX8 Extension #3 Digital Inputs (8 inputs)

Only available when this UX8 is detected (see address 60009). Otherwise, these bits can be used as Virtual IO bits.

235..242

Read

1bit

UX8 Extension #4 Digital Inputs (8 inputs)

Only available when this UX8 is detected (see address 60010). Otherwise, these bits can be used as Virtual IO bits.

243..300

Read / Write

1bit

Virtual IO bits

301..304

Read / Write

1bit

Pull-ups for Digital inputs 1..4

305..308

Read / Write

1bit

Reserved for future implementations

309..400

Read / Write

1bit

Virtual IO bits

401..404

Read / Write

32bits

Digital Input Counter for Input 1..4

405..408

Read / Write

32bits

Digital Input Counter for Input 5..8

Reserved for future implementations

409..410

Read / Write

32bits

Virtual Registers

411..418

Read / Write

32bits

UX8 Extension #1 Digital Input Counters 1..8

Only available when this UX8 is detected (see address 60007). Otherwise, these bits can be used as Virtual Registers.

419..426

Read / Write

32bits

UX8 Extension #2 Digital Input Counters 1..8

Only available when this UX8 is detected (see address 60008). Otherwise, these bits can be used as Virtual Registers.

427..434

Read / Write

32bits

UX8 Extension #3 Digital Input Counters 1..8

Only available when this UX8 is detected (see address 60009). Otherwise, these bits can be used as Virtual Registers.

435..442

Read / Write

32bits

UX8 Extension #4 Digital Input Counters 1..8

Only available when this UX8 is detected (see address 60010). Otherwise, these bits can be used as Virtual Registers.

443..500

Read / Write

32bits

Virtual Registers

501..504

Read

16bits

Analog Inputs 1..4 (max. input voltage 15VDC) - value returned in mV

505..508

Read

16bits

Analog Inputs 5..8 (max. input voltage 15VDC) - value returned in mV

Reserved for future implementations

509..510

Read / Write

16bits

Virtual Registers

511-518

Read

16bits

UX8 Extension #1 Analog Inputs 1..8 (max. input voltage 15VDC) - value returned in mV

Only available when this UX8 is detected (see address 60007). Otherwise, these bits can be used as Virtual registers.
The analogs values should be enabled first using bits 60011..60018.

519-526

Read

16bits

UX8 Extension #2 Analog Inputs 1..8 (max. input voltage 15VDC) - value returned in mV

Only available when this UX8 is detected (see address 60008). Otherwise, these bits can be used as Virtual registers.
The analogs values should be enabled first using bits 60019..60026.

527-534

Read

16bits

UX8 Extension #3 Analog Inputs 1..8 (max. input voltage 15VDC) - value returned in mV

Only available when this UX8 is detected (see address 60009). Otherwise, these bits can be used as Virtual registers.
The analogs values should be enabled first using bits 60027..60034.

535-542

Read

16bits

UX8 Extension #4 Analog Inputs 1..8 (max. input voltage 15VDC) - value returned in mV

Only available when this UX8 is detected (see address 60010). Otherwise, these bits can be used as Virtual registers.
The analogs values should be enabled first using bits 60035..60042.

543..600

Read / Write

16bits

Virtual IO Registers

601..650

Read

16bits

Temperature Sensor Values (1-wire interface) returned in m°C (millidegrees Celsius)

Each register returns the reading of a sensor.
Max. 50 sensors can be connected to the 1w bus.
Known to work with DS18B20 sensors.

651..700

Read

32bits

Temperature Sensor Addresses (1-wire) - lower 32bits (signed integer is returned.
Must be converted in HEX to get the “lower portion” of the sensor serial number)

701..750

Read

32bits

Temperature Sensor Addresses (1-wire) - higher 32bits (signed integer is returned.
Must be converted in HEX to get the “higher portion” of the sensor serial number)

751..1200

Read / Write

16bits

Virtual IO Registers

1201

Read

16bits

Device supply current (returned in mA)

1202

Read

16bits

Device supply voltage (returned in mV)

1203

Read

16bits

Device CPU Temperature (returned in m°C)

1204

Read

32bits

Device Uptime in seconds (max value is 4,294,967,296 or 136.19 years)

1205

Read

16bits

Hardware Type ID (returned value as per Barix HW Type definition, i.e. BM44 = 82)

1206

Read

16bits

Firmware Version (each 4 bits has a version number, i.e. ‘0x0211’ corresponds to v2.1.1)

1207

Read / Write

1bit

USB Control (Enable/Disable for both USB ports on the device)

1208..1209

Read / Write

4bits

Color for user leds (two leds available: 3 and 12)
Possible Values:

  • (1) red

  • (2) green (default for output)

  • (3) yellow

  • (4) blue (default for input)

  • (5) purple

  • (6) cyan

  • (7) white

1210..1211

Read / Write

4bits

Brightness for user leds (two leds available)
Possible Values: 0..15

1212..1219

Read / Write

1bit

Enable / Disable input pull-ups 1..8 for UX8 #1

1220..1227

Read / Write

1 bit

Enable / Disable input pull-ups 1..8 for UX8 #2

1228..1235

Read / Write

1 bit

Enable / Disable input pull-ups 1..8 for UX8 #3

1236..1244

Read / Write

1 bit

Enable / Disable input pull-ups 1..8 for UX8 #4

60001

Read

16bits

Number of Serial Ports

60002

Read

16bits

Number of Relays (including extensions if connected and offers relays)

60003

Read

16bits

Number of Digital Outputs (including extensions if connected and offers DO)

60004

Read

16bits

Number of Digital Inputs (including extensions if connected and offers DI)

60005

Read

16bits

Number of Analog Outputs (including extensions if connected and offers analog outputs)

60006

Read

16bits

Number of Analog Inputs (including extensions if connected and offers analog inputs)

60007

Read

1bit

UX8 #1 detected
1 = UX8 Detected
0 = UX8 Not Detected

60008

Read

1bit

UX8 #2 detected

60009

Read

1bit

UX8 #3 detected

60010

Read

1bit

UX8 #4 detected

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.