The overall idea of this thesis is to implement a sustainable path with the shortest distance for the ABB robots and to compute the energy of the obtained path automatically. Thus, motion planning for robotics enhances the productivity, efficiency of the manufacturing industries. In fact, the Industry 4.0 focuses on the smart manufacturing and commissioning. In the view of addressing the above fact, path planning is presented in this work. Path planning algorithm and energy calculation have been developed through C# language in Microsoft Visual Studio. The developed RobotStudio Addin file has been imported in ABB Robot Studio® software, where simulation of ABB robots will be performed. It has been implemented in ABB IRB120T and ABB IRB4400. Thus, an optimal path for the given start and goal point has been developed and demonstrated through simulation, which is distance efficient.