Industry is a major energy consumer and therefore, manufacturers are continuously trying to reduce manufacturing costs. The improvement of energy usage in manufacturing has been receiving large attention during the last years due to the increasing energy cost and environmental awareness. However, it is still difficult to identify the most energy demanding manufacturing phases in the whole manufacturing process, and which ones can and should be energetically improved. This paper proposes a standard-based infrastructure to collect and monitor energy data in real time for manufacturing and production systems, along with a manufacturing energy management system (MEMS). The collected data improves energy consumption awareness and allows the MEMS to make further analysis and to identify where to take actions in the manufacturing process in order to reduce the energy consumption. The developed MEMS enables energy consumption monitoring with different granularities, depending on where the monitoring devices are placed, that is, per machine, per product process, or for the factory as a whole. The developed MEMS also includes the control of energy related devices to support energy-based decisions and enables the interoperability with a generic manufacturing management system simulation software that works with real monitored energy data in order to test and validate modifications made to the manufacturing process.