Integration MALLAB and S7-300 PLC System; Case study in Bottle Detecting

Main Article Content

นายสะกล คำแผ่น
นายไสว พงศ์สวัสดิ์


This Paper describes an implementation of using camera to capture image of bottle on conveyor belt. The image analysis will be done in order to determine a density of number of bottles (DNB) instead of using sensor or limit switch which activate when bottles arrived to detecting point of the sensor. The data from the image processing to be used in conjunction with the drive control system in order to adjust the belt speed in accordance with the amount of bottles in assigned zone on the conveyor. The image analysis will be done by MATLAB to obtain information on the number of bottles in the specific area. The data from MATLAB will be sent via OPC to S7-300 PLC for the motor speed control system. The experiment result shows that the system can exchange information and can actually work together.


Download data is not yet available.

Article Details

Research Article


Pieter P. Jonker, “Image Processing Hardware for Counting Massive Object Streams”, IV Conference D: Architectures for Vision and Pattern Recognition (IAPR), International Conference, 1992, page(s) 31-33

OPC Foundation, OLE for Process Control Data Access Custom Interface Standard Version 2.5

OPC ToolboxTM User’s Guide 2004-2015 by The MathWorks, Inc.,

Siements TCP/IP Ethemet Driver Help © 2015 Kepware Technologies;

Image Processing Toolbox™ User's Guide © COPYRIGHT 1993–2014 by The MathWorks, Inc.

Image Acquisition Toolbox™ User's Guide © COPYRIGHT 2013–2015 by The MathWorks, Inc.

Jae-Ho Kim, “Look-up table reduction using the relationship between pixel pitch and reconstructed distance”, Information and Communication Technology Convergence (ICTC), 2010, page(s) 205-204.

L.N. Wayne, “The Automated Inspection of Moving Webs using Machine Vision” IEE Colloquium in Application of Machine Vision, 1995, page(s) 3/1-3/8.

Zhang Lieping. “On Remote Real-time Communication between MATLAB and PLC Based on OPC Technology”. Control Conference Chinese (CCC), 2007, page(s) 545-548.