|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Coding in a sequence.
That will work as is in Periodic Tasks.
Just drop it by itself onto the Block Diagram. |
|
#2
|
|||
|
|||
|
Re: Coding in a sequence.
Sweet. I added solenoids in with the motor. In Begin, the solenoid starts in Forward, then in Periodic, the solenoid is retracted when Button 1 is pressed, then 1 sec later, the motor starts, then after X seconds, the motor stops and then the solenoid goes back to Forward. Does that describe the pic I have?
|
|
#3
|
|||||
|
|||||
|
Re: Coding in a sequence.
Looks good.
The only change I'd make is to the very first 2 sec. timer directly under "Button 1" I'd change that to "20" That's just because new driver commands arrive every 20ms and you really don't want the driver to have to wait 2 seconds to find out if he/she pushed the button correctly. That might annoy the drivers a little. Last edited by Mark McLeod : 11-02-2014 at 16:10. |
|
#4
|
|||
|
|||
|
Re: Coding in a sequence.
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|