RobotStudio event

How to use a Gripper (Smart Component)?

Hi! I am a teacher and I am using RobotStudio for the first time.

I already know how to record the positions of robot using the Flex Pendant and it is ok.

But what I don't know how to do is using a smart component, like a gripper. I have searched about it for many days, including youtube videos, but I have found NOTHING!

What I only wanna do is making a program where I can open and close a smart gripper! Only this! 

I know how to attach the gripper with the robot. The only thing I dont know is how I can program this gripper to open and close!

Is there any tutorial or video teaching on how to do it??? I would appreciate a lot!

Thanks! And sorry if my English is not perfect, this is not my first language.