Add your idea or search for answers in existing topics. The most popular ideas will be implemented faster!
0
Waiting for user's reply
Евгений Лешкив 10 months ago in Products / Modbus • updated by Dmitry - support (expert) 10 months ago 3

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

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

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

0
Answered
Andrei1980 1 year ago in Products / Modbus • updated by Ekaterina (head of support) 1 year ago 3

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

0
Under review
Michel Smeysters 1 year ago in Products / Modbus • updated by Nielsm 7 months ago 24

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:


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


Push button to activate M0.0


Settings:


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


Push button to activate M1.0


Settings:


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:



Inputs:



Outputs:



Dimmer module:



Thanks in advanced


Michel

0
Answered
Евгений Лешкив 1 year ago in Products / Modbus • updated 1 year ago 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
Completed
Ekaterina (head of support) 2 years ago in Products / Modbus • updated by Sergey (expert) 2 years ago 8
We get a decimal number (2 bytes) have to be converted to HEX, the low byte have to be separated from high byte. Separeated bytes have to be converted back to DEC to get two decimal digits by 8-bit.

IR.AddListener(IR.EVENT_TAG_CHANGE,IR.GetDevice("Modbus TCP"),function(item,value) // listener of ModBus TCP tag change
{
   if(item == "Feedback 1") //register name
   {
// we have a DEC number of 16-bit saved as a string
var dec2byte = "27542";
// Convert it in digit, and then in the HEX string
var hex2byte = parseInt(dec2byte).toString(16);
// Get the first byte from this string
var hexfirst = hex2byte.charAt(0) + hex2byte.charAt(1);
// Get the second byte from this string
var hexsecond = hex2byte.charAt(2) + hex2byte.charAt(3);
// get the DEC numbers from this HEX strings
decfirst = parseInt(hexfirst, 16);
decsecond = parseInt(hexsecond, 16);

IR.Log(decfirst)
IR.Log(decsecond)
});
0
Answered
D-man 4 years ago in Products / Modbus • updated by Oksana (expert) 2 years ago 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
Answered
Flyavik Design 2 years ago in Products / Modbus • updated 2 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
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
Answered
oggi katic 2 years ago in Products / Modbus • updated by Dmitry - support (expert) 2 years ago 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.


0
Fixed
Joseanio Galdino 2 years ago in Products / Modbus • updated 2 years ago 4


When imports the ModBus csv file about iDom Project, iRidium do not sets the IP address on the driver.


0
Jurgen de Meulenaere 2 years ago in Products / Modbus 0

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