Author Topic: Scrolling Text on 4X20  (Read 15198 times)

seitech

  • Newbie
  • Posts: 7
    • View Profile
Scrolling Text on 4X20
« 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
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re: Scrolling Text on 4X20
« Reply #1 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].
« Last Edit: December 31, 1969, 04:00:00 PM by 1076562000 »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS