Controlling a conveyor belt
The following figure shows a conveyor belt that can be activated electrically. There are two pushbuttons at the beginning of the conveyor belt: S1 for START and S2 for STOP. There are also two pushbuttons at the end of the conveyor belt: S3 for START and S4 for STOP. It is possible to start and stop the conveyor belt from either end.
Implementation
The following table shows the definition of the tags used:
|
Name |
Declaration |
Data type |
Description |
|---|---|---|---|
|
StartPushbutton_Left (S1) |
Input |
BOOL |
Start pushbutton on the left side of the conveyor belt |
|
StopPushbutton_Left (S2) |
Input |
BOOL |
Stop pushbutton on the left side of the conveyor belt |
|
StartPushbutton_Right (S3) |
Input |
BOOL |
Start pushbutton on the right side of the conveyor belt |
|
StopPushbutton_Right (S4) |
Input |
BOOL |
Stop pushbutton on the right side of the conveyor belt |
|
MOTOR_ON |
Output |
BOOL |
Turn on the conveyor belt motor |
The following networks show the FBD programming for solving this task:
Network 1:
The conveyor belt motor is switched on when start pushbutton "S1" or "S3" is pressed.
Network 2:
The conveyor belt motor is switched off when stop pushbutton "S2" or "S4" is pressed.
See also
Basic information on FBD
Settings for FBD
Working with networks
Inserting FBD elements
Editing FBD elements
Inserting operands in FBD instructions
Branches in FBD
Logic paths in FBD
Example of detecting the direction of a conveyor belt
Example of detecting the fill level of a storage area
Example of calculating an equation
Example of controlling room temperature