Add your idea or search for answers in existing topics. The most popular ideas will be implemented faster!

We have moved our support service to a new technical support system. Since 17.01.2022, we have disabled the ability to create appeals through the userecho personal account. Now all requests are processed via mail to support@iridi.com .

Thank you for your understanding and have a nice day.

0
Waiting for user's reply

modbus exception

evg 8 jaar geleden in Products / Modbus bijgewerkt door Dmitry - support (expert) 8 jaar geleden 3

Вижу такую ошибку:

[16-08-2016 16:41:08.897] ERROR CAbstractModbusDevice(1): FC128 Exception: 0

Подскажите, что она обозначает

0
Beantwoord

Modbus TCP Server нет информации

Andrei1980 9 jaar geleden in Products / Modbus bijgewerkt door Ekaterina (head of support) 9 jaar geleden 3

Здравствуйте, собственно проблема заключается в том, что контроллер работает только мастером, необходимо по Modbus TCP подружить его с панелью управления , может есть какие примеры или документация как это реализовать? Спасибо.

0
Beantwoord

Connection between Beckhoff PLC I/O adress to Modbus adress

Michel Smeysters 9 jaar geleden in Products / Modbus bijgewerkt door Vasiliy Tatarinov 3 jaar geleden 26

Hi all,


I 'm new to iRidium and i am working on my first project.

I have a Beckhoff PLC CX8090 and communication to iRidium over Modbus TCP. I am having trouble adressing my variables in Modbus. Because I have little to no experience with Modbus TCP ....

Below you can see what i have found:


ModbusTCP: commands:

Image 12064

Name MW0 as adress in the PLC (just as reminder)


Push button to activate M0.0

Image 12070

Settings:

Image 12069

Send number 1 (dec) -> bin 0000 0001 this is M0.0 in PLC


Push button to activate M1.0

Image 12071

Settings:

Image 12072

Send number 256 (dec) -> bin 0000 0001 0000 0000 this is M1.0 in PLC


I can't find a way how to connect with the I/O's directly to the PLC.

Can anyone give a concrete example to me how I can retrieve / send certain addresses ? The inputs of the PLC i am using is starting from I19.0 , the outputs from Q19.0.


Twincat manager:

Image 12073


Inputs:

Image 12074


Outputs:

Image 12075


Dimmer module:

Image 12076


Thanks in advanced


Michel

0
Beantwoord

Работа с ModBus TCP. Time of waiting for data is over!

evg 9 jaar geleden in Products / Modbus bijgewerkt door anonymous 9 jaar geleden 16

Подскажите, пжст, есть на объекте ModBus TCP устройство.

Никак не могу подключиться к нему через iRidium.

Лог:

[26-02-2016 16:47:59.928] DEBUG CAbstractModbusDevice(1): StartConnect()

[26-02-2016 16:48:12.433] ERROR CAbstractModbusDevice::WorkSend() packet waiting time is over!

[26-02-2016 16:48:13.489] ERROR CAbstractModbusDevice(1): Time of waiting for data is over!

[26-02-2016 16:48:13.539] DEBUG CAbstractModbusDevice(1): StartConnect()

Не получает ответа.

При этом штатный софт работает, т.е. данные есть и оборудование "живое". Сниффер также показывает, что данные идут. Параметры подключения верные.

0
Voltooid

Разделение старшего и младшего байта в 16-битном слове

Ekaterina (head of support) 10 jaar geleden in Products / Modbus bijgewerkt door Sergey (expert) 10 jaar geleden 8
Мы получаем десятичное число, которое нужно перевести в НЕХ (2 байта), отделить младший байт от старшего и по отдельности перевести их обратно в DEC (получить два десятичных числа)

IR.AddListener(IR.EVENT_TAG_CHANGE,IR.GetDevice("Modbus TCP"),function(item,value) // активируем слушатель изменения любого тега драйвера ModBus TCP
{
   if(item == "Feedback 1") // указываем имя регистра, к которому нужно применить битовую маску
   {
// Изначально было 10-ое 2-ух байтовое в виде строки 
var dec2byte = "27542";
// Конвертируем в число, а затем в 16-ую строку
var hex2byte = parseInt(dec2byte).toString(16);
// Получаем первый байт из строки 
var hexfirst = hex2byte.charAt(0) + hex2byte.charAt(1);
// Получаем второй байт из строки
var hexsecond = hex2byte.charAt(2) + hex2byte.charAt(3);
// Получаем десятичное число из 16-ых байтов в строке 
decfirst = parseInt(hexfirst, 16);
decsecond = parseInt(hexsecond, 16);

IR.Log(decfirst)
IR.Log(decsecond)
});
0
Beantwoord

Maximum number of MODBUS commands/feedbacks

D-man 12 jaar geleden in Products / Modbus bijgewerkt door Oksana (expert) 10 jaar geleden 10
Hello,

is there a maximum of MODBUS commands/feedbacks in Iridium?
I'm workin on a project with about 4000 MODBUS objects.
Is this gonna work of could this give some troubles?
0
Beantwoord

Modbus variables

Flyavik Design 10 jaar geleden in Products / Modbus bijgewerkt 10 jaar geleden 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.
Antwoord
Ekaterina (head of support) 10 jaar geleden
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.
0
Beantwoord

Read Modbus Status

oggi katic 9 jaar geleden in Products / Modbus bijgewerkt door Dmitry - support (expert) 9 jaar geleden 8

Hello Everybody.


Can somebody explain me how to read a status from a modbus device/adress.


Right now i can toggle light on/off. but i want to read a feedback, then if status is 0 the state 1 of a button is active.


I have these informations from my modbus controller.


Image 10350

0

PEHA modbus

Jurgen de Meulenaere 9 jaar geleden in Products / Modbus 0

Anyone ever tried to connect a Peha 941 stm an (PLC) with Iridium Mobile?

0
Under review

Use Bits out of Holding Register Beckhoff Modbus TCP

Jarryd Milissa 10 jaar geleden in Products / Modbus bijgewerkt door Ekaterina (head of support) 10 jaar geleden 4
Hello,

i'm searching how i can communicate with mij ipad with iridium mobile and my beckhoff cx8090 controller for a building automation project.

i'm searching for a simple way to control bits that i wanna use to control some lights etc...
but i don't wanna control the hardware outputs immediately , i first wanna control this request in the program with other conditions before i set the hardware outputs.

but i can't find how i set virtual variables from iridium to beckhoff.
from what i found now i think this has to me written in the holding registers 3000 and 4000 of modbus

so i made a variable in beckhoff as you can see in image below:


Image 8491

and then i made in iridium next variable in the modes tcp driver:


Image 8489


Image 8490


this works fine an the value in beckhoff of holding out[3] and holding out[4] changing when i change in iridium.

but this isn't what i exactly want because i wanna sen bit command separately
for example :

button light 1 => set bit 1 in beckhoff


sound simple but i can't find how to do this,


i hope someone can help me with this or has example how to test this


thanks a lot
Jarryd