PLC Manual Final
PLC Manual Final
PLC Manual Final
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
1
OVERVIEW
The DC servo trainer is mainly used in DC servo motor control experiments. It can satisfy the
basic experiments and researches on motion control system such as motor control, electronic
and tracking and so on. Because of its simple structure, it is convenient to do experiments and
easy to analyze the results.
Components
The DC servo trainer is composed of a mechanical Assembly, DC Servo motor,
ISM4803
intelligent drive system, and PC-based control software.
Mechanical Assembly
The mechanical Assembly consists of a main Shaft, belt pulley, potentiometer and
Load
Assembly. Potentiometer acting as a position sensor attached to the shaft.
DC Servo motor
The motor is outfitted with an optical encoder which provides the current actual position as
feedback data.
Features
DC servo motor has the advantage of small volume, fast dynamic performance, high overload
and large range of velocity adjustment. So it is widely used in the servo systems for precious
velocity adjustment or position tracking. Despite of the quick development of AC servo
motor, DC servo motor still plays an essential role, especially in cannon stable system,
warship-based platform, radar antenna, robotic control system.
Two loops architecture, i.e. velocity loop and current loop is usually used in traditional DC
servo control system, and velocity measure motor, current sensors (hall devices) or analogue
electronic circuits are used to realize velocity closed-loop control. So it is simple, high
reliable and low cost but hard to manipulate. While in modern DC servo control system, high
speed digital signal processor (DSP) is adapted to sample the velocity and current signal, and
to realize various functions such as comparing, filtering, pulse width modulation (PWM), and
5
precious velocity control. Although digital velocity adjustment system has a more
complicated structure, little higher cost, it is easier to adjust and has much higher precision.
In this platform, one can use PWM servo driver which has torque, velocity and
position control models. In addition, one can use analogue control model as well which adapts
linear amplifier in driving circuit, so it is convenient to do electric and electronic experiments
just like in analogue control system. MATLAB and LabVIEW can be used as experiment
graphic interface and VC Libraries used in VC environment is provided as well.
The drive/control sequence of the DC servo system as set by the ISM4803 controller follows
the method shown below.
1. The ISM4803 stores and saves the user created control program.
2. The big pulley position is read through the attached potentiometer.
3. The onboard digital signal processor reads the program downloaded from step 1,
and calculates the necessary control signal according to the aforementioned created
algorithm.
4. The control signal is amplified and modulated through pulse-width modulation.
5. The DC motor is then adjusted for every discrete time sample so that the pulley is
positioned according to the user's configuration.
6
The control diagram of DC servo motor is expressed as follows:
Tr = 113 oC
7
Where:
Vin---- input voltage;
Ke---- voltage constant;
Kt----Moment constant;
Rt----Resistance;
Io----No load current;
Ias----Block current;
Tgs----Block torque;
I1----Current of torque 1;
T1----Torque 1;
T2----Torque 2;
Ip----Current of torque 2;
nnl----Speed of no load;
N1----Speed of torque1;
N2----Speed of torque2;
Rth----Thermal resistance;
Tr----Temperature rise.
8
Experiment based on Programmable Logic Controller
INTRODUCTION
Overview
This board facilitates the students in getting practical knowledge of PLC interfacing
with different applications/modules. It’s a single station solution for learning as it provides
almost all commonly used applications mounted on board and ready to get interfaced with
PLC.
2
MAIN BOARD MODULE WITH PLC
3
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 sub-
modules.
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%.
4
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.
5
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:
6
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 one’s requirement.
7
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.
8
2.2.2 Timers, counters and code blocks supported by CPU 1215C:
Communication
Power supply
9
2.2.6 CPU 1215C wiring diagrams:
10
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.
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.
11
Experiment No1.
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 0
0 1
1 0
1 1
12
3. Two input OR gate.
0 0
0 1
1 0
1 1
0 0
0 1
1 0
1 1
0 0
0 1
1 0
1 1
13
EXPERIMENT 2
Objective:
To implement UP/DOWN Counter.
Task:
In this experiment you have to implement an UP/DOWN counter.
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+.
14
Experiment No3.
Objective:
To implement Timers.
Task:
In this experiment you have to implement different Timers.
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+.
15
EXPERIMENT 4
Traffic light control by PLC is a four way traffic light control system. It enables
students to practice the application of Traffic light control using PLC. The objective is to
connect and program an external programmable logic controller to monitor and control the
Traffic lights system.
PLC Inputs:
System Enable Input from Digital input simulator.
PLC outputs:
Red/Green signals and Yellow signals.
16
Interface:
Connect PLC Trainer and Elevator control Module with 40-Pin Interface cable.
17
Working Procedure:
18
EXPERIMENT 5
19
Interface:
Connect PLC Trainer and Temperature control Module with 40-Pin Interface cable.
I/O Connections:
20
Working Procedure:
21
EXPERIMENT 6
PLC Inputs:
Inputs from Digital input simulator and Analog Input Simulator.
PLC outputs:
PWM and Motor Direction Signals
22
Interface:
Connect PLC Trainer and Motor Control Module with 40- Pin Interface cable.
23
PLC Analog Input
Working Procedure:
24
EXPERIMENT 7
PLC Inputs:
Inputs from Digital input simulator an Inputs of Sensors.
PLC outputs:
Motor drive Pulses
25
Interface:
Connect PLC Trainer and Motor Control Module with 40- Pin Interface cable.
3 0 degree I0.2
4 90 degree I0.3
26
PLC Digital Outputs
1 A+ Q0.0
2 A- Q0.1
3 B+ Q0.2
4 B- Q0.3
5 Enable 1 Q0.4
6 Enable 2 Q0.5
Working Procedure:
27