05-02-2012 12:38 PM
Well, again, I can't view it because I don't have LV11. But your previous post does not show a state machine. With this, you can get rid of your sequence structure. I don't use them accept to force data flow, but you don't need it for that. Use your error clusters. Use this always, bare minimum to give you some error handling. This will also give you the data flow that you need.
05-03-2012 02:16 AM
Here you go, the 8.2 version.
At least this one does what it should, but since i'm quite new with this i guess i has a few bad solutions and missouts.
How would you use error clusters in this one? I havent used them before.
05-03-2012 07:32 AM
I took the liberty of making some changes to your code.
Do you want the process to repeat with either state of the boolean? Your code is duplicated in both cases (true and false). Besides that, your false case will never execute past the Wait state with this design. In order for any of the false case functions to execute, boolean must be true, in which case it is going to execute the true case instead. I don't think you need anything in the false case.
05-04-2012 06:44 AM
This one looks wery good! I'm glad you took the libery of making some changes!:)
The boolean swich desides about running the opening sequens or the closing sequense.
The the wait case wil run until a change in the boolean is made, and the change vil be detected and jump to "close_prev".
Thanks alot for the help!:)
05-04-2012 07:48 AM
Your welcome. I'm glad you can make use of it.
05-15-2012 10:40 AM
Hi,
I know this is a bit off-topic, but i was wondering what is your relay for the soleniod valve...
Thanks,
M