You will probably need MCD (mechatronics concept designer) for it. I will suggest that you post this query on NX Simulation forum also.
As the mechanism is very simple (and you won't be able to simulate body deformations in MCD), you can alternately use the expression-based animation.
see this thread: Click
However, MCD would allow you to connect the NX model with a controller via OPC.