Industrial production’s main goal is to achieve adaptability, resource efficiency, as well as, to integrate the complete value and supply chains, including customers, in business and value processes. To this end, manufacturing systems need to be as generic as possible in order to answer the different needs of a variety of industries. Industry4.0 paradigm stands as the baseline to answer these requirements, and data collection capabilities represent a major pillar in this strategy. Moreover, the way companies interact and communicate, being able of sharing information among themselves as well as to take full advantage of the data and knowledge being generated (even within the same company) demand huge attention to solving interoperability issues. The C2NET project (Cloud Collaborative Manufacturing Networks project), intends to implement the Industry 4.0 vision aiming to provide a cloud-based platform for managing the company interactions and promoting enterprise interoperability. This paper presents how the Data Collection Framework (DCF) developed within C2NET project can be used to collect data and support an automatic non-conformity detection case in a Portuguese metalworking SME. The developed components are briefly described as well as the implemented use case. The results obtained are also presented and discussed.