Sign in to follow this  
Followers 0
Kalesha

Need help in table scrolling

3 posts in this topic

Hi all,

We have a DOP 107CV HMI we interface this HMI with microcontroller through RS485 Modbus protocol.

I'm new to HMI and PLC's although we are successful in interfacing HMI with Controller(Communication Established successfully)

We made a table in HMI and allotted some registers to Modbus address and data is transferred from controller to HMI up to this we are good in communicating

Since the table created is static and we cannot scroll down from that table so, to overcome this problem we found History buffer and made PLC trigger and allotted address.

In that History Buffer we created 7 rows and the data is sample whenever we triggered the PLC in that case scrolling is working fine, but the problem we are facing is whenever we update 3 rows out of 7 and triggered the PLC only 3 samples are updated in first column and in the next step we updated the other 4 rows and triggered the PLC the data is sampled on next column but we required it to be sample on first column instead of second.

 

Capture.PNG

Share this post


Link to post
Share on other sites

If I am understanding your post correctly you have a table of data to display which for each sample there are eight(8) columns or pieces of information.

You can put the first seven items or rows up on the display just fine.  Static Display works.

But now you have data samples 8,9 & 10 come along you want 1,2 & 3 to scroll off the screen and 8,9 & 10 to appear at the bottom or top of the screen.

IF this sounds right then I'd say abandon using the history buffer, it's not what you want. 

Use a static display array of addresses and the FIFO buffer the data.  DIsplay the registers of the FIFO buffer statically.

DO your scrolling in the PLC coding and not in the HMI.

I hope what I am trying to say makes sense and Welcome to mrplc.com.

Share this post


Link to post
Share on other sites

Thanks for your quick reply.

Quote
33 minutes ago, BobLfoot said:

IF this sounds right then I'd say abandon using the history buffer, it's not what you want. 

Yes, I thought the same that I shouldn't use History buffer for my application.

31 minutes ago, BobLfoot said:

DO your scrolling in the PLC coding and not in the HMI.

The other side I'm not using PLC I'm using a Microcontroller to transfer data over Modbus.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0