Help Solenoid with Arduino and CNC Shield

Hello friends
Currently I am using an Arduino UNO and CNC Sheild with GRBL code to control the plotters
Currently I want to replace Servo with Solenoid to control the pen lift and pen that I find difficult
Does anyone can show me how to set up solenoid with CNC sheild to raise pen and lower pen?
Thank you very much

arduino_uno_r3__china__grande.jpg

cnc-shield01.jpg

images.jpg