Hello Guest it is April 19, 2024, 11:45:13 AM

Author Topic: Multiple information per line on LCD?  (Read 3843 times)

0 Members and 1 Guest are viewing this topic.

Multiple information per line on LCD?
« on: September 08, 2010, 11:37:03 AM »
Hi all,

I would like to put 2 types of variables on each line of the LCD at a fixed starting position, is this possible.. If so..HOW? ???

ie.
Line 1: X-DRO and behind this (ofcourse at a fixed position) the feedrate
Line 2: Y-DRO and behind this (ofcourse at a fixed position) the spindlespeed
Line 3: Z-DRO and behind this (ofcourse at a fixed position) the jograte
Line 4: A-DRO and behind this (ofcourse at a fixed position) the toolnumber

I can get 2 variables on the LCD, however not at a fixed location..

Hope that someone can help me out (and probably others as well)

Cheers,
BriBis
Re: Multiple information per line on LCD?
« Reply #1 on: February 19, 2011, 01:36:01 PM »
Can you post how did you get 2 types of variables to one line of the LCD?
Maybe we can find a solution to your problem.

Regards,
Milan
Re: Multiple information per line on LCD?
« Reply #2 on: July 06, 2011, 03:42:14 PM »
You are not the only person that sit whit this problem I havet he same problem I like to set also 2 variable on 1 line
is there something in documentation to find how I can solve this problem

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Multiple information per line on LCD?
« Reply #3 on: July 06, 2011, 07:10:45 PM »
guys, on your single line, insert spaces "    " between your "two" items, the first is the info on the left, then and in your space, then and in your secondary
display item.

scott
fun times
Re: Multiple information per line on LCD?
« Reply #4 on: July 08, 2011, 12:47:58 AM »
BriBis,

Here's a line from my macropump

setuserlabel(201,"X"& Format(getdro(0)," 0000.000;-0000.000")&" F"&Format(getoemdro(818)," ####00"))

The key is to make the first entry a fixed width. That's why I use the Format function. Hope it helps.

Zafar
« Last Edit: July 08, 2011, 12:50:22 AM by zafarsalam »