User Tools

Site Tools


connecting_external_devices

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
connecting_external_devices [2021/08/05 09:33] – [External devices connecting] emozolyakconnecting_external_devices [2022/01/14 21:37] (current) – ↷ Links adapted because of a move operation 127.0.0.1
Line 1: Line 1:
-{{ :conn-cable-3.png?nolink&100|}}+{{ network:conn-cable-3.png?nolink&100|}}
  
 ====== External devices connecting ====== ====== External devices connecting ======
Line 16: Line 16:
 Wiring diagram of WEBHMI to devices with RS-485 interface. Wiring diagram of WEBHMI to devices with RS-485 interface.
  
-{{ ::rs-485_conn.png?direct&600 |}}+{{ network:rs-485_conn.png?direct&600 |}}
  
 Probably (if you already have experience with this interface), after reading the phrase RS-485, you immediately decide to use a 2-wire circuit, connecting to the standard terminals A and B, since only 2 wires are really enough to transmit the signal (a lot of specialists adhere to this opinion). However, this is a generally accepted error. The EIA/RS-485 standard says that 3rd wire is needed:  Probably (if you already have experience with this interface), after reading the phrase RS-485, you immediately decide to use a 2-wire circuit, connecting to the standard terminals A and B, since only 2 wires are really enough to transmit the signal (a lot of specialists adhere to this opinion). However, this is a generally accepted error. The EIA/RS-485 standard says that 3rd wire is needed: 
  
-{{ ::standard_485.png?direct&600 |}}+{{ network:standard_485.png?direct&600 |}}
  
 Sources for the formation this fallacy can be: Sources for the formation this fallacy can be:
Line 40: Line 40:
 Thus, for a reliable connection it is necessary to use a 3-wire circuit. The operation of the three-wire circuit is shown in the following figure:  Thus, for a reliable connection it is necessary to use a 3-wire circuit. The operation of the three-wire circuit is shown in the following figure: 
  
-{{ ::rs-485-sch.png?direct&600 |}}+{{ network:rs-485-sch.png?direct&600 |}}
  
 Here Vos is the transmitter bias voltage (measured relative to the common and midpoint of the voltage divider with the same shoulders connected to the A and B outputs), Vgpd is the voltage between the "common points" of the transmitter and receiver, Vnoise is the voltage of the electromagnetic " line, Vcm is the common-mode interference voltage applied to both inputs of the receiver, which adds up as Vgpd + Vos + Vnoise. The transmitter modulates the differential voltage, forming a signal. The receiver must recognize this signal in the presence of strong interference, and it does this very effectively, but within certain limits. The voltage values ​​for the transmitter and receiver are limited by the standard and range from -7 to + 12V (+/- 7V with respect to the 0..5V signal).  Here Vos is the transmitter bias voltage (measured relative to the common and midpoint of the voltage divider with the same shoulders connected to the A and B outputs), Vgpd is the voltage between the "common points" of the transmitter and receiver, Vnoise is the voltage of the electromagnetic " line, Vcm is the common-mode interference voltage applied to both inputs of the receiver, which adds up as Vgpd + Vos + Vnoise. The transmitter modulates the differential voltage, forming a signal. The receiver must recognize this signal in the presence of strong interference, and it does this very effectively, but within certain limits. The voltage values ​​for the transmitter and receiver are limited by the standard and range from -7 to + 12V (+/- 7V with respect to the 0..5V signal). 
Line 51: Line 51:
 First of all, after connecting the device and creating a connection, you can create a register in a known state, for example, the bit "always on", etc. After the register is created, its value (Value) will be displayed with the register list:  First of all, after connecting the device and creating a connection, you can create a register in a known state, for example, the bit "always on", etc. After the register is created, its value (Value) will be displayed with the register list: 
  
-{{ ::read-error.png?direct&912 |}}+{{ network:read-error.png?direct&912 |}}
  
 A dash line instead of value means that there is no connection established. In this case first double check the cable and the settings on both sides. Cables are sources of issues in most cases. A dash line instead of value means that there is no connection established. In this case first double check the cable and the settings on both sides. Cables are sources of issues in most cases.
connecting_external_devices.txt · Last modified: 2022/01/14 21:37 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki