Nematron Pointe Controller User Manual

Page 53

Advertising
background image

Pointe Controller User Guide

Chapter 3: Quickstart Project

51

Let’s add just one more statement to set rightOn to TRUE. This will force the
decision block to take the other branch on the next scan through. In that branch,
we’ll set the output states to the opposite values. That will create the flashing
effect that we are looking to achieve.

16. Insert a third Command property, as described previously.

17. Define the third Command property as “rightOn = TRUE,” as described

previously. Remember that rightOn is a memory tag rather than an
output tag.

18. Close the Block Properties window.

Now we need to add the second of the two output patterns — turn on MyOut1,
turn off MyOut2, and set rightOn to FALSE.

19. Insert a new Process block in the Then branch to the right of “rightOn =

TRUE” decision block.

20. Open the Process block’s Block Properties window.

21. Using the same procedure as before, define three Assign commands in the

Process block:

o

“MyOut1 = ON”

o

“MyOut2 = OFF”

o

“rightOn = FALSE”

Advertising