Good day all,
I am having a loss of function in my brain today and thought I'd ask the group here what they thought.
I am trying to make an AOI in Studio 5000 that will allow a numeric input to allow how many decimal points would be displayed.
A 1 entered the display would be XX.X, a 2 would be XX.XX and so on and so forth.
I think the easiest way to be to multiply 1 by ten and do a loop for how many times equal to the number entered, but I can't figure out the logic to do it. I can go either structured text or ladder.
Can someone help me? Thanks in advance
I am having a loss of function in my brain today and thought I'd ask the group here what they thought.
I am trying to make an AOI in Studio 5000 that will allow a numeric input to allow how many decimal points would be displayed.
A 1 entered the display would be XX.X, a 2 would be XX.XX and so on and so forth.
I think the easiest way to be to multiply 1 by ten and do a loop for how many times equal to the number entered, but I can't figure out the logic to do it. I can go either structured text or ladder.
Can someone help me? Thanks in advance