Support Portal

Measuring the size of a box on a conveyor with 2 x WTT12 sensors, IO-Link Master SIG200 and PLC logic

The article shows how to measure the size of a box on a conveyor belt with 2 x WTT12 and SIG200.
Related Products
WTT12LC-B2563 PHOTOE.PROX.SWITCH
SIG200-0A0412200 SENSOR INTEGR.GATE
WTT12 PowerProx
SIG350

Table of Contents

Application Description:
The customer would like to measure the width of the boxes on a conveyor belt.
Position of the sensor could be from the side or from the top. Width of the conveyor belt is 1000mm.
The boxes could have every size and could be on every place on the belt.
He would like to have the size of the boxes in his PLC. 

Solution:
i2 x WTT12LC (Time of Flight Sensor) mounted on the site, looking in the middle, connected to a IO-Link Master SIG200 PN.

The application looks like this:

 

The calculation has to be made in the PLC and could look like this:

First, we transfer the 2 byte analog distance value into a variable which has to be define as Integrer. 

 


Second we have to subtract the distance value from the width of the belt plus the place from the sensor. In this case it is 1200mm. 


Third, we have to compare these two results to the greater one in order to always end up with a positive result. 
Than depending on the compare result we subtract the smaller distance value from the greater distance value.


At the end we have the size of the box, no matter where it placed on the belt.


 

Keywords:
conveyor, size of a box, measure, sensor, packaging width measurement, box width measurement