Professional Documents
Culture Documents
Project Proposal Form
Project Proposal Form
Lab 1 : Getting familiar with Step 7- TIA Portal and the S7-1200 PLC
OBJECTIVES
To construct PLC programs in LAD using Siemens Step 7-TIA Portal.
To run and debug the programs on S7-1200 PLC.
① Power connector
Portal view
① Portals for the different tasks
Project view
① Menus and toolbar
② Project navigator
③ Work area
④ Task cards
⑤ Inspector window
⑦ Editor bar
With all of these components in one place, you have easy access to every aspect of
your project. For example, the inspector window shows the properties and information for the
object that you have selected in the work area. As you select different objects, the inspector
window displays the properties that you can configure. The inspector window includes tabs
that allow you to see diagnostic information and other messages. By showing all of the editors
that are open, the editor bar helps you work more quickly and efficiently. To toggle between
the open editors, simply click the different editor. You can also arrange two editors to appear
together, arranged either vertically or horizontally. This feature allows you to drag and drop
between editors.
GETTING STARTED
1. CREATE A PROJECT
Enter a project
name and click the
"Create" Button.
You use the properties to configure the operating parameters for the
CPU. For example, general information, Profinet interface, digital inputs
and outputs and etc.
Your program code consists of instructions that the CPU executes in sequence. For this
example, use ladder logic (LAD) to create the program code. The LAD program is a
sequence of networks that resemble the rungs of a ladder.
To open the program editor, follow these steps:
"PLC tags" are the symbolic names for I/O and addresses. After you create a PLC tag,
STEP 7 stores the tag in a tag table. All of the editors in your project (such as the program
editor, the device editor, the visualization editor, and the watch table editor) can access the
tag table.
Using the tag table, you can quickly enter the PLC tags for the addresses of the contacts
and coils. If you do not add a tag table, you can use default tag names like “Tag_1”,”Tag_2”...
Now you can download your user program. Open the program
editor and simply click the "Download" button.
After connecting to the
CPU, STEP 7 Basic displays the
"Load preview" dialog. Click
"Load" to download the user
program to the CPU. Before
clicking "Finish", select "Start
all" to ensure that the CPU goes
to RUN mode.
A watch table allows you to monitor or modify the values of tags while the CPU executes
your user program.
To monitor the tags, you must have an online connection to the CPU. Simply click the
"Go online" button in the toolbar.
To monitor the execution of the user program and
to display the values of the tags,
click the "Monitor all" button in the toolbar. The
"Monitor value" field shows the value
for each tag.
You can also monitor the status of the tags in the LAD editor. Use the editor bar to display the
LAD editor.
In the toolbar of the LAD editor, click the "Monitoring on/off" button to display the status
of your user program.
EXPERIMENTAL WORK
1. Construct a LAD for the following Boolean functions operations using the STEP 7-TIA
Portal. Transfer and run your programs on the PLC and verify that the PLC operates
according to the Boolean functions.
a. A B
b.( AB CD EF ).G
c. A BC DEF
d . A.( BC DE ).F
2. A PLC motor controller has two START buttons and two STOP buttons. The motor is
to run if two RUN buttons depressed simultaneously. The motor should run when the
buttons are released. Motor stops by depressing any STOP button stops. Construct a
LAD for this motor control task. Use the following symbols for the inputs and output: