|
Re: Air Cylinder,compressor,soleinoids,relay
Are you currently trying to operate the compressor and cylinders on a bench setup do you just want to make sure that your code will work once you get there?
I will be the Control System Advisor at the Razorback Regional. Look for one of the volunteers in an orange hat on Thursday and we will help get your compressor and solenoids working.
In the Begin, you do not need the Relay Open block. It is taken care of by the Compressor Open.
In the Solenoid Open, you have both solenoid channels selecting Solenoid 1.
You need to add a Set Ref for the compressor so it can be used inside of Periodic Tasks.vi. Make sure that in Periodic Tasks that the compressor code is enabled and the reference is set to the same name as you add in the Begin.vi.
In Teleop.vi, the release will need to be set to "Reverse", not "Off". Off leaves the valve in the last state.
|