From Robot to Mechanism

I wonder how to program a robot to manipulate a mechanism. Do I have to create any new signal?