Professional Documents
Culture Documents
Siemens (Autocon)
Siemens (Autocon)
Siemens’ PLC
environment
A brief walkthrough for beginners
Siemens’ Programmable logic
controller
Siemens makes several PLC product lines in the SIMATIC S7 family. They are:
▪ S7-200.
▪ S7-300.
▪ S7-400.
Siemens Step 7 is a powerful integrated software solution for automation, and
includes the programming environment for Siemens programmable logic controllers
(PLCs).
How to start?
▪ Unlike DELTA WPLSoft, Siemens Step 7 requires a set of steps to be taken in order
to begin with a program. Without these you will never be able to run a program
on your desired PLC version to carry out automated tasks. These steps can be:
▪ IP addressing.
▪ Software configuration.
▪ Device selection.
▪ Allowing access to HMI (Optional).
▪ Programming.
These steps are discussed ahead briefly.
IP addressing
▪ In order to allow TIA Portal or SIMATIC Step 7 to link with your connected PLC we
have provide address to the networking protocol (TCP/IPv4) which basically
establishes a set of rules through which our PC communicates with any device.
▪ Since our computer is a also machine, without these set of rules it can never
itself figure out how and what to do.
▪ TCP/IP is a protocol (set of rules) that is applied to devices connected through
ethernet cable.
▪ Obviously, if we miss this step there will be nothing to connect to for our PC and
the PLC cannot function according to our desired criteria.
▪ If there is no PLC to connect to, we can also go for offline simulation through
Totally Integrated Automation Portal software also included in Siemens’ library.
IP addressing
▪ To start addressing, select “Network and Internet” through the Control Panel
and select “Network and Sharing center”.
▪ Select change adapter settings on the left hand side.
▪ In the new network connection window, double click ethernet and select
properties.
▪ A window related to ethernet properties will open. Double click Internet
Protocol version TCP/IPv4.
▪ Under general check the “use the following IP address” option and enter the
valid IP address for your device.
Steps for network setting
Before network setting first remove the
ethernet cable with your router to
disconnect the internet then start your Step 1
network setting
Step 2
Steps for network setting
Steps for network setting
Steps for network setting
Double Click on it
Steps for network setting
Steps for network setting
Double Click on it
(TCP/IPv4)
Steps for network setting
Empty box
Closed Branch
Motor latching
Interlocking (forward reverse motor)
Reverse interlock
Forward interlock
Timers:
ON delay timer block:
Timers:
ON delay timer block:
Timers:
Time pulse
Timers:
ON delay:
❑ ON delay timer is
used when the user
want to turn ON the
output after some
delay according
their acquires
condition, and
output could be
lamp, motor, fan or
any other else which
user want to.
Timers:
OFF delay:
OFF delay timer is
used when the user
want to turn OFF
the output after
some delay
according their
acquires condition,
and output could
be lamp, motor, fan
or any other else
which user want to.
Timer program:
Flashing
➢ Flashing: The lamp on and off according the user giving time.
On delay timer
Timer program
Car washing task
Car washing PLC program:
Conveyor Conveyor Conveyor Conveyor Conveyor
stop interlock stop interlock stop interlock stop interlock stop interlock
Conveyor latching
Counter Up
Reset
Counter down
Load input
Counter Up
Current
counter value
Counter down
Reset
Load input
ADD
MUL
➢ An analog signal is one whose value continually varies over time. They are best represented as a
continuous signal like a sine wave. Each point on the wave has a precisely defined value. For
example, analog inputs for PLCs can include signals from pressure transducers and temperature
from thermocouples. Common examples of standard analog I/O are 4 to 20 mA for current and -
-10 to 10 volt for voltage etc.
➢ PLC’s required special card to convert analog the analog signal to digitals signals that the
processor can use.
➢ The card converts the analog signals to a sequence to discrete binary value. The binary value
can only be one of a finite number of values.
Resolution:
➢ A binary number is assigned to a range of analog signal. When the
signal is that range binary value is send to the processor.
➢ The resolution (size of each step) of an input card is determined by how
many bits are used to represent the analog value. The more bits
available the smaller each step is.
➢ The number of bits use is determined the hardware selected.
Analog scaling:
➢ Before analog scaling first we know about the resolution of PLC, resolution can
be different for PLC brands.
➢ Resolution is the number of data which PLC can read, we talk about the siemens
PLC so the resolution of siemens is 0 to 27648,
➢ After finding the resolution then start the scaling.
➢ Why we use analog scaling.
Scaling is just to make for human understandable data. Its depends on the nature
of work and requirement of user.
Steps of scaling:
Now we talk about the I.R sensor and scaled it, same scaling is also for the other
sensors.
Step 1:
➢ Step 3:
▪ Convert integer to real to show the real
value that can be float values.
➢ Step 4:
▪ In this step set the rang of physical quantity such
as temperature, water level etc.
(27648/100)=276.48
(27648/200)=138.24
Steps of scaling:
➢ Step 3:
▪ The subtraction operation is just to
invert data for the water level tank.
▪ If your rang is 0 – 100 then subtract from
100
▪ If your rang is 0 – 200 then subtract from
200