LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Electropneumatics

I am a complete novice in LabVIEW.

Can someone help me with the block diagram to operate a pneumatic cylinder in a desired sequence using position sensor and solenoid valve. I need to operate 2 cylinders.

 

Thank you  

0 Kudos
Message 1 of 6
(2,532 Views)

Hi kochadaiiyan,

 

what about starting with a sheet of paper and drawing the required algorithm?

 

in a desired sequence

What about a statemachine to do several things in a certain order?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(2,530 Views)

this is way too little information.

 

what have you tried so far? (show us your code --- not as a picture)

how do you communicate with your cylinder/sensor/valve?


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 3 of 6
(2,529 Views)

The cylinders are  A and B

The sequence could be A1A0B1B0 or A1B1A0B0

0 Kudos
Message 4 of 6
(2,495 Views)

I haven't tried anything. I also have no idea to code. Can you please help?

0 Kudos
Message 5 of 6
(2,493 Views)

sorry to say this, but your picture is not an algorithm.

https://en.wikipedia.org/wiki/Algorithm

 

things you want to know beforehand:

- how can the cylinders be controlled (e.g. opening/closing of air valve, via voltage / serial)

- how are the valves controlled (e.g. voltage level / serial)

- how and what information do you get from the sensors

- how does the sensor information reflect the state of the cylinder

- what calculation needs to be done on the sensor values to have input for the valves

 

and so forth...

 

you could break down your big problem into smaller problems.

e.g. first find out the workings of each hardware component (input/output/meaning)

after you've done that, work out the algorithm to control the whole system

 

regards


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 6 of 6
(2,487 Views)