The problem of accurate and reliable plasma shape control is significant, both for modern operating tokamaks, for example for the Globus-M/M2 spherical tokamak, and for future thermonuclear tokamak-reactors using magnetic plasma confinement. The article presents the new results of design and modeling the plasma shape control system for the Globus-M/M2 tokamak with the pre-trained artificial neural network as a plasma equilibrium reconstruction algorithm, which is included in the feedback of the control system. To collect the necessary data for training the artificial neural netw