SmartHardware RS-485 Скачать руководство пользователя страница 9

SmartHardware 

User Guide STR1000008X 

9

 

 

3. RS-485 line 

This controller manages the RS-485 line intelligently. 
 

Controller can perform one command while receiving second command. 
 

Unlike any other similar controllers, it checks the correct information, 
which returns as result.

 

When controller transmits, simultaneously 

read the information transmitted from RS-485 line. Each byte is 
compared for validity. When an error is detected, transmission is 

terminated.

 

This helps to quickly release the line. In case of a short 

circuit on the line, the transmitter is protected against overload. 

Baud rate (300 – 115200) 

At any time you can set new speed. The next command already is taken on 
new speed. There is no need to reboot the controller. 
 
 

R1, R2, R3 for RS485 line 

By default, this controller comes with a transmitter 

SN75176

. This transmitter 

has an input 1 unit load (12k ohms). By default, the line must be terminated 
with two resistors of 120 ohms at both ends. You can connect up to 32 
controllers. 

 
R1 and R3 must be calculated according line. Into account, must take the 

resistance of the wires. 
 

By default, R1=R3=560 ohms. R2=120 ohms. When  jumper set, resistor 
connected to line. 

 

How to calculate the values of R1 and R3 with 120 ohm resistors at both ends. 
 

Example:

 10 controllers and 5 V supply. 

 

Each RS-485 node has a load impedance of 12K ohms. 10 nodes in parallel 
give a load of 1200 ohms. Additionally, the two 120 ohms termination resistors 

result in another 60 ohms load, for a total load of 57 ohms (1200 and 60 in 
parallel). Clearly the termination resistors are responsible for a majority of the 
loading. In order to maintain at least 200mV between the B and A line, we 

need a bias current of 3.5 mA (200mV/57=3.5mA) to flow through the load. To 
create this bias from a 5V supply a total series resistance of 1428 ohms or less 

is required. Subtract the 57 ohms that is already a part of the load, and we are 
left with 1371 ohms. Placing half of this value as a pullup to 5V and half as a 

pulldown to ground gives a maximum bias resistor value of 685 ohms for each 
of the two biasing resistors. 

R1=R3=680 ohms. 

 

Содержание RS-485

Страница 1: ...SmartHardware User Guide STR1000008X 1 STR1000008X RS 485 smart programmable controller Ver 1 3 2014 Software ver 1 1 2013 ...

Страница 2: ...ounter 4 bytes User Data RAM 4 bytes User Data EEPROM 4 bytes Analog Inputs 8 0 10 V Rin 91k step 0 01 V 10bit ADC 0 20 mA Rsh 500 step 0 02 mA Power Supply 5V 30mA or 9 24V 20mA for 12V Dimensions 162 x 31x 20 mm Dimensions for installation 152 x 21 5 mm Weight 38 33gr v 2 1 Compared to version v2 0 was added protection for reversal of the power supply of controller Changed the scheme of the anal...

Страница 3: ...SmartHardware User Guide STR1000008X 3 ...

Страница 4: ...SmartHardware User Guide STR1000008X 4 ...

Страница 5: ...SmartHardware User Guide STR1000008X 5 v 2 0 ...

Страница 6: ...SmartHardware User Guide STR1000008X 6 ...

Страница 7: ...TR1000008X 7 Analog Input 1 Analog Input 5 Analog Input 4 Analog Input 8 GND GND V 5 9 24V or Gnd R1 B A Gnd R2 R3 560ohm 560ohm 120ohm 5V RS 485 Jp1 Jp3 Jp2 JR2 JR2 JR1 JR1 JR3 JR3 RS 485 CPU 9 24V to 5V B A G 5V Load Defaults ...

Страница 8: ...n normal mode The blue LED will flash briefly Check the PDF file with commands for a full explanation page 3 IMPORTANT Do not change jumpers for power when voltage for power is applied to the controller The controller is powered by a switching converter for 5V It might pulses from switching the jumper to erase the software built into the microcontroller Jumpers should be switched ONLY when the con...

Страница 9: ...You can connect up to 32 controllers R1 and R3 must be calculated according line Into account must take the resistance of the wires By default R1 R3 560 ohms R2 120 ohms When jumper set resistor connected to line How to calculate the values of R1 and R3 with 120 ohm resistors at both ends Example 10 controllers and 5 V supply Each RS 485 node has a load impedance of 12K ohms 10 nodes in parallel g...

Страница 10: ...t termination R1 R3 4 3K ohms Bias resistors can be placed anywhere in the network or can be split among multiple nodes The parallel combination of all bias resistors in a system must be equal to or less than the calculated biasing requirements We produce these controllers For your convenience we can solder other resistors We can leave blank the space and you can solder the resistors that you need...

Страница 11: ...hod of connecting to network Principle of operation When operating the controller uses a buffer of 40 bytes maximum for each command While performing a command it may receive next Before receiving the last byte of the second command the first must be finished If not then the second will be ignored When a command is sent to reprogram something must be borne in mind that one byte programming take ti...

Страница 12: ...r to RS 485 line 4 Program new controller number 5 Program new analog inputs number for direct access 6 Program mode V A for analog inputs 7 Controller is ready for use 8 You can connect next controller You can use any transmitter for the management of this controller It is enough to maintain the required speed and input impedance is complies with the network Thank you for using our products For c...

Отзывы: