BARIX Barionet Guía de configuración

B A R I O N E T
Document Name: Barionet Hands-on Training Guide
Document ID: 20131017SG2
Document Date: 17. Oct. 2013
Document Version: 1.31
Firmware name: Barionet
FW Release Date:
Package Name:
HANDS-ON TRAINING GUIDE

Table of Content
1 Introduction................................................................................4
1.1 About “Barionet”..................................................................................................4
1.2 About this manual.................................................................................................4
1.3 Product features (Interfaces)..............................................................................5
2 How to use the hardware interfaces.....................................6
2.1 How to use the digital inputs ?..........................................................................6
2.1.1 Connecting the input directly to input ground.................................7
2.1.2 Using digital input with a switch / button...........................................8
2.1.3 Using digital input with a sensor...........................................................9
2.2 How to use the analog inputs ?.......................................................................10
2.3 How to use / wire a relay ?..............................................................................11
2.4 How to use a digital output ?..........................................................................12
2.5 How to use / connect a Barix Temp sensor ?.............................................13
3 How to use the control interfaces.......................................15
3.1 How to use the TCP control interface ?......................................................15
3.2 How to use the UDP control interface ?.....................................................17
3.3 How to use the HTTP/CGI control interface ?..........................................20
3.4 How to use the SNMP control interface ?...................................................21
3.5 How to communicate with Modbus ?...........................................................21
4 How to convert register values............................................23
4.1 Converting analog register value....................................................................23
4.2 Converting temperature register value........................................................23
5 How to connect extension units to the Barionet..............24
5.1 Wiring.................................................................................................................... 25
5.1.1 Barionet50................................................................................................25
5.1.2 Barionet100............................................................................................. 25
BARIX AG | 17. Oct. 2013 | Barionet Hands-on Training Guide | Page 2/38

5.2 Required BCL application for Barionet.........................................................26
5.3 Loading BCL application to Barionet.............................................................27
5.4 Using Barionet Extension Addressing Tool..................................................28
6 Appendix – Third Party softwares.......................................30
6.1 MIB Browser from iReasoning Inc..................................................................30
6.1.1 SNMP Request........................................................................................30
6.1.2 SNMP Trap...............................................................................................32
6.2 Modbus Scanner from Chipkin Automation Systems...............................33
6.3 Serial Redirector software from Lantronix Inc...........................................36
7 Important Barionet help links..............................................37
8 Legal Information....................................................................38
BARIX AG | 17. Oct. 2013 | Barionet Hands-on Training Guide | Page 3/38

1 Introduction
1.1 About “Barionet”
The Barionet is a network PLC (programmable logic controller). It offers
hardware interfaces to connect sensors, switches, devices (e.g.: serial
RS232 / RS485, 1-wire and Wiegand) and many IOs to connect switches or
sensors or devices. Beside that the Barionet offers Control interfaces (e.g.
TCP, UDP, HTTP/CGI, SNMP, Modbus/TCP) and the BCL programming
interface to control IOs or communicate to his connected equipment. The
Barionet is very universal and has excellent communication capabilities.
1.2 About this manual
Beside this guide is also a complete product manual existing. This guide is
more focused on some little exercise how to use the IO and the other
interfaces practically. It describes procedures on a very low level, so that also
Barionet beginners and users with limited electrical or IT-knowledge can
follow.
BARIX AG | 17. Oct. 2013 | Barionet Hands-on Training Guide | Page 4/38

1.3 Product features (Interfaces)
Barionet50:
4 digital inputs
4 relays (digital, max 0.5A at 30VDC)
1 serial RS232 interface
1 serial RS485 interface
1 Dallas One-wire interface
1 network interface
Barionet100:
8 digital inputs (inputs 1-4 are usable as analog input also)
4 digital outputs
2 relays (digital, max. 5A at 240VAC)
1 serial RS232 interface
1 serial RS485 interface
1 Dallas One-wire interface
1 Wiegand interface
1 network interface
BARIX AG | 17. Oct. 2013 | Barionet Hands-on Training Guide | Page 5/38

2 How to use the hardware interfaces
This chapter will explain how to use the hardware IO interfaces and how to
wire your equipment to the Barionet.
When following these instructions, then please make always sure that your
Barionet is not powered up during wiring/connecting your equipment to the
Barionet !
Please make also sure you not overload (not too high voltage or load) the
Barionet´s hardware interfaces (like inputs, outputs or relays).
2.1 How to use the digital inputs ?
A digital input of the Barionet knows only two states : ON (1) or OFF (0)
On the Barionet100 the input polarity can be changed in the configuration
setup (under “IO”).
There are three different ways to use a digital input :
A – connecting input to ground directly
B – using with a (manual) button/switch
C – using with a sensor (or automatic switch)
BARIX AG | 17. Oct. 2013 | Barionet Hands-on Training Guide | Page 6/38

2.1.1 Connecting the input directly to input ground
A digital input can be connected directly to the input ground. So the inputs
can be easily tested. For that connect any digital input to the digital ground.
On the Barionet 50 connect pin 1 of the J7 connector with pin 1 of J8.
On the Barionet100 connect e.g. Pin1 and Pin9 of the J6 connector (see
picture above).
As result you will see a
color change for Input
1 on the Barionet´s
homepage.
BARIX AG | 17. Oct. 2013 | Barionet Hands-on Training Guide | Page 7/38

2.1.2 Using digital input with a switch / button
That´s very similar to the previous section, take any switch or button and
connect it between the digital input and the input ground of the Barionet.
When properly connected, then you should see changing the color on the
Barionet´s homepage for the according input when pressing your button or a
changing value in the according Barionet IO register.
BARIX AG | 17. Oct. 2013 | Barionet Hands-on Training Guide | Page 8/38

2.1.3 Using digital input with a sensor
There are thousands of sensors on the market, e.g. like motion detector,
optical sensors (photoelectric switch), humidity detector, magnetic contact
switch, float switch, .....
In the picture below is used a powered contact sensor on the Barionet, here
is a wiring diagram of this sensor:
The blue and the brown cable are the power cables
of the sensor. In this case the Barionet50 (pin 1+2
of J10) is powering the sensor.
The signal wire of the sensor is connected to input
1 of the Barionet.
Attention, before doing that make sure the sensor can handle the same
power as the Barionet is using and your PSU is providing enough power for
Barionet + sensor! The sensor can be powered externally also, in this case it
could make sense to use the same ground as reference for the input signal.
BARIX AG | 17. Oct. 2013 | Barionet Hands-on Training Guide | Page 9/38

2.2 How to use the analog inputs ?
Over the analog inputs the Barionet100 can measure voltages. Only the
Barionet100 has 4 analog inputs (inputs 1- 4).
To measure voltages from 0-5 V connect the “+” wire to an input (e.g. pin 1 of
J6 connector) and the “–“ wire to the input ground (pin 9 of the J6 connector).
For this test a simple battery can be used. It´s recommended to turn off the
internal pull-up resister in the Barionet setup (under I/O).
On the Barionet´s homepage is shown the measured voltage now.
If you have (or if you expect) higher voltages than 5V then you must use an
additional voltage divider. Please check the Barionet Family manual for more
BARIX AG | 17. Oct. 2013 | Barionet Hands-on Training Guide | Page 10/38
Tabla de contenidos
Otros manuales de Controladores de BARIX




















