BARIX Barionet Скачать руководство пользователя страница 1

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

Содержание Barionet

Страница 1: ...ARIONET 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 ...

Страница 2: ...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...

Страница 3: ...ppendix 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 ...

Страница 4: ...he 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 th...

Страница 5: ...allas 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 ...

Страница 6: ...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 wi...

Страница 7: ...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 ...

Страница 8: ...t 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 ...

Страница 9: ...wn 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 cou...

Страница 10: ...e 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 Oc...

Страница 11: ...y also not with the peak load when turning on otherwise it can destroy the relay Barionet50 relay supports max 0 5A at 30VDC 15W peak Barionet100 relay supports max 5A at 240VAC 1200 Wp Another difference between Barionet 50 and 100 relays is the Barionet100 relay has 3 pins Common NO and NC NO means normally open and closes by switching NC means it s normally closed and opens by switching By sele...

Страница 12: ... your complete equipment is not powered during the installation Over the homepage or the control interface the relays can be switched the relay status LED will go on when switched ON 2 4 How to use a digital output The digital outputs of the Barionet100 must be used without or only with a very very low load otherwise please use a relay The digital outputs should be used for signaling only and not ...

Страница 13: ...ce yellow cable to 1W black cable to Ground For the Barionet100 the Barionet Family manual shows two different wiring schematics One looks like the following picture Here the sensor s black wire is connected to pin 14 of the J6 connector and the yellow wire is connected to pin 3 of the J5 connector over extension cable white wire Before connecting a temperature sensor to the Barionet you should tu...

Страница 14: ...can be requested from the Barionet registers also Information about reading the values from the Barionet registers and converting the register values you can find in chapter 4 On the Barionet50 also any other 1 wire sensors can be used but in this case all the 1 wire communication must be programmed over BCL for more information see BCL programmers manual BARIX AG 17 Oct 2013 Barionet Hands on Tra...

Страница 15: ...rol interfaces are available TCP UDP HTTP CGI SNMP Modbus TCP Other interfaces and commands can be added over the BCL programming language 3 1 How to use the TCP control interface To use the TCP control interface any Telnet application can be used like Telnet command from command prompt Teraterm Hyperterminal and so on But before it can be used it must be enabled in the Barionet setup under CONTRO...

Страница 16: ...ver the getio command the state of an input register can be requested In the picture above the state for register 1 is requested this register 1 is for the first relay register 1 99 is for the relays register 101 199 is for the digital outputs register 201 299 is for the digital inputs register 501 599 is for the analog inputs register 601 650 is for the temp sensors BARIX AG 17 Oct 2013 Barionet ...

Страница 17: ... pulsed 2 9999 switched on for a defined period in 1 10 seconds 3 2 How to use the UDP control interface To use the UDP control interface are probably not so much standard applications existing as for the TCP Control interface that could make it a little bit more complicated But using the UDP control interface has some advantages e g many network clients can use this UDP interface at the same time...

Страница 18: ... Message button will be created which sends the command setio 1 999 when pressed This command will toggle the Barionet relay 1 to reverse state as soon the command is received Note after saving the ICgraph configuration the application should be also restarted to get the new configuration active For monitoring the state of the relay in ICgraph a dynamic label can be used Two steps are necessary fo...

Страница 19: ... UDP network message will be displayed in this label field on Icgraph As final result there is a button to switch the Barionet relay and a little status field showing the current state after last relay switching Such state information can be requested from ICgraph also periodically e g every 3 seconds In the ICgraph software package is a Barionet demo configuration that allows a much better Barion...

Страница 20: ...s Type in the browser s URL line the command http ip address rc cgi o x y x Barionet register number y register value and the Barionet will immediately change the status of the selected register relay output See example above in the picture Requesting an input state over CGI is per default not implemented in the Barionet but it can be easily added over BCL BARIX AG 17 Oct 2013 Barionet Hands on Tr...

Страница 21: ...ppendix see chapter 6 1 the MIB Browser third party software from the company iReasoning Inc is used as demo 3 5 How to communicate with Modbus Modbus is an industrial standard protocol for communication with devices There are some different ways to communicate with Modbus to the Barionet to the Barionet itself over Modbus TCP over Modbus RTU or Modbus ASCII to a Barionet serially connected device...

Страница 22: ...amming language BCL the Barionet can communicate also as Modbus Master directly over Modbus with serially connected Modbus RTU slave devices programming DEMOs for that are available For the communication with Barionet extension units is no Barionet required they can also work standalone and communicate over RS485 with Modbus RTU to any other Modbus Master BARIX AG 17 Oct 2013 Barionet Hands on Tra...

Страница 23: ...ster value value in V e g 5 1023 332 1 62 V 4 2 Converting temperature register value When reading a value from the Barionet temperature register register 601 650 then the real voltage value must be calculated The calculation for the temperature value is register value 5 80 value in Celsius e g 332 5 80 20 7 C or register value 9 2560 80 value in Fahrenheit e g 332 9 2560 80 69 3 F BARIX AG 17 Oct...

Страница 24: ...barix com Generally the power for the extension unit can be taken from the Barionet itself but make sure the power supply of the Barionet can supply enough power for all connected devices When the extension unit is too far away from the Barionet or should run with a different voltage then it should be powered separately Per RS485 specification the maximum RS485 cable length is 4000 feets or 1200 m...

Страница 25: ...it then connect it to the previous extension unit also over an additional 4 pin extension cable The 4 pin cable provides power and also the RS485 connection to the extensions 5 1 2 Barionet100 To connect the first extension unit with the Barionet100 wiring in the following way BARIX AG 17 Oct 2013 Barionet Hands on Training Guide Page 25 38 ...

Страница 26: ...5 Pin 5 of J3 5 2 Required BCL application for Barionet That a Barionet can communicate with one or more connected Barionet extension units it needs a BCL application loaded on the Barionet Barix has developed many BCL applications which can be used as they are or they can be used also as base for your own development source code mostly included Here are examples of existing BCL applications e g t...

Страница 27: ...L application to Barionet To load a BCL application to your Barionet select the in the package contained file Barionetbcl cob and upload it to web area WEB4 case sensitive of your Barionet At this point there is a difference for the Barionet50 and the Barionet100 For the Barionet50 you can use the web update function sub page Advanced update BARIX AG 17 Oct 2013 Barionet Hands on Training Guide Pa...

Страница 28: ...xtension units If set correctly then click the APPLICATION SETUP button and change to the Modbus addressing page At the beginning all your extensions can be connected at the same time When you have multiple extension devices connected to your Barionet then you need to address these Please use the upper part of this page to assign a Modbus address between 255 and 249 default is 255 to your extensio...

Страница 29: ...g table you can see the Modbus address the device type and the assigned Barionet registers for the IOs of each extension device These registers can be controlled now from all Barionet control interfaces TCP UDP CGI SNMP and Modbus TCP or from the IO control page BARIX AG 17 Oct 2013 Barionet Hands on Training Guide Page 29 38 ...

Страница 30: ...equest SNMP devices and servers support a Standard MIB table see next picture which contains some network and general device statistics but also a Private MIB device specific table shown on following pictures is possible Both Barionets offer a Private MIB on their homepage for download under Configuration SNMP Such Private MIB can be installed on the SNMP server application to control these Barion...

Страница 31: ...input IO registers and select the Set option On the iReasoning MIB Browser opens now a new window there the desired value to write to this register can be set In the picture below the register 1 to set is the opposite value as it currently is from 1 to 0 As result the Barionet relay is switching and a successful message opens BARIX AG 17 Oct 2013 Barionet Hands on Training Guide Page 31 38 ...

Страница 32: ...ATION SNMP When enabled the Barionet will send SNMP traps whenever an input state is changing on the Barionet or at reboot To receive a SNMP trap you need a SNMP Trap receiver software installed on your PC as shown below BARIX AG 17 Oct 2013 Barionet Hands on Training Guide Page 32 38 ...

Страница 33: ...mmand shown shows relay 2 is active How to configure it with the Chipkin Automation software Following are 3 configuration examples one to read the status of all 4 relays outputs one to write set a relay output one to read a temperature value But before the Read write request can be defined a connection and a device number address must be defined When using Modbus TCP then the Device address is no...

Страница 34: ...e length 4 defines the number registers to read inclusive start register To write set a Modbus Barionet register add a Write for 05 Force Single Coil The offset 2 means it writes to register 2 the defined value 1 In this case it will activate the second Barionet relay BARIX AG 17 Oct 2013 Barionet Hands on Training Guide Page 34 38 ...

Страница 35: ...dd a request for 04 Read Input registers The offset 601 means it will start with Modbus register 601 Barionet register for the first temperature sensor the length 1 defines that only one register will be read BARIX AG 17 Oct 2013 Barionet Hands on Training Guide Page 35 38 ...

Страница 36: ...nce of any engines or modems and so on All Barionets are using a Lantronix chip inside this company offers also a good serial redirector software The Lantronix Redirector software in version 3 1 0 4 is used in the following example After installation of the Redirector software open it and choose add under Com Setup the new virtual COM port e g COM5 then save the settings and reboot your PC When th...

Страница 37: ...d be not answered from your distributor then there are some support resources in the internet available http bcl applications info This link offers DEMO BCL applications for Barix products e g for the Barionet extension units and many more http tech groups yahoo com group barionet That s the link to the Barionet Yahoo Support forum there you will find answers to many asked questions Barionet exper...

Страница 38: ...ence only Barix and Barionet are trademarks of Barix AG Switzerland and are registered in certain countries For information about our devices and the latest version of this manual please visit www barix com Barix AG Seefeldstrasse 303 8008 Zürich SWITZERLAND T 41 43 433 22 11 F 41 44 274 28 49 www barix com sales barix com support barix com BARIX AG 17 Oct 2013 Barionet Hands on Training Guide Pag...

Отзывы: