BARIX X8 Product Manual

BARIX X8 Product Manual

I/o to rs-485 modbus converter for commercial interfacing, control and home automation applications

Advertisement

Quick Links

B arix A G
See fe ld s tras s e 30 3
C H-80 08 Z üric h
Switze rl an d
T +4 1 43 43 3 2 2 1 1
F + 41 4 4 2 74 28 49
B arix Te c h no lo gy In c.
2 18 2 Hel en a Ro ad
St. P au l, MN 55 12 8
U SA
T (8 66 ) 8 15 -0 86 6
F ( 20 9) 75 5-84 35
w ww. b arix .com
i n fo@ b arix .co m
B A R I X X 8
B AR IX X8
I/O to RS-485 Modbus converter
for commercial interfacing,
control and home automation
applications
P RO DUCT M ANUAL
Version: 01.05
Date:
10/26/2006
For Firmware Version 6

Advertisement

Table of Contents
loading

Summary of Contents for BARIX X8

  • Page 1 B A R I X X 8 B AR IX X8 I/O to RS-485 Modbus converter for commercial interfacing, control and home automation applications B arix A G See fe ld s tras s e 30 3 C H-80 08 Z üric h...
  • Page 3: Table Of Contents

    Table of Contents Int roduc tion..............1 Har dwar e...............2 Case....................2 Connectors..................2 Power supply requirements............2 Inputs....................2 Outputs.....................2 5VDC output...................3 RS-485....................3 LED Indicators................3 Configuration Memory..............3 Connect ors..............4 Connector Pin out overview...........4 J1 Pin out I/O..................4 J3 Pin out Power/RS-485............5 J4 Pin out GND/Shield Jumper..........5 J5 Pin out Shield................6 LED 1..4 Functions...............6 P rotocol s upport............7...
  • Page 4 Default Parameters..............11 Connect ing I/O............12 Contacts on inputs..............12 LEDs on outputs.................12 TTL devices on I/O..............13 WIEGAND device..............13 Barix TS Temperature Sensors..........15 Connect ing a B ar ix B ar ionet c ont roller..16 Power wiring................16 RS-485 wiring................16 Reference wire................16 RS-485 termination..............16 M odbus R egis t er Map..........17...
  • Page 7: Introduction

    Modbus capable master. Eight independent configurable inputs/outputs allow the use of the BARIX X8 in a wide range of I/O applications: - General I/O to RS-485 converter (inputs and outputs) - Up to eight push buttons (inputs) or LED’s for status display...
  • Page 8: Hardware

    3 spring contact connector blocks for wires AWG28 - AWG16 / 0.08 - 1.3 mm2 The BARIX X8 is equipped with a universal power input and Power supply accepts both AC and DC voltage. The AC supply range is12 to 24 requirements Volts and 9 to 30 Volts when powered by a DC power supply.
  • Page 9: 5Vdc Output

    Termination resistors are NOT provided on-board. A termination resistor may be added at each end of the RS-485 bus if required. The BARIX X8, as well as other Barix I/O extension units, feature soft pull-up (B) and pull down (A) 10kOhm resistors, which force the inactive bus to a relatively high impedance, idle condition.
  • Page 10: Connectors

    PRODUCT MANUAL - BARIX X8 - V01.05 - 10/26/2006 Connectors Connector Pin out | 1 | 2 | 3 | 4 | | 1 | 2 | 3 | 4 | overview | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9...
  • Page 11: J3 Pin Out Power/Rs-485

    An additional “Reference Ground” pin is provided Power/RS-485 (connected to the Signal ground of the BARIX X8 via a 100 Ohm resistor) and can be used for grounding applications. | 5 | 4 | 3 | 2 | 1 |...
  • Page 12: J5 Pin Out Shield

    PRODUCT MANUAL - BARIX X8 - V01.05 - 10/26/2006 J5 provides three pins for connecting shielded cables to the J5 Pin out BARIX X8. The three shield terminals are connected to signal Shield ground and to VCC via two 10nF capacitors. (See also J4 jumper for connecting the 3 shield pins on J5 to “Signal GND”)
  • Page 13: Protocol Support

    The BARIX X8 supports some special, Barix proprietary, Special Commands commands which have been implemented to ease configuration and facilitate the use of the BARIX X8 in conjunction with non- Modbus systems. These commands are: CMD (hex) Function...
  • Page 14: Exceptions

    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 BARIX X8 with Modbus address 5 to 01 which means output one on, all others off, outputs on the BARIX X8 with the Modbus address 6 to 02 which means output two on, all others off, devices with address 7 and 8 accordingly.
  • Page 15: Command 69

    PRODUCT MANUAL - BARIX X8 - V01.05 - 10/26/2006 The command code 69 (hex 45) is used to set a BARIX X8 device Command 69 which is connected to the bus and whose address is unknown (but serial parameters are correct).
  • Page 16: Command 71

    The command code 71 (hex 47) is used to erase the firmware of Command 71 a BARIX X8 device which is connected to the bus and whose address is unknown (but serial parameters are correct). The command can also be sent multiple times with different serial parameters to find the device.
  • Page 17: Configuration

    | 1 | 2 | 3 | 4 | reapply power to the device • The BARIX X8 will lite up all 4 LEDs and the 3 LED will blink showing that the default parameters are stored in the non volatile memory.
  • Page 18: Connecting I/O

    PRODUCT MANUAL - BARIX X8 - V01.05 - 10/26/2006 Connecting I/O The BARIX X8 features 8 I/Os which are set to work as inputs by Contacts on inputs default (Reg. 276=00h). The internal pull up resistors are enabled by default (Reg. 273=FFh). Buttons or contact closures can be attached to each input and to signal ground as shown in the schematic below.
  • Page 19: Ttl Devices On I/O

    PRODUCT MANUAL - BARIX X8 - V01.05 - 10/26/2006 Each BARIX X8 I/O can be set to work either as input or output. TTL devices on I/O External device TTL level I/Os can be attached to the I/Os and to signal ground as shown in the schematic below.
  • Page 20 So the WIEGAND data in this example is in fact: A8 DF D8 02 The BARIX X8 keeps this data in the registers 12 to 16 and will NOT read further WIEGAND data until register 11 is cleared (Reg. 11 = 00h).
  • Page 21: Barix Ts Temperature Sensors

    (DQ). Up to 8 Barix TS sensors can be attached to the BARIX X8 as shown in the schematic below: At Power-Up the BARIX X8 is scanning all 8 inputs (I/O0 – I/O7) for attached TS sensors. Each found sensor is represented by the...
  • Page 22: Connecting A Barix Barionet Controller

    When using two separate power supplies a third wire should be Reference wire used to ensure a common voltage level : Connect Pin 1 or Pin 6 (J7) to Pin 1 (J3) of the BARIX X8 • When the two devices need to be connected over a long distance...
  • Page 23: Modbus Register Map

    PRODUCT MANUAL - BARIX X8 - V01.05 - 10/26/2006 Modbus Register Map The BARIX X8 implements some registers in the Modbus address space. Access to unimplemented locations generates an exception. The Modbus address space is divided into multiple address maps, all 65536 registers in size.
  • Page 24: Configuration Data

    This information is read-only and cannot be overwritten. The information is accessible using standard reads from addresses 257..264. Register 257: set fixed to “0xB2” (stands for BARIX X8) Register 258: software version, 06 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...
  • Page 25 PRODUCT MANUAL - BARIX X8 - V01.05 - 10/26/2006 Configuration Device configuration can be set and read using standard Modbus registers commands. The BARIX X8 will reset its actual communications parameters to these values anytime it does not receive valid host communication for more than 5 seconds.
  • Page 26: Complete Register Map

    PRODUCT MANUAL - BARIX X8 - V01.05 - 10/26/2006 Detailed “register” map – again – please note that the protocol Complete address in Modbus/RTU is the register number less one !! Register Map Register Function Access Live I/O (Byte, output state bit 0..7) R, W Live I/O (Byte, input state bit 0..7)
  • Page 27: Complete Coils Map

    PRODUCT MANUAL - BARIX X8 - V01.05 - 10/26/2006 Detailed “coils” map – please note that in the protocol, address in Complete Coils Mobus/RTU is the coil number less one !! Coil Function 1..8 Output 0..7 Reserved, do not access 9..65536...
  • Page 29: Technical Specifications

    PRODUCT MANUAL - BARIX X8 - V01.05 - 10/26/2006 Technical specifications PIC 16F877A, 20MHz clock frequency 8 independent inputs/outputs (TTL level) or analog inputs or I/Os Dallas 1-wire temperature sensor inputs (Barix TS) Digital inputs: debouncing filter 48ms (active @ <=2.5VDC) Analog inputs: 0..5VDC sampling rate 62.5 Hz(16ms), 10bit...
  • Page 31 We explicitly reserve the right to change and improve the product without notice. All trademarks mentioned belong to their respective owners. Barix, BARIX X8 and Barionet are trademarks of Barix AG, Switzerland and are registered in certain countries. Barix AG Barix Technology Inc.

Table of Contents