Segnetics

Вернуться   Segnetics > Форум Segnetics > Связь с внешним миром

Связь с внешним миром Modbus, RS232, RS485, Lon и другое.

Ответ
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.11.2016, 12:46   #1
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Honeywell MVC80-DH10M

нет связи.
судя по лампочкам Rx/Tx на хонейвелле посылку принимает и что-то отвечает. 2Gi получает нули по всей карте переменных. блок диагностики проблем со связью не показывает.
кто-нить с таким контроллером дело имел? м.б. какие-нить фичи есть?


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Старый 21.11.2016, 13:21   #2
Gromov
Уволен из Сегнетикс
 
Регистрация: Nov 2015
Адрес: CПб/ВЛГ
Сообщения: 0
Благодарил(а): 0 раз(а)
Поблагодарили: 1 раз в 1 сообщении
По умолчанию Ответ: Honeywell MVC80-DH10M

Неплохо бы заглянуть в траффик. Что хонивел отвечает на запросы.


__________________
В сегнетиксе не работаю с самого начала 2019 года.
Gromov вне форума   Ответить с цитированием
Старый 21.11.2016, 14:55   #3
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от Gromov Посмотреть сообщение
Неплохо бы заглянуть в траффик. Что хонивел отвечает на запросы.
пока такой возможности нет.


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Старый 21.11.2016, 15:21   #4
Arsie
Сотрудник Segnetics
 
Аватара для Arsie
 
Регистрация: Jan 2006
Адрес: Russia, SPb
Сообщения: 18 019
Благодарил(а): 15 раз(а)
Поблагодарили: 655 раз(а) в 599 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от LordN Посмотреть сообщение
пока такой возможности нет.
Предскажу, что если Ханивелл отвечает на запросы, значит запросы он получает корректные по формату. Если 2Gi при этом не пишет ошибок, значит он видит эти ответы и они корректны.

Исходя из этого, предскажу, что Ханивелл отвечает нулями.

В итоге одно из двух: либо 2Gi спрашивает не по тем адресам, считывая нули, либо данные на нужных адресах действительно равны нулю. Протокол-то работает без ошибок.


__________________
Программа делает то что написал программист, а не то что он хотел.

Добро всегда побеждает зло. Кто победил - тот и добрый.
Arsie вне форума   Ответить с цитированием
Старый 21.11.2016, 15:57   #5
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата:
Сообщение от Arsie Посмотреть сообщение
Предскажу, что если Ханивелл отвечает на запросы, значит запросы он получает корректные по формату. Если 2Gi при этом не пишет ошибок, значит он видит эти ответы и они корректны.

Исходя из этого, предскажу, что Ханивелл отвечает нулями.

В итоге одно из двух: либо 2Gi спрашивает не по тем адресам, считывая нули, либо данные на нужных адресах действительно равны нулю. Протокол-то работает без ошибок.
https://yadi.sk/i/4T83jNlJz8twz мануальчик на хонейвелл
стр 80 и 85 - тут таблица переменных

https://yadi.sk/d/v-VAHc6Qz8uLx карта для 2Gi

может я что-то не так сделал?


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Старый 21.11.2016, 16:36   #6
Gromov
Уволен из Сегнетикс
 
Регистрация: Nov 2015
Адрес: CПб/ВЛГ
Сообщения: 0
Благодарил(а): 0 раз(а)
Поблагодарили: 1 раз в 1 сообщении
По умолчанию Ответ: Honeywell MVC80-DH10M

Посмотрел инструкцию и составленную карту.

Похоже, что всё хорошо, в плане адресации. А учитывая, что переменные идут подряд - обязательно что-нибудь бы считывалось, даже при проблемах с адресом.

Всё-таки обзор траффика даст более полную картину, хотя допускаю, что в этих регистрах хранятся нули. Групповые запросы отключать пробовали?


__________________
В сегнетиксе не работаю с самого начала 2019 года.
Gromov вне форума   Ответить с цитированием
Старый 21.11.2016, 16:38   #7
serg-el
Senior Member
 
Регистрация: Aug 2013
Адрес: Москва
Сообщения: 600
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от LordN Посмотреть сообщение
может я что-то не так сделал?
1 - Попробуй отключить групповые запросы.
2 - Все адреса сделать hold.


__________________
Всё, что нельзя выразить в цифрах — это не наука, это — мнение.
serg-el вне форума   Ответить с цитированием
Старый 21.11.2016, 20:19   #8
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

не помогло. связь пропала. пошли ошибки


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Старый 21.11.2016, 22:13   #9
serg-el
Senior Member
 
Регистрация: Aug 2013
Адрес: Москва
Сообщения: 600
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Что не помогло? Догадывался надо что делали?


__________________
Всё, что нельзя выразить в цифрах — это не наука, это — мнение.
serg-el вне форума   Ответить с цитированием
Старый 22.11.2016, 07:25   #10
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от serg-el Посмотреть сообщение
1 - Попробуй отключить групповые запросы.
2 - Все адреса сделать hold.
сделал. не помогло. связь пропала вообще. пошли ошибки в фбд диагностики (Блок Slave (Link))


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Старый 22.11.2016, 10:46   #11
serg-el
Senior Member
 
Регистрация: Aug 2013
Адрес: Москва
Сообщения: 600
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от LordN Посмотреть сообщение
сделал. не помогло. связь пропала вообще. пошли ошибки в фбд диагностики (Блок Slave (Link))
Сразу делали оба пункта?

Увеличить период опроса пробовали?

Таймаут увеличить пробовали?

Я бы пробовал по другому.

В MODBUS Scanner-е.
Создал одну переменную.
Добился бы ответа.
Создал вторую.
По отдельности опросил (без группового ответа).
Опросил вместе.
Создал остальные.
Опросил вместе (некоторые устройства не поддерживают опрос свыше хх переменных одновременно).
Потихоньку уменьшал бы период - до начала ошибок - потом этот период*2.
Как то так ...


__________________
Всё, что нельзя выразить в цифрах — это не наука, это — мнение.
serg-el вне форума   Ответить с цитированием
Старый 23.11.2016, 12:08   #12
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от serg-el Посмотреть сообщение
Сразу делали оба пункта?

Увеличить период опроса пробовали?

Таймаут увеличить пробовали?

Я бы пробовал по другому.

В MODBUS Scanner-е.
Создал одну переменную.
Добился бы ответа.
Создал вторую.
По отдельности опросил (без группового ответа).
Опросил вместе.
Создал остальные.
Опросил вместе (некоторые устройства не поддерживают опрос свыше хх переменных одновременно).
Потихоньку уменьшал бы период - до начала ошибок - потом этот период*2.
Как то так ...
никогда ничем подобным не пользовался, а если и пользовал, то все забыл.
подскажите плз кому не лень

еcть CAS Modbus Scaner - не пойму что куда вводить чтоб попробовать
на столе есть 2Gi подключенный по TCP
что-то создал, запусти тест пишет нот авелейбл

или надо сразу к 485му прицепиться?
или взять другую программулину?

p.s.
Цитата [15:12:13] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[15:11:43] <= Response: 03 81 02
[15:11:42] => Poll: 03 01 00 00 00 64
[15:11:42] Connect to TCP 192.168.1.199:502 timeout: 3
это я все пытаюсь научиться
Миниатюры
Нажмите на картинку для увеличения

Название:  2016-11-23_15-07-35.png
Просмотров: 70
Размер:  21.3 Кбайт   Нажмите на картинку для увеличения

Название:  2016-11-23_15-11-53.png
Просмотров: 50
Размер:  37.7 Кбайт   Нажмите на картинку для увеличения

Название:  2016-11-23_15-11-48.png
Просмотров: 43
Размер:  13.1 Кбайт  


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Старый 23.11.2016, 13:30   #13
serg-el
Senior Member
 
Регистрация: Aug 2013
Адрес: Москва
Сообщения: 600
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Пытаетесь по адресу IP 192.168.1.199 modbus 2-5 адресу найти SMH2Gi?
А в нем созданы переменные?
MODBUS адрес у него какой?


__________________
Всё, что нельзя выразить в цифрах — это не наука, это — мнение.
serg-el вне форума   Ответить с цитированием
Старый 23.11.2016, 15:03   #14
Arsie
Сотрудник Segnetics
 
Аватара для Arsie
 
Регистрация: Jan 2006
Адрес: Russia, SPb
Сообщения: 18 019
Благодарил(а): 15 раз(а)
Поблагодарили: 655 раз(а) в 599 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от LordN Посмотреть сообщение
[15:11:43] <= Response: 03 81 02
[15:11:42] => Poll: 03 01 00 00 00 64
[15:11:42] Connect to TCP 192.168.1.199:502 timeout: 3
Опрашивается девайс с модбас-адресом 3. Спрашиваете 100 битов, начиная с нулевого адреса.

Девайс возвращает общую ошибку. Причём это, похоже, начало ответа, т.к. короткий он слишком.

Ошибкой может быть тут всё. И что указанные биты нельзя прочесть в таком количестве. И что по этим адресам их может не быть. И что ошибка в модбас-адресе. Но видно, что запрос есть и есть ответ на него.


__________________
Программа делает то что написал программист, а не то что он хотел.

Добро всегда побеждает зло. Кто победил - тот и добрый.
Arsie вне форума   Ответить с цитированием
Старый 23.11.2016, 15:21   #15
serg-el
Senior Member
 
Регистрация: Aug 2013
Адрес: Москва
Сообщения: 600
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от LordN Посмотреть сообщение
на столе есть 2Gi подключенный по TCP
Надо взять железяку с ЗАВЕДОМО известными адресами IP, Modbus, с известными регистрами. Которая уже нормально опрашивается, и уже на ней разбираться с программой.

А в SMH2Gi скорее всего нет переменных на чтение. Пустая. Вот из неё ничего и не читается.


__________________
Всё, что нельзя выразить в цифрах — это не наука, это — мнение.
serg-el вне форума   Ответить с цитированием
Старый 23.11.2016, 16:18   #16
serg-el
Senior Member
 
Регистрация: Aug 2013
Адрес: Москва
Сообщения: 600
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Берём CAS, берём насосную станцию WILO CC с MOXA в качестве моста.
Опрашиваем.


__________________
Всё, что нельзя выразить в цифрах — это не наука, это — мнение.
serg-el вне форума   Ответить с цитированием
Старый 23.11.2016, 18:14   #17
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата А в SMH2Gi скорее всего нет переменных на чтение. Пустая. Вот из неё ничего и не читается.
2gi с конструкторским проектом


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Старый 23.11.2016, 19:20   #18
ATS
Senior Member
 
Регистрация: Aug 2013
Сообщения: 3 740
Благодарил(а): 12 раз(а)
Поблагодарили: 192 раз(а) в 188 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от LordN Посмотреть сообщение
2gi с конструкторским проектом
Ну так Лоджиком модбас табличку посмотреть (Ctrl+M) и читать те что в ней есть.
ATS вне форума   Ответить с цитированием
Старый 23.11.2016, 19:35   #19
ATS
Senior Member
 
Регистрация: Aug 2013
Сообщения: 3 740
Благодарил(а): 12 раз(а)
Поблагодарили: 192 раз(а) в 188 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от serg-el Посмотреть сообщение
... с MOXA в качестве моста.
Когда-то делал 2Gi в качестве моста. Насколько помню даже через USB-COM (PL-2303) на 2Gi работало.
ATS вне форума   Ответить с цитированием
Старый 24.11.2016, 11:06   #20
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

вопщем что-то получилось.
CAS-ом что-то прочитать удалось, правда всего группу из первых 16 адресов, остальные как ни бился - не получается.
но, наладить связь с 2Gi - нивкакую

да, и теперь мне не понятно соответствие адресов. в мануале указаны 1-2-3... CAS читает 40001-40002-40003... что задавать в карте для 2Gi?
Миниатюры
Нажмите на картинку для увеличения

Название:  2016-11-24_12-30-25.png
Просмотров: 41
Размер:  44.9 Кбайт   Нажмите на картинку для увеличения

Название:  2016-11-24_12-22-04.png
Просмотров: 30
Размер:  44.8 Кбайт   Нажмите на картинку для увеличения

Название:  2016-11-24_11-27-51.png
Просмотров: 26
Размер:  42.0 Кбайт   Нажмите на картинку для увеличения

Название:  2016-11-24_11-24-54.png
Просмотров: 27
Размер:  20.7 Кбайт  


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Старый 24.11.2016, 11:17   #21
Arsie
Сотрудник Segnetics
 
Аватара для Arsie
 
Регистрация: Jan 2006
Адрес: Russia, SPb
Сообщения: 18 019
Благодарил(а): 15 раз(а)
Поблагодарили: 655 раз(а) в 599 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от LordN Посмотреть сообщение
вопщем что-то получилось.
CAS-ом что-то прочитать удалось, правда всего группу из первых 16 адресов, остальные как ни бился - не получается.
но, наладить связь с 2Gi - нивкакую

да, и теперь мне не понятно соответствие адресов. в мануале указаны 1-2-3... CAS читает 40001-40002-40003... что задавать в карте для 2Gi?
http://dl.segnetics.com/WebHelp/SMLo...h_invertor.htm

Шаг шестой.

Раскрывайте врезку под плюсиком. "Что же такое физическая адресация и чем она отличается от логической?"


__________________
Программа делает то что написал программист, а не то что он хотел.

Добро всегда побеждает зло. Кто победил - тот и добрый.
Arsie вне форума   Ответить с цитированием
Старый 24.11.2016, 11:42   #22
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата:
Сообщение от Arsie Посмотреть сообщение
http://dl.segnetics.com/WebHelp/SMLo...h_invertor.htm

Шаг шестой.

Раскрывайте врезку под плюсиком. "Что же такое физическая адресация и чем она отличается от логической?"
спасибо, стало понятно.
т.е. карту я создал правильно. так?
а связи нет.
пытался читать только первые 14 регистров которые удалось прочесть CAS-ом
не получилось.


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Старый 24.11.2016, 18:26   #23
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

забыл, вот логи обмена
Код:
[12:28:54] <= Response: 01 03 1C FF C8 01 D5 02 CB 02 38 00 01 00 01 00 01 00 00 00 00 00 01 00 00 00 01 00 36 00 47 AA 24 
[12:28:53] => Poll: 01 03 00 00 00 0E C4 0E 
[12:28:50] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[12:28:49] <= Response: 01 83 02 C0 F1 
[12:28:48] => Poll: 01 03 00 18 00 02 44 0C 
[12:28:38] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[12:28:37] <= Response: 01 83 02 C0 F1 
[12:28:36] => Poll: 01 03 00 18 00 01 04 0D 
[12:28:22] Error - Modbus message invalid data length
[12:28:22] <= Response: 01 03 00 20 F0 
[12:28:21] => Poll: 01 03 00 18 00 00 C5 CD 
[12:28:02] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[12:28:00] <= Response: 01 83 02 C0 F1 
[12:28:00] => Poll: 01 03 00 17 00 01 34 0E 
[12:27:48] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[12:27:47] <= Response: 01 83 02 C0 F1 
[12:27:46] => Poll: 01 03 00 16 00 01 65 CE 
[12:27:36] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[12:27:33] <= Response: 01 83 02 C0 F1 
[12:27:32] => Poll: 01 03 00 15 00 01 95 CE 
[12:27:23] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[12:27:22] <= Response: 01 83 02 C0 F1 
[12:27:21] => Poll: 01 03 00 13 00 01 75 CF 
[12:27:02] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[12:27:00] <= Response: 01 83 02 C0 F1 
[12:27:00] => Poll: 01 03 00 11 00 01 D4 0F 
[12:26:47] <= Response: 01 03 02 00 01 79 84 
[12:26:46] => Poll: 01 03 00 10 00 01 85 CF 
[12:26:37] <= Response: 01 03 02 00 00 B8 44 
[12:26:37] => Poll: 01 03 00 0F 00 01 B4 09 
[12:26:26] <= Response: 01 03 02 00 00 B8 44 
[12:26:25] => Poll: 01 03 00 0E 00 01 E5 C9 
[12:26:14] <= Response: 01 03 02 00 47 F8 76 
[12:26:14] => Poll: 01 03 00 0D 00 01 15 C9 
[12:26:00] Error - Modbus message invalid data length
[12:26:00] <= Response: 01 03 00 20 F0 
[12:25:59] => Poll: 01 03 00 0D 00 00 D4 09 
[12:25:57] Error - Modbus message invalid data length
[12:25:57] <= Response: 01 03 00 20 F0 
[12:25:56] => Poll: 01 03 00 0D 00 00 D4 09 
[12:25:44] Error - Modbus message invalid data length
[12:25:43] <= Response: 01 03 00 20 F0 
[12:25:43] => Poll: 01 03 00 11 00 00 15 CF 
[12:25:39] Error - Modbus message invalid data length
[12:25:39] <= Response: 01 03 00 20 F0 
[12:25:38] => Poll: 01 03 00 11 00 00 15 CF 
[12:25:10] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[12:25:09] <= Response: 01 83 02 C0 F1 
[12:25:08] => Poll: 01 03 00 14 00 01 C4 0E 
[12:24:57] Recv error: Exception Response:
The device responded but with an error instead of data

0x01 - ILLEGAL FUNCTION

The function code received in the query is not an allowable action for the server (or slave). This may be because the function code is only applicable to newer devices, and was not implemented in the unit selected. It could also indicate that the server (or slave) is in the wrong state to process a request of this type, for example because it is unconfigured and is being asked to return register values. 
[12:24:56] <= Response: 01 81 01 81 90 
[12:24:55] => Poll: 01 01 00 14 00 01 BD CE 
[12:24:45] Recv error: Exception Response:
The device responded but with an error instead of data

0x01 - ILLEGAL FUNCTION

The function code received in the query is not an allowable action for the server (or slave). This may be because the function code is only applicable to newer devices, and was not implemented in the unit selected. It could also indicate that the server (or slave) is in the wrong state to process a request of this type, for example because it is unconfigured and is being asked to return register values. 
[12:24:43] <= Response: 01 82 01 81 60 
[12:24:43] => Poll: 01 02 00 14 00 01 F9 CE 
[12:24:30] Recv error: Exception Response:
The device responded but with an error instead of data

0x01 - ILLEGAL FUNCTION

The function code received in the query is not an allowable action for the server (or slave). This may be because the function code is only applicable to newer devices, and was not implemented in the unit selected. It could also indicate that the server (or slave) is in the wrong state to process a request of this type, for example because it is unconfigured and is being asked to return register values. 
[12:24:26] <= Response: 01 84 01 82 C0 
[12:24:25] => Poll: 01 04 00 14 00 01 71 CE 
[12:22:45] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[12:22:43] <= Response: 01 83 02 C0 F1 
[12:22:43] => Poll: 01 03 00 14 00 01 C4 0E 
[12:22:41] <= Response: 01 03 02 00 00 B8 44 
[12:22:40] => Poll: 01 03 00 0F 00 01 B4 09 
[12:22:31] Error - Modbus message invalid data length
[12:22:31] <= Response: 01 03 00 20 F0 
[12:22:31] => Poll: 01 03 00 63 00 00 B5 D4 
[12:22:27] Error - Modbus message invalid data length
[12:22:27] <= Response: 01 03 00 20 F0 
[12:22:26] => Poll: 01 03 00 63 00 00 B5 D4 
[12:22:23] <= Response: 01 03 02 00 00 B8 44 
[12:22:22] => Poll: 01 03 00 0F 00 01 B4 09 
[12:22:20] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[12:22:18] <= Response: 01 83 02 C0 F1 
[12:22:17] => Poll: 01 03 00 14 00 01 C4 0E 
[12:22:15] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[12:22:12] <= Response: 01 83 03 01 31 
[12:22:12] => Poll: 01 03 00 10 00 02 C5 CE 
[12:21:52] <= Response: 01 03 1C FF C6 01 CD 02 C6 02 3B 00 01 00 01 00 01 00 00 00 00 00 01 00 00 00 01 00 36 00 48 41 9C 
[12:21:51] => Poll: 01 03 00 00 00 0E C4 0E 
[11:42:00] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[11:41:57] <= Response: 01 83 02 C0 F1 
[11:41:56] => Poll: 01 03 00 14 00 01 C4 0E 
[11:41:44] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[11:41:42] <= Response: 01 83 02 C0 F1 
[11:41:41] => Poll: 01 03 00 13 00 01 75 CF 
[11:41:32] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[11:41:30] <= Response: 01 83 02 C0 F1 
[11:41:29] => Poll: 01 03 00 13 00 08 B5 C9 
[11:41:27] <= Response: 01 03 02 00 00 B8 44 
[11:41:26] => Poll: 01 03 00 0F 00 01 B4 09 
[11:41:25] Error - Modbus message invalid data length
[11:41:25] <= Response: 01 03 00 20 F0 
[11:41:24] => Poll: 01 03 00 63 00 00 B5 D4 
[11:41:15] Error - Modbus message invalid data length
[11:41:15] <= Response: 01 03 00 20 F0 
[11:41:14] => Poll: 01 03 00 63 00 00 B5 D4 
[11:41:11] <= Response: 01 03 02 00 00 B8 44 
[11:41:10] => Poll: 01 03 00 0F 00 01 B4 09 
[11:40:56] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[11:40:54] <= Response: 01 83 02 C0 F1 
[11:40:54] => Poll: 01 03 00 13 00 08 B5 C9 
[11:40:52] Recv error: Exception Response:
The device responded but with an error instead of data

0x02 - ILLEGAL DATA ADDRESS

The data address sent in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02. A request for offset 200 will also produce this exception.
[11:40:50] <= Response: 01 83 02 C0 F1 
[11:40:49] => Poll: 01 03 00 13 00 08 B5 C9 
[11:40:48] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[11:40:45] <= Response: 01 83 03 01 31 
[11:40:45] => Poll: 01 03 00 10 00 02 C5 CE 
[11:40:43] <= Response: 01 03 1C FF C0 01 DC 02 DA 02 48 00 01 00 01 00 01 00 00 00 00 00 01 00 00 00 01 00 36 00 49 51 A3 
[11:40:43] => Poll: 01 03 00 00 00 0E C4 0E 
[11:30:27] <= Response: 01 03 20 FF C0 01 DE 02 DF 02 40 00 01 00 01 00 01 00 00 00 00 00 01 00 00 00 01 00 36 00 49 00 00 00 00 5A 97 
[11:30:26] => Poll: 01 03 00 00 00 10 44 06 
[11:30:11] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[11:30:09] <= Response: 01 83 03 01 31 
[11:30:09] => Poll: 01 03 00 00 00 12 C5 C7 
[11:29:18] <= Response: 01 03 22 FF BF 01 DF 02 DE 02 43 00 01 00 01 00 01 00 00 00 00 00 01 00 00 00 01 00 36 00 49 00 00 00 00 00 01 94 DA 
[11:29:17] => Poll: 01 03 00 00 00 11 85 C6 
[11:29:06] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[11:29:05] <= Response: 01 83 03 01 31 
[11:29:04] => Poll: 01 03 00 00 00 12 C5 C7 
[11:28:53] <= Response: 01 03 20 FF BF 01 E0 02 DD 02 44 00 01 00 01 00 01 00 00 00 00 00 01 00 00 00 01 00 36 00 49 00 00 00 00 01 21 
[11:28:52] => Poll: 01 03 00 00 00 10 44 06 
[11:28:37] <= Response: 01 03 1C FF BF 01 E0 02 DE 02 42 00 01 00 01 00 01 00 00 00 00 00 01 00 00 00 01 00 36 00 49 36 FE 
[11:28:37] => Poll: 01 03 00 00 00 0E C4 0E 
[11:28:28] <= Response: 01 03 18 FF BF 01 E0 02 E0 02 3F 00 01 00 01 00 01 00 00 00 00 00 01 00 00 00 01 71 9F 
[11:28:27] => Poll: 01 03 00 00 00 0C 45 CF 
[11:28:18] <= Response: 01 03 16 FF BF 01 E0 02 E0 02 3D 00 01 00 01 00 01 00 00 00 00 00 01 00 00 F1 B8 
[11:28:17] => Poll: 01 03 00 00 00 0B 04 0D 
[11:27:23] <= Response: 01 03 14 FF BF 01 E0 02 DB 02 4B 00 01 00 01 00 01 00 00 00 00 00 01 AF 66 
[11:27:22] => Poll: 01 03 00 00 00 0A C5 CD 
[11:27:10] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[11:27:09] <= Response: 01 83 03 01 31 
[11:27:08] => Poll: 01 03 00 00 00 14 45 C5 
[11:26:59] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[11:26:58] <= Response: 01 83 03 01 31 
[11:26:57] => Poll: 01 03 00 00 00 1A C4 01 
[11:26:41] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[11:26:40] <= Response: 01 83 03 01 31 
[11:26:40] => Poll: 01 03 00 00 00 1B 05 C1 
[11:26:30] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[11:26:29] <= Response: 01 83 03 01 31 
[11:26:28] => Poll: 01 03 00 00 00 1E C5 C2 
[11:26:08] <= Response: 01 03 14 FF BE 01 E1 02 DD 02 45 00 01 00 01 00 01 00 00 00 00 00 01 53 86 
[11:26:07] => Poll: 01 03 00 00 00 0A C5 CD 
[11:25:56] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[11:25:54] <= Response: 01 83 03 01 31 
[11:25:53] => Poll: 01 03 00 00 00 64 44 21 
[11:25:53] Connect to COM 11:9600,N,8,1.0 timeout: 3
[11:23:27] Disconnected
[11:19:59] Recv error: Exception Response:
The device responded but with an error instead of data

0x01 - ILLEGAL FUNCTION

The function code received in the query is not an allowable action for the server (or slave). This may be because the function code is only applicable to newer devices, and was not implemented in the unit selected. It could also indicate that the server (or slave) is in the wrong state to process a request of this type, for example because it is unconfigured and is being asked to return register values. 
[11:19:42] <= Response: 01 84 01 82 C0 
[11:19:42] => Poll: 01 04 00 00 00 64 F1 E1 
[11:19:26] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[11:19:08] <= Response: 01 83 03 01 31 
[11:19:08] => Poll: 01 03 00 00 00 64 44 21 
[11:18:57] Recv error: Exception Response:
The device responded but with an error instead of data

0x01 - ILLEGAL FUNCTION

The function code received in the query is not an allowable action for the server (or slave). This may be because the function code is only applicable to newer devices, and was not implemented in the unit selected. It could also indicate that the server (or slave) is in the wrong state to process a request of this type, for example because it is unconfigured and is being asked to return register values. 
[11:18:32] <= Response: 01 82 01 81 60 
[11:18:32] => Poll: 01 02 00 00 00 64 79 E1 
[11:18:18] Recv error: Exception Response:
The device responded but with an error instead of data

0x01 - ILLEGAL FUNCTION

The function code received in the query is not an allowable action for the server (or slave). This may be because the function code is only applicable to newer devices, and was not implemented in the unit selected. It could also indicate that the server (or slave) is in the wrong state to process a request of this type, for example because it is unconfigured and is being asked to return register values. 
[11:17:51] <= Response: 01 81 01 81 90 
[11:17:51] => Poll: 01 01 00 00 00 64 3D E1 
[11:17:49] Recv error: Exception Response:
The device responded but with an error instead of data

0x01 - ILLEGAL FUNCTION

The function code received in the query is not an allowable action for the server (or slave). This may be because the function code is only applicable to newer devices, and was not implemented in the unit selected. It could also indicate that the server (or slave) is in the wrong state to process a request of this type, for example because it is unconfigured and is being asked to return register values. 
[11:17:47] <= Response: 01 81 01 81 90 
[11:17:47] => Poll: 01 01 00 00 00 64 3D E1 
[11:17:29] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[11:17:27] <= Response: 01 83 03 01 31 
[11:17:27] => Poll: 01 03 00 00 00 64 44 21 
[11:17:05] Recv error: Exception Response:
The device responded but with an error instead of data

0x03 - ILLEGAL DATA VALUE

A value contained in the query data field is not an allowable value for server (or slave). This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register. 
[11:16:56] <= Response: 01 83 03 01 31 
[11:16:56] => Poll: 01 03 00 00 00 64 44 21 
[11:16:56] Connect to COM 11:9600,N,8,1.0 timeout: 3
[11:10:08] Ready...
[11:10:06] Settings file:  [C:\Users\Lord\Documents\CAS Modbus Scanner\Settings.xml]
[11:10:06] Debug file:  [C:\Users\Lord\Documents\CAS Modbus Scanner\Debuglog.txt]
[11:10:06] Starting up...


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Старый 24.11.2016, 21:52   #24
ATS
Senior Member
 
Регистрация: Aug 2013
Сообщения: 3 740
Благодарил(а): 12 раз(а)
Поблагодарили: 192 раз(а) в 188 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Судя по наличию CRC в обмене перебрались с TCP на 485-й

Много разных запросов и каких то бессистемных. Но устройство с адресом 1 честно на них отвечает.

Ну в последнем запросе данные получены
Код:
[12:28:54] <= Response: 01 03 1C FF C8 01 D5 02 CB 02 38 00 01 00 01 00 01 00 00 00 00 00 01 00 00 00 01 00 36 00 47 AA 24 
[12:28:53] => Poll: 01 03 00 00 00 0E C4 0E
На запрошенные 14 (0E) Holding регистров получены 28 (1C) байт ответа -все что после кода 1C в ответе коме последних двух байт CRC. И не все нули...

Например здесь
Код:
[12:27:00] <= Response: 01 83 02 C0 F1 
[12:27:00] => Poll: 01 03 00 11 00 01 D4 0F 
[12:26:47] <= Response: 01 03 02 00 01 79 84 
[12:26:46] => Poll: 01 03 00 10 00 01 85 CF 
[12:26:37] <= Response: 01 03 02 00 00 B8 44 
[12:26:37] => Poll: 01 03 00 0F 00 01 B4 09 
[12:26:26] <= Response: 01 03 02 00 00 B8 44 
[12:26:25] => Poll: 01 03 00 0E 00 01 E5 C9 
[12:26:14] <= Response: 01 03 02 00 47 F8 76 
[12:26:14] => Poll: 01 03 00 0D 00 01 15 C9 
[12:26:00] Error - Modbus message invalid data length
[12:26:00] <= Response: 01 03 00 20 F0 
[12:25:59] => Poll: 01 03 00 0D 00 00 D4 09
Снизу (по хронологии)
Запрос пустышка с адреса 13 читаем 0 регистров - клиент честно без ошибки отдает в ответ 0 байтов с правильной структурой ответа.
Далее по одному читаем регистры с адреса 13 по 16 с правильными ответами по 2 байта данных.
А вот на последний запрос по адресу 17 получаем отлуп с кодом ошибки 02 (см. ниже).

Ну и в логе масса запросов о отлупом по адресам, количеству данных.

А вообще посмотри Википедию. Вполне доступно изложено.

Да, ошибки типа 0х02 по русски (из Вики..)
01 — Принятый код функции не может быть обработан.
02 — Адрес данных, указанный в запросе, недоступен.
03 — Значение, содержащееся в поле данных запроса, является недопустимой величиной.
ATS вне форума   Ответить с цитированием
Старый 25.11.2016, 07:12   #25
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от ATS Посмотреть сообщение
..........
Много разных запросов и каких то бессистемных. Но устройство с адресом 1 честно на них отвечает.
...........
компу устройство отвечает, а контроллеру - нет.
напомните плз какой программой обмен между контроллерами поглядеть можно?


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Старый 25.11.2016, 09:44   #26
ATS
Senior Member
 
Регистрация: Aug 2013
Сообщения: 3 740
Благодарил(а): 12 раз(а)
Поблагодарили: 192 раз(а) в 188 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от LordN Посмотреть сообщение
компу устройство отвечает, а контроллеру - нет.
напомните плз какой программой обмен между контроллерами поглядеть можно?
Программка

Глянул табличку - там ведь по первым адресам Input регистры читаются, а с компа по логу Holding.

Кстати верхняя строка лога дает интересную расшифровку:
Код:
-5.6	1#int#мНАРУЖ_ТЕМП#Темп. наружного воздуха
46.9	2#int#мОТОП_ОВ_ТЕМП#Темп. обратного потока Отопления
71.5	3#int#мОТОП_ТЕМП#Темп. Отопления
56.8	4#int#мОТОП_КЛАПАН#Клапан контура Отопления
1	5#int#мДАВЛ_МИН#Мин. давление вторич. стороны отопл.
1	6#int#мНО_ПЕРЕПАД#Перепад давления на Насосах Отопл.
1	7#int#мПРОНИКН#Проникновение в помещение
0	8#int#мПРОТЕЧКА#Протечка воды
0	9#int#мНО1_ВКЛ#Насос 1 контура Отопления
1	a#int#мНО2_ВКЛ#Насос 2 контура Отопления
0	b#int#мПОДПИТ_КЛАП#Клапан Подпитки
1	c#int#мПОДПИТ_НАСОС#Насос Подпитки
54	d#int#мОВ_Т_РАСЧ#Расчетная темп. обратного потока
71	e#int#мОТОП_Т_РАСЧ#Расчетная темп. Отопления
Но в предположении что первые четыре числа в формате Х10.

Поробуйте убрать лишние запросы.

Попробуйте в 2Gi оставить в таблице только эти адреса и поменять на R(out).

И не забываем что контроллер читает все из таблицы и неважно вытянули вы переменную на поляну или нет.
ATS вне форума   Ответить с цитированием
Старый 25.11.2016, 10:45   #27
ATS
Senior Member
 
Регистрация: Aug 2013
Сообщения: 3 740
Благодарил(а): 12 раз(а)
Поблагодарили: 192 раз(а) в 188 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Вот ещё 16 регистров в запросе
Код:
[11:28:53] <= Response: 01 03 20 FF BF 01 E0 02 DD 02 44 00 01 00 01 00 01 00 00 00 00 00 01 00 00 00 01 00 36 00 49 00 00 00 00 01 21 
[11:28:52] => Poll: 01 03 00 00 00 10 44 06
В ответе
-6.5 48.0 73.3 58.0 1 1 1 0 0 1 0 1 54 73 0 0
ATS вне форума   Ответить с цитированием
Старый 25.11.2016, 19:53   #28
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от ATS Посмотреть сообщение
Программка

Глянул табличку - там ведь по первым адресам Input регистры читаются, а с компа по логу Holding.

Кстати верхняя строка лога дает интересную расшифровку:
Код:
-5.6	1#int#мНАРУЖ_ТЕМП#Темп. наружного воздуха
46.9	2#int#мОТОП_ОВ_ТЕМП#Темп. обратного потока Отопления
71.5	3#int#мОТОП_ТЕМП#Темп. Отопления
56.8	4#int#мОТОП_КЛАПАН#Клапан контура Отопления
1	5#int#мДАВЛ_МИН#Мин. давление вторич. стороны отопл.
1	6#int#мНО_ПЕРЕПАД#Перепад давления на Насосах Отопл.
1	7#int#мПРОНИКН#Проникновение в помещение
0	8#int#мПРОТЕЧКА#Протечка воды
0	9#int#мНО1_ВКЛ#Насос 1 контура Отопления
1	a#int#мНО2_ВКЛ#Насос 2 контура Отопления
0	b#int#мПОДПИТ_КЛАП#Клапан Подпитки
1	c#int#мПОДПИТ_НАСОС#Насос Подпитки
54	d#int#мОВ_Т_РАСЧ#Расчетная темп. обратного потока
71	e#int#мОТОП_Т_РАСЧ#Расчетная темп. Отопления
Но в предположении что первые четыре числа в формате Х10.

Поробуйте убрать лишние запросы.

Попробуйте в 2Gi оставить в таблице только эти адреса и поменять на R(out).

И не забываем что контроллер читает все из таблицы и неважно вытянули вы переменную на поляну или нет.
спасибо!
R(out) - помогло!
правда там все равно какой-то странный перекос есть.. надо разбираться, но что-то сдвинулось - уже радует

да, и чтоб попало в адреса - пришлось сделать смещение. т.е. адрес №1 назначить №0 и т.д.


p.s. к техподдержке, Арсений, Громов, внесите уже в описание соответствие R(in) R(out) и т.д. функциям 01 02 03 04 и т.д.
или покажите где оно лежит. а то чувствую пройдёт время. забуду все и на второй круг с теми же вопросами.. и неделя жизни, которой и так с гулькин хобот осталось..
Миниатюры
Нажмите на картинку для увеличения

Название:  2016-11-25_22-51-58.png
Просмотров: 48
Размер:  66.4 Кбайт   Нажмите на картинку для увеличения

Название:  2016-11-25_23-00-06.png
Просмотров: 28
Размер:  66.5 Кбайт  


__________________
C уважением, LordN

Последний раз редактировалось LordN, 25.11.2016 в 20:22
LordN вне форума   Ответить с цитированием
Старый 25.11.2016, 21:45   #29
СВМ
Senior Member
 
Регистрация: Jan 2012
Адрес: Саратов
Сообщения: 179
Благодарил(а): 1 раз(а)
Поблагодарили: 3 раз(а) в 3 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от LordN Посмотреть сообщение
p.s. к техподдержке, Арсений, Громов, внесите уже в описание соответствие R(in) R(out) и т.д. функциям 01 02 03 04 и т.д.
или покажите где оно лежит
В справке оно лежит:
Правой клавишей по переменной/Справка/
Функции SMLogix/Работа с сетью/Сетевые переменные:

Переменная R (in)
Для чтения используются функции Modbus:
· 2 (0x02) — чтение значений из нескольких дискретных входов (Read Discrete Inputs)
· 4 (0x04) — чтение значений из нескольких регистров ввода (Read Input Registers)

Переменная R (out)
· 1 (0x01) — чтение значений из нескольких регистров флагов (Read Coil Status)
· 3 (0x03) — чтение значений из нескольких регистров хранения (Read Holding Registers)
СВМ вне форума   Ответить с цитированием
Старый 26.11.2016, 13:13   #30
LordN
Senior Member
 
Регистрация: Dec 2007
Адрес: Томск
Сообщения: 4 125
Благодарил(а): 239 раз(а)
Поблагодарили: 161 раз(а) в 153 сообщениях
По умолчанию Ответ: Honeywell MVC80-DH10M

Цитата
Сообщение от СВМ Посмотреть сообщение
В справке оно лежит:
Правой клавишей по переменной/Справка/
Функции SMLogix/Работа с сетью/Сетевые переменные:

Переменная R (in)
Для чтения используются функции Modbus:
· 2 (0x02) — чтение значений из нескольких дискретных входов (Read Discrete Inputs)
· 4 (0x04) — чтение значений из нескольких регистров ввода (Read Input Registers)

Переменная R (out)
· 1 (0x01) — чтение значений из нескольких регистров флагов (Read Coil Status)
· 3 (0x03) — чтение значений из нескольких регистров хранения (Read Holding Registers)
точно, спасибо!


__________________
C уважением, LordN
LordN вне форума   Ответить с цитированием
Ответ

Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать темы
Вы не можете отвечать на сообщения
Вы не можете прикреплять файлы
Вы не можете редактировать свои сообщения

BB code is Вкл.
[IMG] код Вкл.
HTML код Выкл.



Часовой пояс GMT +4, время: 01:04.


Версия vBulletin: 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Segnetics 2005 - 2023