Internet PLC Forum

General => Technical support => Topic started by: seitech on January 18, 2004, 05:20:39 AM

Title: Scrolling Text on 4X20
Post by: seitech on January 18, 2004, 05:20:39 AM
Is there an easy way to scroll through text on the 4x20 LCD? I have the HD-MMI keypad/LCD package with the T100MD-1616.  My application requires scrolling through a series of menus up and down to control motor drivers.

seitech
Title: Re: Scrolling Text on 4X20
Post by: support on January 19, 2004, 08:49:28 PM
You will have to define your menu structure in software. There isn't a command for scrolling the text since there isn't buffer to store text that are "off the screen". If you want to display more than 4 lines, then implement a "page up" and "page down" using the function key. Use a variable to keep track of the page number and then display the corresponding text to the page.

Note that since the string A$ to Z$ an also be represented by an array $$[1] to $$[26] you may be able to store some text in the string variable and selective display them using the index n to the array $$[n].