0
Answered

Modbus variables

Flyavik Design 9 years ago in Products / Modbus updated 9 years ago 6
How can I chahge variable in Modbus PLC internal program? (I use Insyte Spyder2 PLC)
F.E. If it needed to switch off leak sensors from iPad. In program I check flag-variable.

Answer

Answer
Answered
You can find an instruction for Spyder2 in this artilcle (at Russian only, Insyte equipment was not used in other countries before). Please infrom if you need it in english.
And here u can download an example.

U can find our previous discussions in your profile, it could help.
Answer
Answered
You can find an instruction for Spyder2 in this artilcle (at Russian only, Insyte equipment was not used in other countries before). Please infrom if you need it in english.
And here u can download an example.

U can find our previous discussions in your profile, it could help.
Actually I'm russian speaking :-)
I've made reseach this article. There is no solution.
I just can't understand the way how can I  change program variable.
May be it's needed to make fake register or control unused coil?
Will ask Insyte support about this topic.
Pls send us some screenshots with the settings of variable you want to control. The list of address types is not so big, and they works the same generally.
Отправил запрос в Insyte:
В приложении фрагмент программы управления.
Сейчас дом ставится на охрану получением СМС "Отключение нагрузок"
Это вызывает установку флага "Постановка на охрану" в "1".
Далее, при движении, замеченном датчиками, переменная "Тревога - чужой" устанавливается в "1"
Это вызывает включение сирены

Как сделать так чтобы отправка команды с Иридиум устанавливался флаг "Постановка на охрану" в "1"?

Довольно быстро пришел ответ:
Слот переменной "Постановка на охрану" = 2, посмотреть можно если в списке навестись на неё мышкой
Для иридиума адрес этой переменной будет равен 41000 + (2*слот) = 41004, тип беззнаковое целое 32бит
Сделайте две кнопки, одна отправляет в эту переменную 0, вторая 1.





По результатам отпишусь здесь
Хорошо. В общем-то то же самое про управление переменными написано в статье по ссылке ниже. 
Теперь вижу! Не с тем ассоциировалось до этого