How do I program pnuematics?

I am a little new to programming and am wondering if someone could show me how to program pneumatics. I want to be able to press a button that pushes the piston up and then pushes the piston down after being pressed again.

I would suggest using the search bar.