The requirements of industrial production have drastically changed in the past. Mass production has been the predominant approach for decades, but there is a growing demand for individualized goods. In particular, small and medium-sized enterprises (SME) deal with small lot sizes and even single-item production. These companies have very demanding requirements for robot deployment. Programming robots must be time efficient and not require specific expertise in robotics, so that shop floor workers can use them. In this article, we introduce a knowledge-based approach to address these issues.