This paper presents new routing protocol designed for use in AMR and AMM systems using powerline communication (PLC) for data collecting and network control at their last mile. First part of the paper describes the AMR and AMM systems and the reasons for their implementation. Further the narrowb and powerline communication as relatively simple way for data transfers at the last mile is shown and briefly described. Power-line channel characteristic implies a need of a network layer protocol implemented in the PLC nodes for such large-scaled narrowband PLC networks. In the next part simple routing protocol algorithm based on minimal energy consumption is presented. Finally the paper describes simulation software used for protocol design and its functional validation. Power line channel model used in simulator is described in detail.