Programmable Logic Control Trainer IT-1200S

Download as pdf or txt
Download as pdf or txt
You are on page 1of 34

PROGRAMMABLE LOGIC CONTROL TRAINER

IT-1200S

TABLE OF CONTENTS
Introduction .............................................................................................................................02
Main Board Module with PLC ................................................................................................03
PLC Introduction .....................................................................................................................07
Step 7 Programming Software .................................................................................................16
Experiment 1 ...........................................................................................................................25
Experiment 2 ...........................................................................................................................27
Experiment 3 ...........................................................................................................................28
Experiment 4 ...........................................................................................................................29
Experiment 5 ...........................................................................................................................30

INTRODUCTION
Overview
This board facilitates the students in getting practical knowledge of PLC interfacing with
different applications/modules. Its a single station solution for learning as it provides almost
all commonly used applications mounted on board and ready to get interfaced with PLC.

1.1

Trainer board overview

The PLC trainer has two basic parts.


I. Main board module with PLC.
II. Add-on external board module.(Optional)

SMATIC S7-1200 1215C

MAIN BOARD MODULE WITH PLC

1.2 The Base Board Module:


The base board module is basically a platform where PLC can be interfaced with the
Input/Output module as well as with the analog module. This board is distributed into submodules.
1.2.1 Digital Input module:
This module consists of all the Digital inputs of the PLC. The inputs are connected to the
LEDs and as well as with 2mm pins. The PLC also has LED indicators which shows the
status of the Inputs.
1.2.2 Digital Output module:
This module consists of all the Digital outputs of the PLC. The outputs are connected to
the LEDs and as well as with 2mm pins. The PLC also has LED indicators which shows the
status of the outputs.
1.2.3

Analog Input module:


The analog input module is connected with the analog input channels of the PLC. The
module have two Volt-type inputs. This module helps students to connect analog devices
with the PLC.

1.2.4

Analog Output module:


The analog output module is connected with the analog output channels of the PLC.
The module have two Volt-type outputs. This module helps students to connect analog
devices with the PLC.
1.2.5

Converters:
This module consists of two types of converters.
i) V to I converter
This converts 0-10V DC analog signal to 0-20mA analog signal with accuracy of
+ 10%.
ii) I to V converter
This converts 0-20mA analog signal to 0-10V DC analog signal with accuracy of
+ 10%.

1.2.6

Interface Connector:
This expansion connector is used to connect the add-on modules to the Main board.
All Digital inputs, Digital outputs, Analog inputs, Analog outputs and Power Supplies are
linked with the expansion connector.
1.2.7

Digital Input Simulator:


The Digital Input Simulator section is used to provide Digital inputs to the PLC. This
section consists of Toggle inputs as well as momentary inputs.
1.2.8

Analog Input Simulator:


The Analog Input Simulator section is used to provide Analog inputs to the PLC. This
section consists of two analog sources. Both sources are 10V DC

1.2.9 PLC Supply:


PLC supply section is available to supply power to the PLC common points. This is to
facilitate the user so that the user can use any supply at the output.
1.2.10 PLC Out Common:
The Siemens 1215C has one common output point known as 4L+. This point is used to
supply power at the output. Using the patch cords connect this common point with the PLC
supply according to the demand.

1.3 Add on external board module:


The main board can be connected to a huge range of add-on modules. These modules
can be connected to the Main board by using Interface connector. The user can also connect
the Main board with any circuit using this connector.
The detailed pin configuration of the connector is given below:

40 pin FRC cable diagram

PLC INTRODUCTION
Overview
This section describes the device features and gives brief overview of the device which is
Siemens 11215C PLC. Before writing a program a student should know about the I/O
registers and device resources which available so that one can use them according to ones
requirement.
2.1 Siemens 1215C core features
Following are the some of the key features of the device:
1. Branded Micro PLC in easy to use form.
2. Based on standard PLCs from Siemens.
3. Use of IEC-1131-3 standard languages Ladder, SCL & FBD for easy understanding.
4. Exhaustive course material & References.
5. Hardware and software included.
6. PC Based computer programming facility.
7. Easy downloading of programs.
8. Extremely easy and student friendly software to develop different programs.
9. Expandable input output.
10. Built- in DC power supplies.
11. Compact size.

2.2

Technical Specifications:

CPU 1215C
2.2.1

General specifications and features:

General specifications

CPU features

1 The slower speed is applicable when the HSC is configured for quadrature mode of operation.
2 For CPU models with relay outputs, you must install a digital signal board (SB) to use the pulse outputs.

Performance

2.2.2

Timers, counters and code blocks supported by CPU 1215C:

Blocks, timers and counters supported by CPU 1215C

Sensor power

Communication

Power supply

2.2.4

Digital inputs and outputs

Digital inputs

10

Digital outputs

Relay group-to-group isolation separates line voltage from SELV/PELV and separates
different phases up to 250 VAC
line to ground.
2. For CPU models with relay outputs, you must install a digital signal board (SB) to use
the pulse outputs.
3. Depending on your pulse receiver and cable, an additional load resistor (at least 10%
of rated current) may improve
pulse signal quality and noise immunity.
1.

11

2.2.5

Analog inputs and outputs

Analog inputs

Step response of built-in analog inputs of the CPU


Step Response (ms), 0 V to 10 V measured at 95%

Sample time for the built-in analog ports of the CPU


Sample time for built-in analog inputs of the CPU

12

Measurement ranges of the analog inputs for voltage (CPUs)


Analog input representation for voltage (CPUs)

Analog outputs

In an overflow condition, analog outputs will behave according to the device configuration properties
settings. In the
"Reaction to CPU STOP" parameter, select either: "Use substitute value" or "Keep last value".
1.

Analog output representation for current (CPU 1215C and CPU 1217C)

In an overflow condition, analog outputs will behave according to the device configuration properties
settings. In the
"Reaction to CPU STOP" parameter, select either: "Use substitute value" or "Keep last value".
1.

13

2.2.6

CPU 1215C wiring diagrams:

CPU 1215C DC/DC/DC (6ES7 215-1AG40-0XB0)

Connector pin locations for CPU 1215C DC/DC/DC (6ES7 215-1AG40-0XB0)

14

Note
Unused analog inputs should be shorted.

15

STEP 7 programming software


Overview:
STEP 7 provides a user-friendly environment to develop, edit, and monitor the logic
needed to control your application, including the tools for managing and configuring all of
the devices in your project, such as controllers and HMI devices. To help you find the
information you need, STEP 7 provides an extensive online help system. STEP 7 provides
standard programming languages for convenience and efficiency in developing the control
program for your application.

LAD (ladder logic) is a graphical programming language. The representation is based


on circuit diagrams.
FBD (Function Block Diagram) is a programming language that is based on the
graphical logic symbols used in Boolean algebra.
SCL (structured control language) is a text-based, high-level programming language.

When you create a code block, you select the programming language to be used by that
Block. Your user program can utilize code blocks created in any or all of the programming
languages.
Note
STEP 7 is the programming and configuration software component of the TIA Portal.
The TIA Portal, in addition to STEP 7, also includes WinCC for designing and executing
runtime process visualization, and includes online help for WinCC as well as STEP 7.
3.1 System requirements:
You must install STEP 7 with Administrator privileges.

16

3.2 Different views to make the work easier:


STEP 7 provides a user-friendly environment to develop controller logic, configure
HMI visualization, and setup network communication. To help increase your productivity,
STEP 7 provides two different views of the project: a task-oriented set of portals that are
organized on the functionality of the tools (Portal view), or a project-oriented view of the
elements within the project (Project view). Choose which view helps you work most
efficiently. With a single click, you can toggle between the Portal view and the Project view.

Portal view
1. Portals for the different tasks
2. Tasks for the selected portal
3. Selection panel for the selected action
4. Changes to the Project view

17

Project view
1. Menus and toolbar
2. Project navigator
3. Work area
4. Task cards
5. Inspector window
6. Changes to the Portal view
7. 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.

18

Create a project
Working with STEP 7 is easy! See how quickly you can get started with creating a
project. In the Start portal, click the "Create new project" task. Enter a project name and click
the "Create" button.

After creating the project, select the Devices & Networks portal. Click the "Add new device"
task.

19

Select the CPU to add to the project:


1. In the "Add new device" dialog, click the "SIMATIC PLC" button.
2. Select a CPU from the list.
3. To add the selected CPU to the project, click the "Add" button.
Note that the "Open device view" option is selected. Clicking "Add" with this option selected
opens the "Device configuration" of the Project view.

20

The Device view displays the CPU that you added.

Create a simple network in your user program:


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:
1. Expand the "Program blocks" folder in the Project tree to display the "Main [OB1]"
block.
2. Double-click the "Main [OB1]" block. The program editor opens the program block
(OB1).

21

Use the buttons on the "Favorites" to insert contacts and coils onto the network.
1. Click the "Normally open contact" button on the "Favorites" to add a contact to the
network.

2. For this example, add a second contact.


3. Click the "Output coil" button to insert a coil.

The "Favorites" also provides a button for creating a branch


1. Select the left rail to select the rail for the branch.

2. Click the "Open branch" icon to add a branch to the rail of the network.

22

3. Insert another normally open contact to the open branch.

23

4. Drag the double-headed arrow to a connection point (the green square on the rung)
between the two contacts on the first rung.

To save the project, click the "Save project" button in the toolbar. Notice that you do
not have to finish editing the rung before saving. You can now associate the tag names with
these instructions.
Note: For details please check Chapter # 3 of System Manual given in documents CD.

24

EXPERIMENT 1
Objective:
To implement logic gates.
Task:
Implement the following logic gates using I0.0 and I0.1 as input and Q0.0 as output complete
the following truth tables:
Connections:
1. Connect B.0 with I0.0
2. Connect B.1 with I0.0
3. Connect 24V with L4+.
1. Inverter.
I0.0

Q0.0

0
1
2. Two input AND gate.
I0.0

I0.1

Q0.0

25

3. Two input OR gate.


I0.0

I0.1

I0.0

I0.1

I0.0

I0.1

Q0.0

4. Two input NOR gate.


Q0.0

5. Two input XOR gate.


Q0.0

26

EXPERIMENT 2
Objective:
To implement UP/DOWN Counter.
Task:
In this experiment you have to implement an UP/DOWN counter.
1.
2.
3.
4.

When a pulse comes at I0.0 count UP.


When a pulse comes at I0.1 count DOWN.
When a pulse comes at I0.2 Reset counter.
When Count up Q0.0 turn ON.

Connections:
1. Connect A.0 with I0.0
2. Connect A.1 with I0.1
3. Connect A.2 with I0.2
4. Connect 24V with L4+.

27

EXPERIMENT 3
Objective:
To implement Timers.
Task:
In this experiment you have to implement different Timers.
1. When I0.0 is ON delay of 10s to Switch ON Q0.0
2. When I0.1 is OFF delay of 10s to Switch OFF Q0.1
3. When I0.2 is collectively switch ON for 10s delay to Switch ON Q0.2

Connections:
1. Connect B.0 with I0.0
2. Connect B.1 with I0.1
3. Connect B.2 with I0.2
4. Connect 24V with L4+.

28

EXPERIMENT 4
Objective:
To implement 4-bit Analog to Digital Converter.
Task:
In this experiment you have to implement ADC using Analog Input.
The PLC should read the value of the Analog Input and show digital value accordingly.
Connections:
1. Connect Source-1 from Analog input Simulator to AI0.
2. Connect 24V with L4+.

S No.
1
2
3
4
5
6
7
8
9
10
11

Source-1 Voltage Q0.0 (MSB)


0V
1V
2V
3V
4V
5V
6V
7V
8V
9V
10V

Q0.1

Q0.2

Q0.3 (LSB)

29

EXPERIMENT 5
Objective
To implement 4-bit Digital to Analog Converter.
Task
In this experiment you have to implement DAC using toggle switches and Analog Output.
The PLC should read the value of the toggle switches set analog value accordingly.
Connections
1. Connect B.0 with I0.0 and so on till B.3.
2. Connect DMM to AQ0 and Ground pin.

I/P Value
S No.

I0.0

I0.1

I0.2

I0.3

10

11

Analog
Output

30

Notes:

31

Notes:

32

Notes:

33

You might also like