2 - PLC Configuration
2 - PLC Configuration
Industrial Electropneumatic
PLC
Configuration
PLC Introduction
--------------------------
What is PLC?
A Programmable Logic Controller (PLC) is a digital computer
used for automation of electromechanical processes, such as
control of machinery on factory assembly lines, amusement
rides, or light fixtures
PLCs are used in many industries and machines where it is
designed for multiple inputs and output arrangements,
extended temperature ranges, immunity to electrical noise,
and resistance to vibration and impact
Programs to control machine operation are typically stored in
battery-backed-up or non-volatile memory
A PLC is an example of a hard real-time system since output
results must be produced in response to input conditions
within a limited time, otherwise unintended operation will
result
In this subject, we will use PLC to control electropneumatics
system that has been learned previously
PLC Overview
MPI Interface
* Interface adapter
between PC and PLC
PLC CPU
* Processor of PLC
PLC ground
PLC CPU
Memory slot
CPU model/module
Status indicator
Reset switch
PLC CPU
The CPU controls all the input and output from PLC
I/O Board according to the program that has been
downloaded into it
The status indicator shows the status of the CPU
whether it is on RUN or STOP mode
The order number must be exactly the same as
the order number selected during the hardware
configuration to ensure that PC recognize the PLC
CPU
The input and output port indicator must be
monitored regularly to ensure that the
programmed system is working according to the
ladder programming written
MPI Interface
FLIP
MPI Interface
Interface
setup
Hardware
configuration
Download to
PLC CPU
Hardware
monitoring test
(optional)
Setting Up a Project
--------------------------
Starting Procedures
Start up your PC
Start up your PLC
1.
2.
3.
4.
5.
STEP 7 Wizard
STEP 7 Wizard
Select CPU: CPU313C
MPI address: 2
Click Next
STEP 7 Wizard
Select Blocks: OB1
Language for Selected Blocks: LAD
Click Next
STEP 7 Wizard
Write in a new project name
Click Finish
Interface Setup
--------------------------
SIMATIC Manager
In order to transfer hardware configuration or
ladder
programming to
PLC CPU, MPI
Interface needs to
be setup first
Usually, we will
use the default
setup, however we
will learn to
inspect the setup
Click Options Set PG/PC Interface
SIMATIC Manager
SIMATIC Manager
Address: 3
Timeout: 10s
Transmission Rate 187.5 Kbps
Highest Station Address: 31
SIMATIC Manager
Lastly, click OK
Hardware
Configuration
--------------------------
SIMATIC Manager
HW Config
Configuration settings
Hardware catalog
HW Config
Expand these columns to have a clear view of each settings
HW Config
Click Yes
HW Config
HW Config
HW Config
HW Config
HW Config
Change both the starting address to 0
Click OK
HW Config
To save the settings, click Save and Compile
Then, to download the settings into PLC
CPU, click Download
A message will
pop-up confirming
the target module.
Click OK
HW Config
HW Config
In order for the new settings to take place,
all the previous activity in PLC CPU will be
stop during the downloading process
A message will pop-up, click OK
HW Config
Hardware Monitoring
Tests
--------------------------
HW Config
After the new settings have been
downloaded, all PLCs activities can now be
monitored by STEP-7 Software
To test it, we need
to setup the STEP-7
Software in an
online mode
Click Station
Open ONLINE
HW Config (ONLINE)
Right click on DI24/DO16 row
Then click Monitor/Modify
HW Config (ONLINE)
HW Config (ONLINE)
In Boolean format,
0 will be stated as FALSE
and 1 will be stated as TRUE
During running or online activity,
notice that the active indicator on
MPI Interface will light on
HW Config (ONLINE)
Now, test the monitoring effects by playing
around with the toggle switch on PLC I/O Board
Any toggle switch that is
select to ON position will
result in TRUE on the
Monitor/Modify window
After finish, click CLOSE
The results
must be
the same