Dear PLC Technical members,
Welcome to our followers up on PLC Technical blog, today in this article I will introduce the application PLC consists of managing the level of a liquid in a tank vessel. The filling of the tank is done by means of a pump and emptying is controlled by a valve. For this I will use a type Siemens S7-300 and the programming software SIMATIC manager step7 V5.5
I. ORDERING A PROCESS OF LEVEL SIEMENS S7-300
In this article I would like to show you how to ordering a process of level on the PLC Siemens S7-300.
Before we begin, following is the steps of items you need
The different tank levels are measured by sensors arranged in the tank. The mode of walking is as follows:
- Purpose of manipulation.
- Description of operation.
- Hardware configuration.
- Program and sub-programs (LIST & CONT)
- Simulation of the application under S7-PLCSIM
- Loading to the automaton.
1.Purpose of manipulation:
The application consists of managing the level of a liquid in a tank. The filling of the tank is done through a pump and the emptying is managed by a valve. For this, we will utilize a Siemens S7-300 PLC and the SIMATIC Manager programming Step7 V5.5.2.Description of the functioning:
- A start cycle button is used to start the filling
- When the highest level of the tank is reached, the pump stops and the valve open. When the vessel's low level is reached, the valve closed and the pump starts to reach the highest level.
- A Stop cycle button is used to interrupt the filling. An action on this button allows to set the system
- Safe. The pump stops, the valve opens until reaching the low safety level (empty tank). The valve closes and the cycle stops.
Shields must be set up:
- Loss of the high level of the tank: at the other level called the Level up triggers, the system gets safe. In this case, the pump stops, the valve opens until reaching the level Low safety (empty tank). The valve closes and the cycle stops. Loss of low tank level: another level says Safety is triggered, the system is safe. In this case, the valve closes and cycle stops.
- A COM1 switch is used to select the Automatic/Manual operation.
- In manual operation, it is possible to activate the pump and the valve using a COM2 switch.
3.Hardware configuration:
Power supply
|
PS 307 5A
|
CPU
|
CPU 315-2 DP
|
Digital input module
|
DI16xDC24V
|
Digital output
module
|
DO16xDC24V/0.5A
|
Analog input/output
module
|
AI4/AO2
|
The cyclical organization block OB1 which includes the programming of the GRAFCET control taking into account the mentioned constraints before:
5.Simulation of the application in S7-PLCSIM:
The Siemens S7-300 STEP-7 software is equipped with a S7-PLCSIM to simulate a real-time programmable controller while giving the ability to force variables, but only if the mode of operation of the automaton is RUN-P. For this we proceed with the following steps: S7-PLCSIM is launched:We then put PLC in RUN-P mode The difference about RUN and RUN-P are:
- RUN= Run the program (when the switch in run mode PLC not permit you to alter online program you can just screen it)
- RUN-p=Run + program mode, so with the utilization of the run-up you can adjust the program. In the two modes, the program is executed.
We're checking functioning
6.Loading to the PLC CPU 315 2/DP:
The loading is done through the MPI adapter that connects the PC and the automaton:
Regards,
PLC Technical
Post a Comment