hi our friends
I want set out put , but I cant
I write
$OUT[10] = TRUE
but out [10] activate for first time before loop start when loop start I can't to activate it .
even I add Wait formula before and after
$OUT[10] = TRUE
I need another formula for set OUT[10]
please help me .
how do I set output
-
km427 -
July 26, 2016 at 12:30 PM -
Thread is marked as Resolved.
-
-
Can you explain more about your problem? Your explanation is ambiguous. It would be better if you would post your code here.
-
For the first time ,
$OUT[10] = TRUE
is activate search mood
with start loop
it is be activated , I need new formula for set out put
would you send me all instruction set output excluding it . -
to set an output, simply use:
$OUT[10]=TRUE
if you set it again, there will be no change. to see change, you must reset it first:
$OUT[10]=FALSE
And even if you are writing value to an output, you may not be able to see change if output is used by system or another task
-
I do
$out[10] = true
and reset
$out[10] = false
but i have problem , in loop it is be activated
Is there another style for writing set output?
-
I have no idea what is that you try to do. instructions presented here allow you to write to output. if you do it in a loop, changes will be too fast to observe:
but if you add delay, you can see transitions clearly
there are different ways to write to an output, you can assign output to one of system functions and then output will be updated automatically regardless what your program does. you can do the same in background task (submit interpreter). you can use $OUT_C and TRIGGER and SIGNAL etc.
-
how and where you are checking state of the output? is the output used by anything else? is it mapped to hardware I/O point?
-
even change output address , but
is .
Is it another style for set ? -
version 1
version 2
version 3
version 4
version 5
version 6
version 7
CodeSIGNAL surprise $out[1] to $out[32] SIGNAL surprise2 $in[1] to $in[32] surprise = surprise B_OR surprise2
version 8
version 9
version 10
version 11
version 12
version 13
version 14
version 15
version 16
....
...
...version 999999999999
....etc.
there is practically infinite number of ways to accomplish this...
-
Thank you for help to me .