Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Pot Display

got a question....when i want to change presets on timers using koyo plcs......i have been using a pot to change the value but then i put an expression on top of it to display the value divided by 10 with a decimal point since 10 equals 1 second........so you don't realize you are actually clicking on a pot instead of an expression.......but i still have to enter 20 or 30 or 40 etc. in the pot to get 2,3 or 4 seconds.......is there another...better...way to do this......thanks....randy
0 Kudos
Message 1 of 12
(5,228 Views)
I don't quite understand your requirements.
if you could give a simple process to show what you have done, or what you want to do, it would be good.
Ryan Shi
National Instruments
0 Kudos
Message 2 of 12
(5,200 Views)
ok here is what i do now......
0 Kudos
Message 3 of 12
(5,183 Views)
Why not directly use pot? I don't see any necessity of covering an expression on it.
If you want to see decimal, just change the resolution from 1 to 0.1, or 0.01.
Ryan Shi
National Instruments
0 Kudos
Message 4 of 12
(5,170 Views)
i just can't make that work..... the value in say v4000:b is 1 but i've tried changing it to .1 .01 10  you name it....it still won't give me that value divided by 10.....i guess because the resolution is 1.....it won't work for me any other way than to cover it with the expression where i can do the math....thanks...randy
0 Kudos
Message 5 of 12
(5,139 Views)

Randy,

I would like to help, but I am afraid I still don't understand what you are trying to accomplish.

-Khalid

0 Kudos
Message 6 of 12
(5,135 Views)

If V4000:b is to represent the time in tenths of a second, then:

1. Create  a pot in Lookout with a resolution of 0.1 (ie Pot1)

2. Connect V4000:b to the pot value times 10. (Pot1 * 10)

Setting the pot to 25.3 should give you 253 tenths in the PLC ( 25.3 seconds)

 

Regards,

 

Bob

Message 7 of 12
(5,131 Views)
i'm just not doing something right.....i cannot get a pot to do what i want.......when i connect a pot to V4000:B*10 and put a value of 20....i go to directsoft and there is a value of 20 in the v memory v4000......i've tried changing the resolution to .1 and it still doesn't matter....but it seems to me the resolution ought to be 1 because 1 on the lookout display needs to load 10 to v4000......but it doesn't for me.....don't know why
0 Kudos
Message 8 of 12
(5,108 Views)

DON'T   "connect a pot to V4000:b * 10"

DO - connect V4000:b to a pot * 10

The former sets the pot to the value of the PLC location time 10. The latter sets the PLC location to ten times the value of the pot.

Regards,

Bob

 

Message 9 of 12
(5,099 Views)
bob i appreciate your help and i apologize for being so dang dumb...as ryan and khalid can both testify from helping me before....but i just don't get this...DON'T "connect a pot to V4000:b * 10"

DO - connect V4000:b to a pot * 10

i don't understand what you mean here...how do i connect v4000:b to a pot* 10
thanks...randy
0 Kudos
Message 10 of 12
(5,083 Views)