TD-500: Difference between revisions
→The sensor does not connect or is not recognized in the application
| Line 783: | Line 783: | ||
== '''<big>The sensor does not connect or is not recognized in the application</big>''' == | == '''<big>The sensor does not connect or is not recognized in the application</big>''' == | ||
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''')" [[Файл:Ком порты С200М и С200М2.png|877x877пкс]] [[Файл:Выбор ком порта и ДУТ.png]] | ||
* | * If possible, connect another sensor that is sure to work; if it connects, then there are no problems with the COM port or converter | ||
* | * Connect another USB cable to the C200M (ADD PWR connector); check if the USB cable is working | ||
* | * If another converter is used, ensure that sufficient power is supplied to the sensor (12 volts is optimal) | ||
* | * When connecting the sensor, press Search for sensors within 15 seconds after power is applied to the sensor | ||
* | * If the above does not help, reflash the FW of the sensor | ||
* | * If you cannot complete the firmware, contact our technical support | ||
== '''<big>Checking the connection between the sensor and the terminal via RS-485</big>''' == | == '''<big>Checking the connection between the sensor and the terminal via RS-485</big>''' == | ||
If the sensor, for some reason, after you have configured everything correctly, does not transmit data to the terminal, you need to find out whether data is being exchanged between devices. | |||
To do this, connect the sensor to the terminal via RS-485. Connect power to both devices. | |||
After that, take the RS-485-USB converter and connect it between the sensor and the terminal as shown below: | |||
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>''' ]] | [[Файл:Подключения для снятие лога RS-485 .png|без|мини|820x820пкс|'''<big>Подключения для снятие лога RS-485</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 807: | Line 807: | ||
Baud rate – 19200, Parity – None, Stop-bits – 1, Handshaking – None | Baud rate – 19200, Parity – None, Stop-bits – 1, Handshaking – None | ||
Also, check HEX or ASCII depending on the format in which information from the sensor will be transmitted. For all sensors except the TD-600 configured in RS-232 mode, you must select HEX. | |||
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>''']] | [[Файл:Датчик отвечает терминалу по RS-485.png|без|мини|667x667пкс|'''<big>Датчик отвечает терминалу по RS-485</big>''']] | ||
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''' | |||
[[Файл:Отправка запроса на датчик.png|без|мини|673x673пкс|'''<big>Отправка запроса на датчик</big>''']] | [[Файл:Отправка запроса на датчик.png|без|мини|673x673пкс|'''<big>Отправка запроса на датчик</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 | |||
'''31$FF$06$29''' | '''31$FF$06$29''' | ||
'''FF''' - 255 | '''FF''' - 255 in HEX | ||
'''29''' - | '''29''' - '''CRC''' checksum calculated for a specific request | ||
Для того, чтобы посчитать контрольную сумму, вы можете перейти на сайт '''[https://crccalc.com/ crccalc]''' и ввести ваш запрос без знака '''$''', выбрать HEX, CRC-8/MAXIM и нажать Calc CRC-8 | Для того, чтобы посчитать контрольную сумму, вы можете перейти на сайт '''[https://crccalc.com/ crccalc]''' и ввести ваш запрос без знака '''$''', выбрать HEX, CRC-8/MAXIM и нажать Calc CRC-8 | ||
[[Файл:Расчет CRC для адреса 255.png|без|мини|678x678пкс|'''<big>Расчет CRC для адреса 255</big>''']] | [[Файл:Расчет CRC для адреса 255.png|без|мини|678x678пкс|'''<big>Расчет CRC для адреса 255</big>''']] | ||
If the sensor is polled by the terminal and responds, then everything is in order. | |||
If the sensor does not respond to the terminal, but responds to a request you send manually, you should check your terminal's RS-485 ports. | |||
If the sensor does not respond to anything, the standard FLS diagnostic procedure should be carried out. | |||
= '''<big>Description of the LLS protocol</big>''' = | = '''<big>Description of the LLS protocol</big>''' = | ||
Протокол описан в данном [https://docs.google.com/spreadsheets/d/12cmqjmKU7KKg6ms8wnTsv6Ttb1gohf8b/edit?usp=sharing&ouid=113197106569288024895&rtpof=true&sd=true документе] | Протокол описан в данном [https://docs.google.com/spreadsheets/d/12cmqjmKU7KKg6ms8wnTsv6Ttb1gohf8b/edit?usp=sharing&ouid=113197106569288024895&rtpof=true&sd=true документе] | ||
Example of a request and response for 1 network address: | |||
Request: '''''31 01 06 6C''''' | |||
Response from sensor: '''''3E 01 06 19 01 00 92 5D BE''''' | |||
= '''<big>Purpose of contacts and wires</big>''' = | = '''<big>Purpose of contacts and wires</big>''' = | ||
| Line 844: | Line 844: | ||
= '''<big>Remote control of FLS Escort</big>''' = | = '''<big>Remote control of FLS Escort</big>''' = | ||
At the moment, Navtelecom and GlonassSoft terminals have the ability to configure wired Escort FLS by remotely connecting to the nav terminal without using the above commands. This can be done according to these instructions: | |||
'''[https://youtu.be/n_HxgImFvPs Смарт и Сигнал, встроенный конфигуратор]''' | '''[https://youtu.be/n_HxgImFvPs Смарт и Сигнал, встроенный конфигуратор]''' | ||