TD-600: Difference between revisions
→Checking the connection between the sensor and the terminal via RS-485
| Line 871: | Line 871: | ||
If the sensor does not connect to the configurator, do the following: | If the sensor does not connect to the configurator, do the following: | ||
* Make sure that the correct COM port number is selected and that drivers and libraries are installed (STMicroelectronics Virtual COM Port (1)(C200M) or USB-SERIAL CH341A (2)(C200M2) in the COM and LPT ports section of the Windows device manager "to enter this menu, press win+r and enter devmgmt.msc and press OK (3) and then expand the com ports submenu (4)" | * Make sure that the correct COM port number is selected and that drivers and libraries are installed (STMicroelectronics Virtual COM Port (1)(C200M) or USB-SERIAL CH341A (2)(C200M2) in the COM and LPT ports section of the Windows device manager "to enter this menu, press win+r and enter devmgmt.msc and press OK (3) and then expand the com ports submenu (4)" | ||
* [[File:Com ports connected.png|frameless|691x691px]] | |||
* [[File:Com ports selection.png|frameless|697x697px]] | |||
* If possible, connect another sensor that is sure to work; if it connects, then there are no problems with the COM port or converter | * If possible, connect another sensor that is sure to work; if it connects, then there are no problems with the COM port or converter | ||
| Line 888: | Line 890: | ||
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 | ||
[[ | [[File:RS-485 Logging Connections .png|none|thumb|585x585px|'''<big>RS-485 Logging Connections</big>''']] | ||
Запустите [https://drive.google.com/file/d/10i7v4TZ9-JDJYPAh-9JSh4x6vkM93BVV/view?usp=sharing terminal.exe] и настройте СОМ порт как показано ниже: | Запустите [https://drive.google.com/file/d/10i7v4TZ9-JDJYPAh-9JSh4x6vkM93BVV/view?usp=sharing terminal.exe] и настройте СОМ порт как показано ниже: | ||
| Line 896: | Line 898: | ||
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. | ||
[[ | [[File:Sensor responds to the terminal via RS-485.png|none|thumb|529x529px|'''<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''' | ||
[[ | [[File:Sending a request to the sensor.png|none|thumb|528x528px|'''<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 910: | Line 912: | ||
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 | ||
[[ | [[File:CRC calculation for address 255.png|none|thumb|595x595px|'''<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. | ||