background image

PRODUCT MANUAL - BARIX R6 - V01.03 - 07/20/2005

Protocol support

The BARIX R6 communicates via the well known Modbus/RTU
protocol over its RS-485 interface. The unit is also configured via
writes to Modbus registers.
In addition to the actual I/O register(s), a 256 byte information
area is accessible which contains device type, software version,
serial number, the configuration as well as user changeable
storage. 

Attention: 

Writing to registers can take up to 10 milliseconds per address
before being confirmed (Modbus acknowledge).

The following standard Modbus commands are supported by the
BARIX R6. All other commands will be answered with an
exception code. Due to the limited memory resources of the
BARIX R6, the unit cannot receive messages larger than 95bytes
and will ignore these (for example, write multiple registers
commands).

CMD (hex)

Function

03 (0x03)

read (holding) register

05 (0x05)

write single coil

06 (0x06)

write single register

16 (0x10)

write multiple registers

The BARIX R6 also supports some special, Barix proprietary
commands which have been implemented to ease configuration
and facilitate the use of the R6 in conjunction with non-Modbus
systems. These commands are further described in this manual
and are:

CMD (hex)

Function

68 (0x44)

set all outputs on multiple units

69 (0x45)

set configuration using serial number

70 (0x66)

set coil without acknowledge

Protocol support  •  6

General

Supported
Standard
Commands

Special Commands

Summary of Contents for R6

Page 1: ...BARIX R6 DIN rail mountable relay unit for commercial control power switching and home automation applications PRODUCT MANUAL Version 01 03 Date 07 20 2005 For Firmware Version 2 BARIX R6 ...

Page 2: ......

Page 3: ...nfiguration Memory 3 Connectors 4 Connector Pin out overview 4 J5 J6 J7 Pin out Relays 4 J2 J4 Pin out Extension Connectors 5 J1 Pin out RS 485 and Power 5 Protocol support 6 General 6 Supported Standard Commands 6 Special Commands 6 Exceptions 7 Command 68 7 Command 69 7 Command 70 8 Configuration 9 Default Parameters 9 ...

Page 4: ...RS 485 termination 11 Modbus Register Map 12 Live I O 12 Configuration Data 12 Complete Register Map 14 Complete Coils Map 14 Technical specifications 15 CPU 15 Relays 15 Load Connectors 15 RS 485 Power Connector 15 Host Interface 15 Extension Connectors 15 Power Supply Requirements 15 LED Indicators 15 Case 15 Misc 15 Conformity 15 ...

Page 5: ...l interface using standard Modbus read writes If the device ID is unknown a special command is available which can be sent via broadcast and uses the serial number of the device to send it new configuration info A default settings jumper allows to set the device temporarily to a default configuration The protocol supported is Modbus RTU at 19200 default and 9600 Baud with even default or no parity...

Page 6: ... 2 5mm2 For every relay the NO normally open and NC normally closed contacts are brought out to a terminal For safety reasons these terminal blocks are not removable All load connectors are positioned on the top side of the device The RS 485 bus and operating power of the unit can be connected via a 6 pin removable screw terminal block positioned on the bottom side of the device Two extension conn...

Page 7: ...nd pull down A of 10kOhm resistors which force the inactive bus to a relatively high impedance idle condition Both A and B line signals are heavily protected against ESD Electrostatic Discharge Supported interface configurations are 19200 baud 8bit even parity 1 stop bit default 19200 baud 8bit no parity 1 stop bit 9600 baud 8bit even parity 1 stop bit 9600 baud 8bit no parity 1 stop bit Eight LED...

Page 8: ...n indicator LED per relay is activated together with the relay The COM terminal is connected to NC if the relay is inactive and NO when the relay is activated Pin J5 J6 J7 1 NC 1 NC 3 NC 5 2 NO 1 NO 3 NO 5 3 COM 1 COM 3 COM 5 4 NC 2 NC 4 NC 5 5 NO 2 NO 4 NO 5 6 COM 2 COM 4 COM 6 Connectors 4 Connector Pin out overview J5 J6 J7 Pin out Relays ...

Page 9: ...t These screw terminals are electrically identical to the expansion connectors J2 and J4 In addition a reference ground and Signal GND pin is provided Reference ground is connected to the Signal ground of the Barionet R6 via a 100 Ohm resistor and can be used for grounding applications Signal GND is the system ground of the R6 which is NOT identical to the supply VSS pin and is used for measuring ...

Page 10: ...ill be answered with an exception code Due to the limited memory resources of the BARIX R6 the unit cannot receive messages larger than 95bytes and will ignore these for example write multiple registers commands CMD hex Function 03 0x03 read holding register 05 0x05 write single coil 06 0x06 write single register 16 0x10 write multiple registers The BARIX R6 also supports some special Barix propri...

Page 11: ... cl count bytes lo 8 bit Byte 7 nb number of bytes following redundant Byte 8 8 nb data bytes for multiple devices Byte 8 nb 1 crc1 crc1 according to Modbus spec Byte 8 nb 2 crc1 crc1 according to Modbus spec Example a command with al 5 cl nb 4 data 01 02 04 08 will set the outputs on the R6 with Modbus address 5 to 01 which means relay one on all others off outputs on the R6 with the Modbus addre...

Page 12: ... for register 274 Byte 10 c4 configuration data for register 275 Byte 11 crc1 crc1 according to Modbus spec Byte 12 crc2 crc2 according to Modbus spec Despite the broadcast addressing the unit will respond with a command acknowledgment containing bytes 1 6 plus crc The command code 70 hex 46 is used to set an R6 output without a return acknowledgment The command uses the exact syntax of the 05 set...

Page 13: ...umper If no valid Modbus blocks are received by the relay unit for a 5 second time interval the serial interface is reset and reconfigured with stored parameters Use a screw driver to remove the snap on case top On one side of the case lift one latch first and gently pull the top then lift the second latch and remove the top completely J3 is a 4 pin connector and is located between LED7 and LED8 T...

Page 14: ...ems A transformer produces a high voltage when switched off causing an arc which is reducing the life span of the relay contacts P 12VAC N Motors have a high start up current typical factor of 2 to 5 times the nominal current so even a motor with a nominal current draw of 5 Amps could reduce the life time of relay contacts significantly We advise to check the technical specs of the used motor and ...

Page 15: ...rence GND connect Pin 4 J7 to Pin 2 J1 of the BARIX R6 RS 485 A connect Pin 5 J7 to Pin 3 J1 of the BARIX R6 RS 485 B When communication problems occur two measures can be taken to improve the RS 485 signal quality When using two separate power supplies a third wire should be used to ensure a common voltage level Connect Pin 1 or Pin 6 J7 to Pin 1 J1 of the BARIX R6 When the two devices need to be...

Page 16: ...reset using set coil and write register commands In addition the state of the relays can be read back using the read register command In the coil discrete address map only positions 1 6 Modbus RTU addresses 0 5 are populated in the BARIX R6 which are mapped to relays 1 6 Write access to any other address is prohibited In the register address map the relays can be written simultaneously by accessin...

Page 17: ...ersion 2 at the time of printing Register 259 first part of the serial number byte Register 260 second part of the serial number byte Register 261 264 are reserved for future use by Barix Register 265 272 are usable as one time writable storage by the installer or controlling software Device configuration can be set and read using standard Modbus commands The R6 will reset its actual communication...

Page 18: ...rial number 1st part 260 Serial number 2nd part 261 264 reserved 265 272 One time writable for installer 273 Default relay setting for startup 274 Serial interface mode 275 Modbus address 276 289 reserved 290 512 Memory for installer software use 513 65536 not accessible Detailed coils map please note that in the protocol address in Mobus RTU is the coil number 1 Coil Function 1 6 Relay 1 6 7 6553...

Page 19: ...s Molex 22 27 2041 4A max extension cable 3 75mm included consisting of 2 Crimp Terminal Housings Molex 22 01 2045 and 8 female Crimp Terminals Molex 08 50 0114 of Molex 2759 series 12 to 24 VAC 9 to 30 VDC 3 5 Watt max all relays active 1 LED for power indication 1 LED for active traffic indication 6 LEDs for relay status indication High quality plastic 220 grams DIN rail mountable 4 13 x 3 34 x ...

Page 20: ...e the product without notice All trademarks mentioned or used are belonging to their respective owners Barix BARIX R6 and Barionet are trademarks of Barix AG Switzerland and are registered in certain countries Barix AG Barix Technology Inc Seefeldstrasse 303 2182 Helena Rd 8008 Zürich St Paul MN 55128 SWITZERLAND USA Phone 41 43 433 2211 Phone 866 815 0866 Fax 41 44 274 2849 Fax 209 755 8435 Inter...

Reviews: