Program structure submit
Water process (DP66)
Name: Tin Tran - AE8315
Exercise assignment
Programmable logic controllers TSAAA520-3009 autumn 2025
23-09-2025
Automation and Robotics Engineering
2
Contents
1 PLC.................................................................................................................................2
2 Communication between WinCC and program...............................................................2
3 HMI...............................................................................................................................3
1 PLC
Organization Block will be used for operating the FBs .
Function Block is used for Scaling the level of 3 tanks and control the actuators such as pumps and
valves.
Function is used for calculating the values from measurement devices, converting multiple values
and using for close-open status.
Data Block is used for saving the data between input and output ,collecting the data as real-time
from user interface to the PLC tags.
2 Communication between WinCC and program
PROFIBUS:
A fieldbus protocol for automation technology.
In WinCC, you set up a communication channel to the PLC. This involves specifying:
The type of PLC S7-300
The network address (IP address or PROFIBUS address)
3
The protocol to use PROFIBUS
Data flow:
Reading Data: WinCC reads values from the PLC (sensor readings) and displays them on HMI
screens.
Writing Data: Operators can send commands from WinCC to the PLC (start/stop a motor).
HMI WinCCPLCField Devices
3 HMI
Screens: information, alarms, menu, diagram
Control the process for real time, interaction between user and CPU.