<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.barix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vanoorta</id>
	<title>Barix Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.barix.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vanoorta"/>
	<link rel="alternate" type="text/html" href="https://wiki.barix.com/index.php?title=Special:Contributions/Vanoorta"/>
	<updated>2026-04-25T23:09:46Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.barix.com/index.php?title=RS485_Termination&amp;diff=172</id>
		<title>RS485 Termination</title>
		<link rel="alternate" type="text/html" href="https://wiki.barix.com/index.php?title=RS485_Termination&amp;diff=172"/>
		<updated>2009-01-05T16:48:31Z</updated>

		<summary type="html">&lt;p&gt;Vanoorta: /* Line Bias */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;'''RS-485 line termination and &amp;quot;pull up/pull down&amp;quot;'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several Barix products provide an RS-485 interface.&lt;br /&gt;
&lt;br /&gt;
= General Comments =&lt;br /&gt;
&lt;br /&gt;
An RS-485 (sometimes also written RS485) interface is generally bidirectional, a &amp;quot;bus&amp;quot; structure (which is different to RS-422, which is point-to-point).&lt;br /&gt;
&lt;br /&gt;
To work as a bidirectional device, the transmitter generally must be switched off and only drive the line if the device has something to say.&lt;br /&gt;
&lt;br /&gt;
The RS-485 signal uses 2 wires, which are driven alternatively (inverse). the receivers look at the difference, not the absolute voltage value, of the two wires - a difference of higher than 0.3V (300mV) is accepted as a valid signal, absolute values below 0.3V are considered &amp;quot;undefined&amp;quot; and may result in either high or low reading.&lt;br /&gt;
&lt;br /&gt;
In many applications, a &amp;quot;ground reference&amp;quot; line is available in addition to the 2 data lines (typically connected to the device ground through a 100 Ohm resistor), but this is not absolutely necessary.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of information about the RS-485 technology in general on the internet, for example in Wikipedia.&lt;br /&gt;
&lt;br /&gt;
= Line Termination =&lt;br /&gt;
&lt;br /&gt;
For high speed applications, the bus should be terminated to avoid electrical reflections which can disturb the signal. Line termination must only be done at both ends of the bus - not anywhere at a device in the middle. &lt;br /&gt;
Our experience is that line termination is &amp;quot;optional&amp;quot;, and not required in many installations, if slower speeds (such as 19200 baud in case of Modbus/RTU) are used. Barix devices currently do *not* provide onboard termination resistors.&lt;br /&gt;
&lt;br /&gt;
= Line Bias =&lt;br /&gt;
&lt;br /&gt;
Line bias is critical in RS-485 applications. At times where no transmitter is active, the bus should be forced to the &amp;quot;idle&amp;quot; state. This is typically done at the master side.&lt;br /&gt;
&lt;br /&gt;
The Barionet is not necessarily a master - it is a universal device which can be used as master or slave on an RS-485 bus infrastructure. A common technique to get to reasonable line bias, implemented in the Barix devices, is to use &amp;quot;weak&amp;quot; (10kOhm or similar) pullups and pulldowns in each device to provide the line bias.&lt;br /&gt;
&lt;br /&gt;
Barix devices all do this - if no transmitter is active, the bus is pulled via these resistors (in every device !) to the idle state so all devices see the correct difference no the bus.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HOWEVER: 3rd party devices may not do this, or may even disturb this biasing by low impedance or reverse polarity biasing.&lt;br /&gt;
The problem can be clearly deteced if such a device is connected to the Barionet- the RS-485 indicator LED will stay &amp;quot;on&amp;quot; because an active transmission is detected. If you want to use such a device with Barix equipment, you need to provide (stronger) bias outside of the Barix devices, by using 2 resistors to pull up and pull down the two bus lines correctly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(NOTE:  Often times a single pull-down resistor will do the trick.  We typically use a 1000 ohm resistor between the RS485- and RS485 shield on J7 of the BarioNet when using it with our RS485 i/o devices.  - Adam)&lt;/div&gt;</summary>
		<author><name>Vanoorta</name></author>
	</entry>
	<entry>
		<id>https://wiki.barix.com/index.php?title=RS485_Termination&amp;diff=171</id>
		<title>RS485 Termination</title>
		<link rel="alternate" type="text/html" href="https://wiki.barix.com/index.php?title=RS485_Termination&amp;diff=171"/>
		<updated>2009-01-05T16:48:16Z</updated>

		<summary type="html">&lt;p&gt;Vanoorta: /* Line Bias */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;big&amp;gt;'''RS-485 line termination and &amp;quot;pull up/pull down&amp;quot;'''&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Several Barix products provide an RS-485 interface.&lt;br /&gt;
&lt;br /&gt;
= General Comments =&lt;br /&gt;
&lt;br /&gt;
An RS-485 (sometimes also written RS485) interface is generally bidirectional, a &amp;quot;bus&amp;quot; structure (which is different to RS-422, which is point-to-point).&lt;br /&gt;
&lt;br /&gt;
To work as a bidirectional device, the transmitter generally must be switched off and only drive the line if the device has something to say.&lt;br /&gt;
&lt;br /&gt;
The RS-485 signal uses 2 wires, which are driven alternatively (inverse). the receivers look at the difference, not the absolute voltage value, of the two wires - a difference of higher than 0.3V (300mV) is accepted as a valid signal, absolute values below 0.3V are considered &amp;quot;undefined&amp;quot; and may result in either high or low reading.&lt;br /&gt;
&lt;br /&gt;
In many applications, a &amp;quot;ground reference&amp;quot; line is available in addition to the 2 data lines (typically connected to the device ground through a 100 Ohm resistor), but this is not absolutely necessary.&lt;br /&gt;
&lt;br /&gt;
You can find a lot of information about the RS-485 technology in general on the internet, for example in Wikipedia.&lt;br /&gt;
&lt;br /&gt;
= Line Termination =&lt;br /&gt;
&lt;br /&gt;
For high speed applications, the bus should be terminated to avoid electrical reflections which can disturb the signal. Line termination must only be done at both ends of the bus - not anywhere at a device in the middle. &lt;br /&gt;
Our experience is that line termination is &amp;quot;optional&amp;quot;, and not required in many installations, if slower speeds (such as 19200 baud in case of Modbus/RTU) are used. Barix devices currently do *not* provide onboard termination resistors.&lt;br /&gt;
&lt;br /&gt;
= Line Bias =&lt;br /&gt;
&lt;br /&gt;
Line bias is critical in RS-485 applications. At times where no transmitter is active, the bus should be forced to the &amp;quot;idle&amp;quot; state. This is typically done at the master side.&lt;br /&gt;
&lt;br /&gt;
The Barionet is not necessarily a master - it is a universal device which can be used as master or slave on an RS-485 bus infrastructure. A common technique to get to reasonable line bias, implemented in the Barix devices, is to use &amp;quot;weak&amp;quot; (10kOhm or similar) pullups and pulldowns in each device to provide the line bias.&lt;br /&gt;
&lt;br /&gt;
Barix devices all do this - if no transmitter is active, the bus is pulled via these resistors (in every device !) to the idle state so all devices see the correct difference no the bus.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
HOWEVER: 3rd party devices may not do this, or may even disturb this biasing by low impedance or reverse polarity biasing.&lt;br /&gt;
The problem can be clearly deteced if such a device is connected to the Barionet- the RS-485 indicator LED will stay &amp;quot;on&amp;quot; because an active transmission is detected. If you want to use such a device with Barix equipment, you need to provide (stronger) bias outside of the Barix devices, by using 2 resistors to pull up and pull down the two bus lines correctly.&lt;br /&gt;
&lt;br /&gt;
(NOTE:  Often times a single pull-down resistor will do the trick.  We typically use a 1000 ohm resistor between the RS485- and RS485 shield on J7 of the BarioNet when using it with our RS485 i/o devices.  - Adam)&lt;/div&gt;</summary>
		<author><name>Vanoorta</name></author>
	</entry>
</feed>