This paper present the modeling and simulation of a legged robot. Walking machine was based on scarab's characteristics. Dynamic modeling was raised by means of the use of mechatronic networks schemes. The robot simulation was made into Matlab enviroment using the Simulink toolbox. Simulation diagrams was built from dynamic equations taking part in electro mechanic networks.