In the last years the utilization of Multiagent Systems to implement distributed control systems in industrial environments was presented as suitable and as a cost-effective solution to deal with the new requirements regarding flexibility and dynamism on the shop-floor. However, the proposed implementation of these distributed Cyber-Physical Production Systems faced some challenges regarding hardware and network requirements. Hence, the proposed work presents one utilization of a Multiagent-based distributed control system running on the fog level and running upon the edge level. This research presents a test and assessment of running intelligent agents outside the edge level but at the same time avoid the deployment of the industrial agents on the cloud level due to time and performance constraints. The proposed test presents a Multiagent architecture responsible for controlling the shop-floor, but the overall architecture was designed to accommodate the agents on the fog level, running upon the edge level composed by industrial controllers running Device Profile Web Services.