In general sense it is : if climb button (up) is down, set platform vector Y to a negative number (the lower the number the faster the climb i.e. -200 moves faster than -10)
This will work from any position, to make it a wall climb you can add a condition such as 'platform has wall to the left/right'