Implementation of Artificial Neural Networks for the dynamic control of a manufacturing system