I have not exactly done what you need, but something similar.
Robot writes the position for the gripper in the $OUT signals.
This was defined as a variable in the SimPro Interface. and my python script was reading the input of the variables and was setting the required position of the gripper. And vice versa was done to read the status of the gripper from robot.
I donot have Simpro license to exactly explain what and where it was done.
When I was doing it I was referring to the training material from Visual components to do it.
May be check their site and see if it helps.