Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 29, 2024, 10:35:38 22:35


Login with username, password and session length


Pages: [1]
Print
Author Topic: How to read from HMI?  (Read 5818 times)
0 Members and 1 Guest are viewing this topic.
nanocycle
Newbie
*
Offline Offline

Posts: 20

Thank You
-Given: 3
-Receive: 5


« on: March 06, 2009, 07:44:12 19:44 »

Hi every body,

Is it possible to connect a HMI(color touch panel) to avr and read data from it and send some parameters via avr to HMI?


regards,
Logged
micropar
Active Member
***
Offline Offline

Posts: 173

Thank You
-Given: 44
-Receive: 13


« Reply #1 on: March 12, 2009, 10:03:23 10:03 »

Hi nanocycle,

Yes, you can read / write HMI with MODBUS. Most HMIs provides MODBUS compatibility. But you are required to use external PC based Program to build screen interface and download the same to HMI, which are available from maker of HMI, when you buy from them. Then you can connect with AVR having MODBUS firmware that you need to write yourself.

Regards,
--micropar--
Logged
nanocycle
Newbie
*
Offline Offline

Posts: 20

Thank You
-Given: 3
-Receive: 5


« Reply #2 on: March 17, 2009, 08:58:25 08:58 »

Hi

Thanks so much for your reply.
But here there is one problem.Suppose that i made screens in HMI.and i want to read status of one button in the second screen.
What is the the data the will be send to HMI and what is the answer?Can you give me a example?
Also I don't know anything about MODBUS.As far as i know,avr is just only has RXD and TXD in TTL logic.
How we are able to change this logic to MODBUS.

Regards,
Logged
patoliyarj
Newbie
*
Offline Offline

Posts: 25

Thank You
-Given: 22
-Receive: 5


« Reply #3 on: March 17, 2009, 09:47:00 09:47 »

MODBUS is different in the sense of protocol...
you should have to configure your HMI for the same and have to prepare your controller for rx and tx data on modbus. Also, many HMI having serial, rs485, Ethernet and even USB interface options...get the best suite to your application and controller and go ahead....
Logged
samir
Active Member
***
 Muted
Offline Offline

Posts: 181

Thank You
-Given: 27
-Receive: 21


« Reply #4 on: March 24, 2009, 04:25:53 04:25 »

Hi

Thanks so much for your reply.
But here there is one problem.Suppose that i made screens in HMI.and i want to read status of one button in the second screen.
What is the the data the will be send to HMI and what is the answer?Can you give me a example?
Also I don't know anything about MODBUS.As far as i know,avr is just only has RXD and TXD in TTL logic.
How we are able to change this logic to MODBUS.

Regards,
In ModBUS one configure each configure each Control variable(e.g Button) to user defined memory address in HMI.To read Status from salve Node you specify that address and command( Read Or Write in Modbus) in modbus Packet.Free moodbus stack is available at
http://www.freemodbus.org/index.php?idx=2
Regarding hardware,If your HMI has RS232 Support than MAX232 will do,for RS485 one have to use MAX485.and if Your HMI has ethernet port than have to use Network Interface Controller(NIC) like
ENC28J60 and require MODBUS over Ethernet Protocol
Hope this will help
Logged
nanocycle
Newbie
*
Offline Offline

Posts: 20

Thank You
-Given: 3
-Receive: 5


« Reply #5 on: April 20, 2009, 10:41:00 10:41 »

I can no find any complete project in the net.
Do somebody knows any project with source codes?

regards
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC