0% found this document useful (0 votes)
87 views

Getting Into World of PLC Part II

The document provides instructions for setting up and programming a Siemens LOGO PLC. It describes: 1) The necessary supplies including the LOGO PLC hardware, power supply, cables, and outputs. 2) Downloading and installing the LOGO Soft Comfort software for programming the PLC. 3) Steps for configuring the PLC connection to the software, including registering an account and connecting the PLC online. 4) Programming basics and examples, such as turning an LED on and off with a switch, and ensuring only one of three machines can run at a time.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views

Getting Into World of PLC Part II

The document provides instructions for setting up and programming a Siemens LOGO PLC. It describes: 1) The necessary supplies including the LOGO PLC hardware, power supply, cables, and outputs. 2) Downloading and installing the LOGO Soft Comfort software for programming the PLC. 3) Steps for configuring the PLC connection to the software, including registering an account and connecting the PLC online. 4) Programming basics and examples, such as turning an LED on and off with a switch, and ensuring only one of three machines can run at a time.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 35

instructables

Getting Into World of PLC Part - II

by Aerobot09

Hello there...!! How are u guys…?? Yaa I am good too…I hope you all have enjoyed the previous article “Getting into
the world of PLC- Part 1”. In part 1, we saw about the basic introduction to Siemens LOGO! PLC and now are familiar with
the basics. I know some of you might have been eagerly waited for the second part. As promised this article will touch on
the parts of the setup, con guration and sample program for Siemens LOGO!

Supplies:

Software: Siemens LOGO! Soft Comfort


Hardware:
1. Siemens LOGO PLC
2. Siemens power supply
3. Ethernet cable
4. Connecting wires
5. Output (connect 24V DC led or use an appropriate resistor)

Getting Into World of PLC Part - II: Page 1


Step 1: PLC: Siemens LOGO! (Setup and Configuration)

PLC manufactured by Siemens are widely used. Siemens LOGO! is a basic PLC o ered by Siemens for small automation
tasks in industry and building services. It is a modular device meaning it can be customized according to the
requirement.
Siemens LOGO is available in two di erent modules:
1. Siemens LOGO with display.
2. Siemens LOGO without display.
Out of which we are going to see Siemens LOGO with display as it provides quick visual feedback making it possible for
quick control of the system.
The programming software for the mentioned PLC comes with the purchase box itself, or you can follow the steps to
download and install the demo version of the software. The proprietary software used for Siemens LOGO! PLC
programming is LOGO! Soft Comfort.

Getting Into World of PLC Part - II: Page 2


Step 2: Registration and Conformation

For downloading the demo of Siemens LOGO! Soft Comfort software visit here. Scroll down towards the “Download”
section and click on the highlighted link.
It’ll then take you to the Login page. For the users who don’t have a Siemens account, you can create an account by
clicking the “Yes, I would like to register now” option.
Now, you’ll see the registration screen where the website will ask you to enter the required details, you’ll need to
complete all the following steps of registration:
1. Email
2. Access Data: Fill in the required details.
3.User Data: Fill in the details and ignore the “Download of export restricted software or usage of digital products” and
“Basic Technical Support” options, then click on continue.
4. Data privacy notice/ terms of use: Accept all the “terms of use” and click continue.
5.Completion: Click continue once again.
After you are done with all the registration steps you will receive a mail on your registered email account for
conformation of your mail and registration. Go to the mail and click on the link for conformation of mail. Also conform
your registration from another mail received. As shown in the image you will get a green color note after successful
conformation of email and registration. Click continue for proceeding.

Getting Into World of PLC Part - II: Page 3


Getting Into World of PLC Part - II: Page 4
Getting Into World of PLC Part - II: Page 5
Getting Into World of PLC Part - II: Page 6
Step 3: Downloading and Installation

Once logged in:


1.Download the zip le and run the setup.exe le that is suitable for your PC. According to your PC con guration Run the
.exe le i.e., Win64, Win32, MacOSX, etc.
2.Next, you’ll need to extract after downloading then run the “Setup.exe” le.
3.Installation for LOGO! Soft Comfort will pop up, click ok and then accept the terms for installation.
4.It will ask the permission for the installation of Shield wizard, grant the permission.
5.Accept the terms and conditions that will pop up in the process.
6.It will automatically select the installation location. If not then assign it to the C drive of your PC.
7.Click “Finish” and on the next screen click “Ok”. This will install the software completely.

Getting Into World of PLC Part - II: Page 7


Getting Into World of PLC Part - II: Page 8
Getting Into World of PLC Part - II: Page 9
Getting Into World of PLC Part - II: Page 10
Getting Into World of PLC Part - II: Page 11
Getting Into World of PLC Part - II: Page 12
Getting Into World of PLC Part - II: Page 13
Step 4: Familiarization of User Interface

An icon will appear on the home screen and in the “Start” menu, click on the application icon to start the LOGO! Soft
Comfort software. It is speci cally used for the programming of LOGO! devices from Siemens. As shown in the image
screen will appear once the application is started.
Refer the label in the image
1. Menu bar
2. Standard toolbar
3. Mode bar
4. Programming toolbar
5. Programming interface
6. Status bar
7. Diagram tree
8. Instruction tree

Getting Into World of PLC Part - II: Page 14


Step 5: Setup

For trial on actual PLC:


1. Start the LOGO! Soft Comfort software.
2. Establish connection between PLC and the PC.
3. Go to ----> "Tools" ----> "Diagrams" ----> "Add New Diagram". Double click on add new diagram.
4. In the “Online Settings” tab beside the “Connect through” option make sure “Ethernet” is selected, if not
then select it from the scroll-down menu. Then, just beside that select the “PCIe Controller” through the
scroll-down menu.
5. If your PLC is automatically located with the correct IP address then is good, if not found then click the
refresh button just above “Status” and then select the correct IP. Now press the “Connect” button.
6. Under “Online settings” tab itself in “Assign IP address” sub-menu assigns a new IP address and then click
“OK”.
7. Open Ethernet Connection from “Tools” tab located in Menu bar.
8. Fill the required elds then Right-click on Ethernet Connections and press “Add server connection”.
9. Now, double click the created connection and check the checkboxes of “Connect with an Operator Panel
(OP)” and “Accept all connection requests”. Then set the TSAP to “02.00”.
10. A screen titled “Diagram Editor” will appear. Here you can start programming. By dragging and dropping
various pre-sets from under “Instructions” tab on left side of the screen.
11. Now transfer the newly created program to the PLC. Under the “Tools” tab from “Transfer” select “PC ->
LOGO!”, or you can nd the same option within the “Standard toolbar”.

Getting Into World of PLC Part - II: Page 15


Getting Into World of PLC Part - II: Page 16
Getting Into World of PLC Part - II: Page 17
Getting Into World of PLC Part - II: Page 18
Getting Into World of PLC Part - II: Page 19
Getting Into World of PLC Part - II: Page 20
Step 6: For Simulation

1. Start the LOGO! Soft Comfort software.


2. Go to, “File” ----> “New” ----> “Ladder diagram (LAD)”. This will create a new programming environment.
You can even select other programming languages.
3. A screen titled “Diagram Editor” will appear. Here you can drag and drop the pre-set contacts from
Getting Into World of PLC Part - II: Page 21
“Instructions” for programming.
4. Once nished programming select “SIM” from “Programming toolbar”, then from the bottom of the screen
you can control the inputs and observe subsequent changes in output.

Getting Into World of PLC Part - II: Page 22


Step 7: Basics for Programming

To program in any language, its functions and features need to be understood. In PLC programming, elements are used.
These elements depict features. The following elements are some of the basic programming blocks:
1. Normally closed
2. Normally open
3. Output / Relay coil
4. Timer

Getting Into World of PLC Part - II: Page 23


Step 8: Sample Program1

Q. Turn ON and OFF LED using switch.


Solution:
1. Take a switch I1(make contact)---> Instructions--->Constants.
2. Take LED Q1(relay coil)--->Instructions--->Constants.

Getting Into World of PLC Part - II: Page 24


Step 9: Sample Pogram2

Q. Turn ON light using a switch. The light should remain ON even after the switch is turned OFF. You can take 2nd switch
to o the light.
Solution:
1. Take a switch I1(make contact) to turn ON the light.
2. In series to switch I1 take I2(break contact) for fully shutting o the lights.
3. Add a light Q1(relay coil) in series as shown in the image.
4. For the light to remain ON even after the switch I1 is turned OFF you have to add make contact of relay
coil Q1 in parallel to I1.
5. As shown in the second image the light remains ON even after the switch I1 is made OFF.

Getting Into World of PLC Part - II: Page 25


Step 10: Sample Program3

Q. There are 3 machines in a machine shop. Each machine has its own start and stop push buttons. The condition is that
only one machine should run at a time. When one machine is in ON state the other two should remain in OFF state.
Solution:

Getting Into World of PLC Part - II: Page 26


1. Take 3 start buttons(make contact) I1,I2,I3 to turn ON the 3 machines individually.
2. Take 3 machines(relay coil) i.e. Q1,Q2,Q3 as shown in the image.
3. Take 3 stop buttons(break contact) I4,I5,I6 to turn OFF the corresponding machines.
4. As we are using push buttons we have to latch the circuit. Take 3 make contacts(Q1,Q2,Q3)in parallel to
the corresponding start push buttons.
5. As per the condition, only one machine should run at a time. The other machines should remain in o
state when one of the machine is in working state. So we have to take break contacts of the other two
machines in series with the machine that is in on state. As shown in the gure.
6. As shown in the rst image machine1 starts when start button1 is turned ON.
7. As shown in the second image machine stops when the stop button is pressed.
8. We can see in the third image that only one machine is ON at a time. The other machines remain o even
after supply is given as one machine is in ON state.

Getting Into World of PLC Part - II: Page 27


Step 11: Sample Program 4

We will try this program using actual PLC. The connection that should be done in the software is as shown in the image.
To change the time settings change the properties of the timer. The properties of the timer can be changed by double
clicking the programming block.
Q. To turn the output (led) on-o for a period of 1 second.
Getting Into World of PLC Part - II: Page 28
Solution:
1. When the circuit it switched on, the timer T1 starts. T1 is connected in series with NC of timer T2
2. It runs for 1 second and for the entire duration keeps the output turned on.
3. This output activates the second timer T2 for a set duration of 1 second.
4. After the period of 1 second the cycle repeats itself.

https://www.youtube.com/watch?v=tyNsxsuRF2M

Step 12: Physical Connections

Circuit Diagram is shown in the rst image. Input and output connections are also shown in the image. The overall set up
after connection of input, output, power supply and ethernet connection is as shown in the image. Make sure that the
physical connection are made properly, as the current and voltages level are high, wrong connections might damage
your equipment

Getting Into World of PLC Part - II: Page 29


Getting Into World of PLC Part - II: Page 30
Getting Into World of PLC Part - II: Page 31
Getting Into World of PLC Part - II: Page 32
Step 13: Conclusion

Here, I have tried to go into depth and explained the procedure step wise, please get back to me if the procedure gets
unclear at any point. Now that you know about the registration, installation, con guration and basic programming of
Siemens LOGO! in the next article we will further dive into details on it. Till then keep learning, keep growing….!!!
(This article is performed and documented by Trainee Interns: Punyokti Patil and Chaitanya Naik at Aerobotix
Techsolutions in collaboration with Veloce Techinsights.

Getting Into World of PLC Part - II: Page 33


Getting Into World of PLC Part - II: Page 34
Getting Into World of PLC Part - II: Page 35

You might also like