Page 1 of 1

arduino/hmi modbus

Posted: Wed Jun 23, 2021 1:34 pm
by franky1978
hi all,
this is the first time i use flowcode 8 and i am trying to interface an HMI to arduino mega using modbus protocol, but
i don't understand how to do it, can someone help me?
thanks for your help

here the link for the hmi
http://www.we-con.com.cn/en/productsinfo_3964.html

best regards

Re: arduino/hmi modbus

Posted: Wed Jun 23, 2021 2:38 pm
by AbhijitR
Hello! franky1978

I tried to download the datasheet of the HMI but without success, if you got the same ready could you share.

Abhi

Re: arduino/hmi modbus

Posted: Wed Jun 23, 2021 3:23 pm
by franky1978
hi Abhi,

I don't have the hmi datasheet, but in the software it's possible to set the protocol type (master slave ect)

thanks!

Re: arduino/hmi modbus

Posted: Wed Jun 23, 2021 10:21 pm
by chipfryer27
Hi

Without an available datasheet you might struggle. Perhaps you might find some assistance in the WiKi pages which give examples of using ModBus etc?

This is just one example
https://www.matrixtsl.com/wiki/index.ph ... s:_System)

Regards

Re: arduino/hmi modbus

Posted: Thu Jun 24, 2021 6:23 am
by franky1978
hi,
sure, i just wanted to know if anyone has ever used a wecon display with arduino using flowcode, it is not clear to me how to write on the hmi
and read from it, i have not found examples.
Do i have to put both modbus master and slave in flowcode?
thanks for the help

Re: arduino/hmi modbus

Posted: Fri Jun 25, 2021 9:11 pm
by viktor_au
Flowcode team have SCADA system for industrial applications.
https://www.matrixtsl.com/wiki/index.ph ... trix_SCADA
-----------------
https://www.matrixtsl.com/wiki/index.ph ... A_Examples
A simple example showing the hoppers, valves and pipes working together. Each tank automatically empties in turn.
----------------
I think you have to buy a SCADA component.