If you work with Modbus protocols and have an instrument or device which you can connect to your PC’s COM port, chances are you may need to collect the serial data you receive for its further analysis. Modbus Analyzer (aka Serial Port Monitor) by Electronic Team is a universal professional utility that can easily help you accommodate almost any serial instrument with an RS232 port. This dedicated software is an optimal way to interpret or parse the messages received from or sent by your equipment.
When a device sends a message it usually contains all sorts of extra characters and codes.
What Modbus Scanner does is helps to extract the relevant data from each message. The app is designed to decode Modbus ASCII and Modbus RTU data received and sent through the system’s COM ports.
The program allows displaying the incoming and outgoing serial messages in the most convenient and readable format. In addition, the software comes with an advanced built-in search option and unique stream filtering tools with presets.
INTRODUCTION
Chipkin Regularly develops tools to help make our job easier. Depending on the effort to run and maintain these tools, Chipkin provides them for a small fee or for free altogether. Please find below a list of valuable tools.
CAS BACnet Explorer
CAS BACnet Explorer is the perfect utility for testing, debugging and discovering BACnet® networks and devices. It is great for network diagnostics and discovering who is the problem. No more pointing fingers.
Buy the CAS BACnet Explorer
CAS Modbus Scanner (aka CAS Modbus Explorer)
CAS Modbus Scanner can retrieve coils, inputs, holding registers and input registers from a Modbus enabled device.
Values retrieved from the device can be viewed in many different formats including Binary, HEX, Uint16, Int16, Uint32, Int32, and Float32. It can also discover Modbus Devices in your network
Download the Modbus Scanner FREE!!
FieldServer Toolbox
Download the FieldServer Toolbox FREE!!
CAS Modbus TCP Parser
Have you ever needed to analyze a series Modbus TCP message? Are you having unexplainable problems with your Modbus devices?
The CAS Modbus TCP Parser can analyze a series Modbus TCP message, display errors, display data being read/written, read where messages are coming from, and more.
Its simple to use and FREE! (No email required)
Download the Modbus TCP Parser FREE!!
CAS Modbus RTU Parser
Have you ever needed to analyze a Modbus RTU message?
The CAS Modbus RTU parser can analyze a Modbus RTU message and tell you if there are any errors in the message, what type of messages it is, what data is being written or read from your device, what device the message came from, and more.
It is also FREE (No email required)
Download the Modbus RTU Parser FREE!!
CAS BACnet Object Monitor
The CAS BACnet Object Monitor is a software designed to run on a Windows computer for testing a connection to a BACnet IP device or to monitor a BACnet IP device.
Download the BACnet Object Monitor FREE!!
CAS Gateway Firmware download tool
The CAS Gateway Firmware download tool is a developer software tool that allows you to upgrade the firmware on CAS Gateways. The tool simply designed and easy to use.
Download the CAS Gateway Firmware Download tool FREE!!
CAS BACnet Wireshark Storm
The CAS BACnet Wireshark Storm application is a tool to help test BACnet server applications with problematic BACnet UDP messages. The tool loads a Wireshark PCap log file and resends the UDP messages to a destination IP address. The BACnet
server at the destination IP address will then process the incoming UDP message and attempt to respond to them as if they were coming from an actual BACnet client.
Download the CAS BACnet Wireshark Storm tool FREE!!
CAS BACnet Wireshark Report Tool
Download the CAS BACnet Wireshark Report Tool FREE!!
What is the CAS Modbus Scanner?
CAS Modbus Scanner is a utility to retrieve coils, inputs, holding registers, and input registers from a Modbus-enabled device. Values retrieved from the device can be viewed in many different formats, including Binary, HEX, Uint16, Int16,
Uint32, Int32, and Float32.
This utility can also discover Modbus devices on your network if you do not know their address. It works by testing every address, function, length, and offset to check for exceptions or responses.
FEATURES
Please Read the License Agreement before downloading this utility.
Manuals, Datasheets and Resources
Modbus for Field Technicians (Free!)
Learning about Modbus? Want to update your Modbus knowledge? This free EBook will guide you through basic and advanced Modbus topics.
You can purchase a hardcopy of this book from Amazon or you can download the Modbus for Field Technicians for free from our website.
APPLICATION and System Requirements
Use the CAS Modbus Scanner to find the correct port settings and the correct slave address. The tool automates the process of trying all the combinations and reports the results.
The tool works for RS232 and RS485 by allowing you to search for a single device or multiple slaves. To connect to a RS485 network from your laptop you simply need a USB-to-485 converter.
Thanks for choosing Chipkin’s protocol gateways, data clients, and integration services to meet your building and industrial automation requirements!
Chipkin™ is a building and industrial automation protocol expert. We develop, configure, install and support gateways (protocol converters), data loggers and remote monitor and controlling applications. Founded in October 2000, Chipkin provides
expert solutions for converting BACnet®, Modbus®, and LonWorks®—to name just a few—and enabling interfaces for HVAC, fire, siren, intercom, lighting, transportation and fuel systems. The high-quality products we offer (including those from
other vendors) interface with Simplex™, Notifier™, McQuay™, GE™ and many others—so you can rest assured that we will select the most appropriate solution for your application.
With Chipkin you are buying a solution. Our configuration expertise in this field combined with free BACnet and other tools ensure your success; and our customer support via phone, e-mail, and remote desktop tools means that we’re there when you
need us. Chipkin is a small responsive company, and we live or die by the quality of our service—and with offices in two-time zones—we can provide support when you need it. Give us a call now!
Customer Support
Сообщения: 33Зарегистрирован: 19 ноя 2018, 13:53Имя: ИванСтрана: Украинагород/регион: ПолтавщинаБлагодарил (а): 1 разПоблагодарили: 1 раз
ModBus RTU – чем сканировать устройства?
20 ноя 2020, 20:04
Мне была поставлена задача – узнать адреса и параметры связи устройств, которые подключены к шине и работают по протоколу ModBus RTU. Скачал программу ModbusRTUscan_v2.1, подключился через USB-RS485 к устройству и в атаку. Атака захлебнулась. Как я не изголялся устройство молчало, как партизан на допросе.
Ладно, я не гордый. Подключаюсь к устройству с известным мне адресом. Та же картина, устройство сканеру не отвечает. Запускаю программу, которая работает с этим устройством. Всё ОК, данные пересылаются. От полного позора меня спасло то, что сегодня короткий день, все спокойно разъехались по домам. Я сгрёб всё в рюкзак, дома запустил на столе, но чуда не произошло.
Прошу поделиться программой сканером или подсказать, что я делаю не так.
У вас нет необходимых прав для просмотра вложений в этом сообщении.
Сообщения: 489Зарегистрирован: 02 дек 2015, 06:57Имя: Огородников СергейСтрана: РФБлагодарил (а): 92 разаПоблагодарили: 95 раз
20 ноя 2020, 23:12
Посмотрите на свой рисунок
Какой порт вы выбрали? СОМ1
А теперь откройте диспетчер устройств и посмотрите, какой СОМ-порт назначен на ваш преобразователь USB-RS485
Думаю, что там другой порт – меняйте и пробуйте!))
21 ноя 2020, 08:35
Нет, с выбором порта всё ОК. Я специально для преобразователя первый порт освободил. И на устройстве именно 71 адрес. Я проверил в настройках устройства да и прикладная программа работает по этому адресу. К преобразователю тоже вопросов нет, раз приложение через него работает.
Меня терзают смутные сомнения – может изготовитель этого агрегата использует какой то нестандартный протокол обмена? Выставляю в диспетчере задач на СОМ-порт настройки “от балды” – программа всё равно с устройством связывается. Значит, при старте программы она настраивает СОМ-порт “под себя”. Как бы узнать, какие там настройки параметров связи при работе программы? Может что подскажете?
21 ноя 2020, 13:56
Михаил Алексеевич, если это шутка то я её не оценил. Не то настроение. При чём здесь адрес и полярность шины? С программой устройство работает. Значит, на уровне железа всё ОК.
21 ноя 2020, 14:57
Причём тут шутки?
В адресах часто используется 16-ная система исчисления и не всегда это явно написано
Полярность RS485 – тоже частая ошибка, т.к. у производителя может быть свой взгляд на “правильную” маркировку А и В
Вы дали информацию неполно, ожидая, что нам подвластно чтение мыслей – нет, мы это не умеем
Поэтому:
1. Какое устройство подключаете?
2. Что за преобразователь? Пробовали его настройки менять? Таймауты, может и т.п.?
3. По физике насколько корректно подключается – терминаторы, подтяжка и пр.?
4. Что за программа используется для опроса, которая “правильно” работает?
5. При подключении через “программу” и через Modbus-тестер одинаковое физическое подключение? Меняется только программная обработка?
Тогда перед запуском Modbus-тестера убедитесь, что 502 порт никто не продолжает занимать
Currports, TCPView в помощь
Надеюсь, брандмауэр отключён и ОС профессиональная (не Home-версия) – это на всякий
21 ноя 2020, 15:44
Отправлено спустя 14 минут 3 секунды:
502 порт никто не занимает, при работе указанных программ он не используется. Win_7 SP1 корпоративная.
почётный участник форума
Сообщения: 3846Зарегистрирован: 20 янв 2010, 22:23Имя: НикитаСтрана: РФгород/регион: МурманскБлагодарил (а): 17 разПоблагодарили: 177 раз
21 ноя 2020, 16:35
Ну если времени хватает – Serial port monitor Вам в помощь и разбираться, что именно родная программа в порт шлет и что получает.
Опыт – это когда на смену вопросам: “Что? Где? Когда? Как? Почему?” приходит единственный вопрос: “Нахрена? “
Сообщения: 247Зарегистрирован: 25 ноя 2018, 17:55Имя: РоманБлагодарил (а): 4 разаПоблагодарили: 38 раз
21 ноя 2020, 16:36
А вы уверены, что ваша программа по RTU работает? Мой опыт подсказывает, что такие программки “любят” ASCII.
Случается нередко нам
И труд и мудрость видеть там,
Где стоит только догадаться
За дело просто взяться.
21 ноя 2020, 16:45
В документации написано RTU. Но проверю.
Serial port monitor – скачаю и попробую разобраться. Как минимум неделя у меня есть.
Отправлено спустя 7 минут 16 секунд:
Поменял полярность на шине – Телеметрия связь не установила, сканер тоже. Вернул как было.
Сообщения: 1004Зарегистрирован: 29 апр 2014, 09:57Имя: Рыбкин Владимир ГеннадьевичСтрана: Россиягород/регион: ТверьБлагодарил (а): 46 разПоблагодарили: 120 раз
21 ноя 2020, 16:59
Я для таких разборок держу подключенный к линии приёмник, который пишет всё, что услышит в линии. Потом вручную разбираюсь, что мастер спросил и как слейв на это отреагировал.
21 ноя 2020, 17:12
Могу предположить, что программа-сканер “не дружит” с преобразователем. Такое случается иногда
Для этого хорошо бы иметь проверенный преобразователь, а ещё лучше, физический СОМ-порт (PCMCIA-карта тоже вариант)
Ну, или искать программы-сканеры ещё
Да, у вас в такой конфигурации Modbus-устройство с известными данными порта сканер находит?
Если находит – предположение снимаем
PS Поиском ни одна инструкция на ваш комплект “игрушек” не нашлась ((
21 ноя 2020, 17:30
Помнится давно у меня случай был. На одном ноутбуке стояла утилитка для программирования конвертера HART-Modbus (подключение к РС для настроек со стороны Modbus), все нормально работало. При работе на другом ноутбуке работать отказывалась, нет, прибор она находила, но записать и прочитать настройки никак. И я залез в параметры СОМ и что то там настраивал, типа контроль потока или еще что, уже не помню, и тогда заработало. Колдовство,короче..
21 ноя 2020, 18:51
, физический СОМ-порт есть на ноуте. А как его напрямую включить на шину?
А другого устройства у меня нет. Есть преобразователь для ТС, работает тоже по RTU, но параметры связи неизвестны.
21 ноя 2020, 19:59
Serial port monitor установил. Включил в режим сниффера. Пишет запросы и ответы на них. А можно где посмотреть параметры связи при которых происходит обмен данными?
21 ноя 2020, 21:18
Kaskad11 писал(а): ↑21 ноя 2020, 18:51
Есть преобразователь для ТС, работает тоже по RTU, но параметры связи неизвестны.
24 ноя 2020, 13:00
, может и хорошая программа, только требует регистраций, фейсбуков и проч. Я такие программы не качаю, без крайней надобности.
Отправлено спустя 4 минуты 55 секунд:
По поводу МКУ вот с чем имеем дело.
Отправлено спустя 1 минуту 33 секунды:
Добавлю информацию о адаптере.
Отправлено спустя 1 минуту 1 секунду:
А вот к этому устройству подключиться удалось. Сейчас разбираюсь с ним.
Сообщения: 298Зарегистрирован: 31 окт 2017, 16:45Имя: ДмитрийСтрана: Россиягород/регион: КалининградБлагодарил (а): 9 разПоблагодарили: 74 раза
24 ноя 2020, 13:17
программа скачивается в виде архива, регистрация не требуется, установка не требуется, распаковывается и запускается . Наличие устройства не требуется. В порт usb вставляете свой преобразователь, определяете сом-порт, запускаете программу accessport, monitor-захват порта, запуск, запускаете программу опроса устройств, указываете порт, любой адрес, программа опроса пишет в буфер сом-порта параметры скорости и формата данных, accessport это фиксирует.
24 ноя 2020, 13:33
Попробую дома качать, на работе не получается. Требует или через фейсбук рекомендовать, или ссылку на своём сайте поставить, или ещё что-то, я по аглицки совсем никак.
Сообщения: 16150Зарегистрирован: 17 июн 2008, 16:01Имя: Евгений свет БрониславовичСтрана: Россиягород/регион: Санкт-ПетербургБлагодарил (а): 597 разПоблагодарили: 1064 раза
24 ноя 2020, 16:55
Kaskad11 писал(а): ↑24 ноя 2020, 13:33
Требует или через фейсбук рекомендовать, или ссылку на своём сайте поставить, или ещё что-то
Это называется спамом. т.е. предлагается вам заплатить рекламой. Я таким тоже не пользуюсь.
Чем ModScan не устраивает?
Отправлено спустя 1 минуту 39 секунд:
И вообще полно всяких модбас-терминалок, достаточно гугл об этом спросить.
По вопросам работы Форума можно обратиться по этим контактам.
24 ноя 2020, 19:08
Вернуться в «Интерфейсы, протоколы, связь»
How to provide communications within industrial networks
As a result of constant modernization of production, today more and more industrial automation systems are based on distribution networks working over flexible data transfer protocols.
There’s a wide variety of interfaces and data transfer protocols that provide communications within industrial networks. These include Modbus, Ethernet, CAN, HART, PROFIBUS, etc. They allow data transfer between sensors, controllers and actuators; calibration of sensors; power supply to sensor and actuators; communication between the lower and upper levels of the process control systems, and more.
The data transfer protocols are usually developed according to the requirements of a particular production and technical systems and provide a reliable connection and high accuracy of data transfer between different devices. Along with the reliability of operation in harsh conditions, ACS TP systems often require high functional capabilities, flexibility in construction, ease of integration and maintenance and compliance with industry standards.
Modbus solution
Modbus protocol is widely used as a communication channel between automation elements in industrial data networks. There are three main implementations of Modbus protocol. Two of them are designed for serial data communication over both copper EIA/TIA-232-E (RS-232), EIA-422, EIA/TIA-485-A (RS-485), and optical (and radio) lines: Modbus RTU and Modbus ASCII. And one of them is for data transmission across Ethernet networks: Modbus TCP.
Key features of the COM port scanner app
Modbus ASCII and RTU Scanner have proved to be an efficient tool for tracking down the possible problems during the development of serial applications and drivers, testing and optimizing serial devices, etc.
This professional RS232 and RS485 sniffer offers a host of advanced features, including:
Modbus ASCII and Modbus RTU
The difference between Modbus ASCII and Modbus RTU protocols lies in the way they encode characters. In the ASCII mode, the data is encoded using an ASCII table where two bytes of data corresponding to each character. In the RTU mode, the data is transmitted in the form of 8-bit binary symbols, which provides a higher data rate. With ASCII there can be a delay of up to 1 second, unlike RTU, where messages must be continuous. Also, ASCII mode has a simplified system of data decoding and management.
Modbus protocols (Modbus ASCII, Modbus RTU, and Modbus TCP) use one application protocol to ensure their compatibility. The maximum number of nodes in the Modbus network is 31. The length of communication lines and the data transfer rate depend on the physical implementation of the interface. All elements of the Modbus network interact using a client-server model based on transactions consisting of a request and a response.
How to parse a Modbus message
Here’s how you can start a monitoring session and sniff a data using the simple Modbus RTU and ASCII scanner software:
Once you started the monitoring session with the Modbus view, you can set the required configuration in the viewer’s preferences.
Choose the color for date time, header, structure, details, checksum, and errors. Then, select whether to scan Modbus data as Modbus RTU or Modbus ASCII.
Where Modbus is used
Areas of Modbus industrial application: communication of sensors and actuators with the controller, communication of controllers and control computers, communication with sensors, controllers and corporate networks, connections in SCADA systems, etc.
The simplicity of the implementation of Modbus protocols has led to its wide application in industrial systems and not only. Today the equipment of almost all manufacturers comes with support for Modbus protocols.