PLUS+1 User Forum

PLUS+1 Hardware => Controllers => Topic started by: MimmoA on January 28, 2014, 10:54:48 AM

Title: Assigning numbers to the signal
Post by: MimmoA on January 28, 2014, 10:54:48 AM
Hello to all,
i have this problem:
I have two position signals and I would like to assign a number to each of them to be able to distinguere.Ho tried to connect the block'' Value'' but when I go to acquire the associated number remains in memory the last number of the previous block. Anyone have any suggestions?
Thanks in advance
Title: Re: Assigning numbers to the signal
Post by: oiltronic on February 03, 2014, 06:15:25 PM
I'm not clear on what you are trying to do, but it sounds like you might not be using the Value component correctly.  The Value component is best understood as a "sample and hold" device that passes through a signal when the control input is TRUE, then will hold (memorize/freeze, etc) the output when the control input goes FALSE.

It sounds like you want to either use a switch (binary or selected with a number) or maybe put the values into an array.