0. How the sort line by length will work - Presentation of the functionality



The recording shows the entire sorting process on a production line (using the S7-1200 family CPU), which operates according to product length. The operator has the option of selecting the operating mode, traffic lights, and manual and automatic modes. There is also error handling, where the operator specifies the length of the correct product. Mode selection buttons include start, stop and a centre position selector for manual mode.

In manual mode, the operator can start moving the product in a specific direction using a switch. In automatic mode, the correct product moves along the belt and stops on the right side, which is signalled by an LED. The operator must confirm and take away the product before another can be transported.


Table of contents

00:02 Description of line operation
00:06 Introduction
00:46 Line functions
00:49 Modes of operation
01:04 Manual mode
01:49 Stop mode
02:01 Automatic mode
02:07 Transporting a good product
02:25 Signalling the presence of a good product
02:36 Confirmation of receipt of product
02:41 Transporting the wrong product
02:50 Product length measurement
03:04 Signalling the presence of a bad product
03:14 Signalling the presence of a bad product
03:19 Transport blockade
03:29 Confirmation of taking the wrong product
03:34 Product length measurement
03:47 Audible signalling
04:03 Reset of counted products
04:21 Transport of another batch of products
05:06 Errors
05:22 Error ID indication
05:31 Summary


Welcome! Today we are going to look at the effects of an advanced sorting line that operates by product length. It is worth noting that this line offers a variety of operating modes, traffic lights and error handling, which is key to an efficient sorting process. I invite you to explore in more detail!

Mode selection

There are some fascinating options to choose from. We have an automatic mode, a manual mode and a traffic light that directs the operation of the line. It is also important to determine the length of the product, which defines whether we are dealing with a good or bad unit.

Working in Manual Mode

When we select manual mode, a white light flashes to indicate that the manual control is ready. By placing the product on the line, we can use a switch to start the movement in a specific direction. The start and stop buttons allow us to control the process.

Automatic Precision

Turning to the right activates the automatic mode. Here, the good product, placed on the left sensor, moves along the belt, stopping on the right side. The presence of the product is signalled by an LED, but transport only takes place after operator intervention.

Error handling

The line is intelligently designed to handle errors. If the product is too long, the line will signal an error by stopping. The operator must confirm and remove the erroneous product to resume the process.

Efficient Transport Process

Once the correct product is picked up and confirmed, the line starts transporting the next product. Light and sound signals inform the operator of the next steps, securing an efficient sorting process.


Thanks to its advanced technology and flexible operating modes, this sorting line enables precise and efficient sorting of products. Let's remember proper error handling to keep your workflow uninterrupted. See you in the next fascinating lessons!

  • The sorting line works by product length.
  • Operating modes: manual, automatic, traffic light.
  • Error handling makes it possible to determine the length of the correct product.
  • Buttons for operating mode selection: start, stop, position selector.
  • Automatic mode activated by the start button, stops when the product is correct.
  • LED and audible signalling provide information on the status of the line.
  • The operator must take and confirm the correct product before transport.
  • The wrong product (too long) causes the line to stop.
  • Resetting the counter confirms the number of products taken.
  • Subsequent products are picked up and confirmed before transport.
  • Errors, such as transport being too long, cause an interruption and an error signal.
  • The video ends with an incentive to subscribe to the channel and the promise of more lessons.
Recommended course!
Until 20.09.2022 rebate -15% on:

SIMATIC S7 in action

Sign up for the newsletter!
Author of entries
Tomasz Gilewski

Hello, my name is Tomasz Gilewski. I am the author of books on the S7-1200 controller and HMI panels (i.e. Siemens hardware). I have been programming exclusively on Siemens hardware and engineering tools for several years.

Leave a Comment

Select currency
Scroll to Top

Search on