MATLAB: 3-Rps Parallel Robot

MATLABparallel robot; simmechanics; simulink;constraintsSimscape Multibody

I do a 3-RPS parallel robot model using Simmechanics,but I don't know how to add constraints on joints.<<<For example,the revolute joint rotate from 0 degree to 45 degrees,and the prismatic joint move from 15cm to 20cm.>>>
When added constraints the revolute joint can only rotate from 0 degree to 45 degrees,or the prismatic joint can only move from 15cm to 20cm,no matter what the torque or force is.But in the Simmechanics I can't find a block to achieve this function.Should I need a script to link with the model.

Best Answer