The paper describes the development of an optimization model for the layout of an industrial robot relative to known locations of served machines and operations to be performed. Robotized material handling applications, defined by trajectories (paths, speed profiles) and final points, are considered in this research. An energy-monitoring framework set up by joint velocities provides input data that are fed to the optimization model. The physical placement of the robot base stands for the decisional variables, while the objective function is represented by the total distance covered by individual joints along established task routes transposed into energy consumption. The values of the decisional variables are restricted by trajectory constraints (waypoints on paths), joint operating values and link dimensions. Modelling technique and practical results using the Microsoft Solver optimization tool from Excel for Microsoft 365, Version 2312 are reported for SCARA-type robots. The performance of the optimization model is compared with actual measurements of consumed energy on an Adept Cobra S600 SCARA robot.