TD-150: Difference between revisions

206 bytes removed ,  1 year ago
Line 818: Line 818:


For RS-485, lines A and B of the converter must be connected to lines A and B of the sensor
For RS-485, lines A and B of the converter must be connected to lines A and B of the sensor
[[Файл:Подключения для снятие лога RS-485 .png|без|мини|820x820пкс|'''<big>Подключения для снятие лога RS-485</big>''' ]]
[[File:RS-485 Logging Connections .png|none|thumb|648x648px|'''<big>RS-485 Logging Connections</big>''' ]]
Run [https://drive.google.com/file/d/10i7v4TZ9-JDJYPAh-9JSh4x6vkM93BVV/view?usp=sharing terminal.exe] and configure the COM port as shown below:
Run [https://drive.google.com/file/d/10i7v4TZ9-JDJYPAh-9JSh4x6vkM93BVV/view?usp=sharing terminal.exe] and configure the COM port as shown below:


Line 826: Line 826:


After connecting the converter correctly, select the COM port and click Connect. If the sensor is polled by the terminal and responds, then everything is in order.
After connecting the converter correctly, select the COM port and click Connect. If the sensor is polled by the terminal and responds, then everything is in order.
[[Файл:Датчик отвечает терминалу по RS-485.png|без|мини|667x667пкс|'''<big>Датчик отвечает терминалу по RS-485</big>''']]
[[File:Sensor responds to the terminal via RS-485.png|none|thumb|572x572px|'''<big>Sensor responds to the terminal via RS-485</big>''']]
If there is no communication between the two devices, try polling the sensor manually.
If there is no communication between the two devices, try polling the sensor manually.


To do this, enter the request '''31$01$06$6C''' for the sensor with network address 1 and click '''Send'''
To do this, enter the request '''31$01$06$6C''' for the sensor with network address 1 and click '''Send'''
[[Файл:Отправка запроса на датчик.png|без|мини|673x673пкс|'''<big>Отправка запроса на датчик</big>''']]
[[File:Sending a request to the sensor.png|none|thumb|585x585px|'''<big>Sending a request to the sensor</big>''']]
The structure of the request depends on the network address of the sensor. If you change the sensor address to 255, for example, then the request would look like this
The structure of the request depends on the network address of the sensor. If you change the sensor address to 255, for example, then the request would look like this


Line 840: Line 840:


In order to calculate the checksum, you can go to the '''[https://crccalc.com/ crccalc]''' website and enter your request without the '''$''' sign, select HEX, CRC-8/MAXIM and click Calc CRC-8
In order to calculate the checksum, you can go to the '''[https://crccalc.com/ crccalc]''' website and enter your request without the '''$''' sign, select HEX, CRC-8/MAXIM and click Calc CRC-8
[[Файл:Расчет CRC для адреса 255.png|без|мини|678x678пкс|'''<big>Расчет CRC для адреса 255</big>''']]
[[File:CRC calculation for address 255.png|none|thumb|665x665px|'''<big>CRC calculation for address 255</big>''']]
If the sensor is polled by the terminal and responds, then everything is in order.
If the sensor is polled by the terminal and responds, then everything is in order.


1,060

edits