Study of Flexible Manufacturing System