In mechanisms, you have the server motor. There you can specify the type of motor that you need.
You can specify a motor with a function type by table, where you can define the position with time. You can define the position in an excel table, then export to .txt file.