Scientech 2400GN PLC Platform Guide
Scientech 2400GN PLC Platform Guide
Scientech 2400GN
Product Tutorial
Ver.1.1
2
Universal PLC Platform Scientech 2400GN
6. Software Installation 61
7. How to install FATEK WinProladder Software 64
8. Working Desk of the WinProladder 65
9. How to change PLC Model No. in WinProladder 66
10. Ladder Program testing 69
11. Simulation of Winproladder 71
12. Connection Detail 75
Scientech 2400 Input Output Interface PCB and 20 pin box type
connector pin detail 75
Terminal Block of Input & Output Side 76
Terminal Block Connection detail with PLC and Component 78
13. Addressing Detail 82
Input and Output Addressing Detail 82
Input and Output and component Ferrule No. Detail 83
14. Experiments
Experiment 1 84
Study and use of NO (Normally open) and NC (Normally Close) bit
Experiment 2 106
Study and use of Logic Gate (OR Gate)
Experiment 3 109
Study and use of S (Set) and R (Reset) bit
Experiment 4 113
Study and use of Memory bit
Experiment 5 116
Study and use of Timer instruction
Experiment 6 120
Study and use of Cumulative timer instruction
Experiment 7 126
Study and use of Special Memory or Pulse memory bit
Experiment 8 128
Study and use of Counter instruction
Experiment 9 133
Study and use of Compare instruction
3
Universal PLC Platform Scientech 2400GN
Experiment 10 138
Study and use of Math (Addition) instruction
Experiment 11 142
Study and use of PWM (Pulse Width Modulation) instruction
Experiment 12 146
Study and use of Move instruction
Experiment 13 150
Study and use of Jump and Label instruction
Experiment 14 156
Stud and use of Subroutine
Experiment 15 165
Stud and use of Analog Input
Experiment 16 168
Stud and use of Analog Output
15. Frequently Asked Questions 170
16. Warranty & List of Accessories 178
4
Universal PLC Platform Scientech 2400GN
Safety Instructions
Read the following safety instructions carefully before operating the instrument. To
avoid any personal injury or damage to the instrument or any product connected to it.
Do not operate the instrument if you suspect any damage within.
The instrument should be serviced by qualified personnel only.
5
Universal PLC Platform Scientech 2400GN
Introduction
In today's environment of automation, the importance of PLC has rapidly increased.
Scientech 2400 Universal PLC Platform is an ideal setup to study the working of
PLC's used for industrial applications. Scientech 2400 has been designed to learn and
practice -
Wiring of PLC with different inputs and outputs.
Push to ON Switch, Toggle Switch, Limit switch and IR Sensor as an input to
the PLC.
Realistic Simulation that can drive visual indicators, audio indicators, and DC
motor, Pilot Lamp, Relay card
6
Universal PLC Platform Scientech 2400GN
Features
Freedom to select PLC of different makes
Open platform to explore wide PLC applications
Industrial feel & look
NO/NC Switches, Push to ON Switch, Limit Switch IR Sensor, LED's, Buzzer,
DC Motor, Relay card, Pilot Lamp
Din rail mounting for PLC
Powerful instruction sets
PC based Ladder programming
High execution speed
Extremely easy and student friendly software to develop different programs
Several sample Ladder programs
Choice of PLC and expansion modules
Easy downloading of programs
Practice Troubleshooting Skills
Compact tabletop ergonomic design
Ready Experimental details
Robust Construction
7
Universal PLC Platform Scientech 2400GN
Technical Specifications
8
Universal PLC Platform Scientech 2400GN
Analog Output:
Total Channels : 2 CH
Resolution : 14 bit
Signal Resolution : 0.3mV (Voltage), 0.61uA (Current)
I/O Points Occupied : 2 RO (Output Register)
Conversion Time : Updated each scan
Accuracy : ±1 %
Max. and Min. Output : Voltage Output- 500~1MΩ
Loading Current Output- 0~500Ω
Output Range : Voltage: +10V, +5V, 0~10V, 0~5V,
Current: +20mA, +10mA, 0~20mA, 0~10mA
Operating Temperature : 0-40°C, 80 % RH
Dimension (mm) : W600 x H 390 x D 300
Weight : 8 Kg (approximately)
Product Tutorials : Online (Theory, procedure reference results etc)
Included Accessories : Interfacing cable : 1 no
Mains cord : 1 no
USB to Serial Convertor: 1 no.
9
Universal PLC Platform Scientech 2400GN
Theory
Programmable Logic Controllers (PLCs):
A Programmable Logic Controller (PLC) is a specialized computer like device used to
replace banks of electromagnetic relays in industrial process control. The PLC is also
known as a programmable controller (PC). The tile "PC" for programmable controller
could be confused in common usage with "PC" used to mean personal computer. To
avoid this confusion, we shall refer to the programmable controller as a
programmable logic controller or PLC.
You can think of the programmable logic controller as a heavy-duty computer system
designed for machine control. Like a general-purpose computer, the PLC is based on
digital logic and can be field-programmed. The programming language is a bit
different because the purpose of the PLC is to control machines. The PLC is used to
time and sequence functions that might be required in assembly lines, robots, and
chemical processing. It is designed to deal with the harsh conditions of the industrial
environment. Some of the physical environment problems could include vibration and
shock, dirt and vapors, and temperature extremes. The PLC commonly has to
interface with a wide variety of both input and output devices. Some input devices
include limit and pressure switches, temperature and optical sensors, and analog- to-
digital converters (ADCs). Some output devices valves, motors and cylinders, and
Digital-to Analog converts (DAC).
Before the advent of solid-state logic circuits, logical control systems were designed
and built exclusively around electromechanical relays. Relays are far from obsolete in
modern design, but have been replaced in many of their former roles as logic-level
control devices, relegated most often to those applications demanding high current
and/or high voltage switching.
Systems and processes requiring "on/off" control abound in modern commerce and
industry, but such control systems are rarely built from either electromechanical
relays or discrete logic gates. Instead, digital computers fill the need, which may be
programmed to do a variety of logical functions.
In the late 1960's an American company named Bedford Associates released a
computing device they called the MODICON. As an acronym, it meant Modular
Digital Controller, and later became the name of a company division devoted to the
design, manufacture, and sale of these special-purpose control computers. Other
engineering firms developed their own versions of this device, and it eventually came
to be known in non-proprietary terms as a PLC, or Programmable Logic Controller.
The purpose of a PLC was to directly replace electromechanical relays as logic
elements, substituting instead a solid-state digital computer with a stored program,
able to emulate the interconnection of many relays to perform certain logical tasks.
10
Universal PLC Platform Scientech 2400GN
A PLC has many "input" terminals, through which it interprets "high" and "low"
logical states from sensors and switches. It also has many output terminals, through
which it outputs "high" and "low" signals to power lights, solenoids, contactors, small
motors, and other devices lending themselves to on/off control. In an effort to make
PLC easy to program, their programming language was designed to resemble ladder
logic diagrams. Thus, an industrial electrician or electrical engineer accustomed to
reading ladder logic schematics would feel comfortable programming a PLC to
perform the same control functions.
PLC are industrial computers, and as such their input and output signals are typically
120 volts AC, just like the electromechanical control relays they were designed to
replace. Although some PLC has the ability to input and output low-level DC voltage
signals of the magnitude used in logic gate circuits, this is the exception and not the
rule.
What is a PLC?
A Programmable Logic Controller (PLC) is an industrial computer control system
that continuously monitors the state of input devices and makes decisions based upon
a custom program to control the state of output devices.
Almost any production line, machine function, or process can be greatly enhanced
using this type of control system. However, the biggest benefit in using a PLC is the
ability to change and replicate the operation or process while collecting and
communicating vital information.
11
Universal PLC Platform Scientech 2400GN
Another advantage of a PLC system is that it is modular. That is, you can mix and
match the types of Input and Output devices to best suit your application
12
Universal PLC Platform Scientech 2400GN
13
Universal PLC Platform Scientech 2400GN
High to Low,
depending on
Hardware cost Low Equal Low High
Number of
Controls
Maintain-Ability
Yes No No No Yes
Troubleshoot
Computer
No No Yes Yes Yes
compatible
Arithmetic
No No Yes Yes Yes
capability
Information
No No Yes Yes Yes
gathering
Industrial
Yes No No No Yes
environment
(Wiring) (Wiring)
Programming cost Very High High Low
High High
Reusable No No Yes Yes Yes
14
Universal PLC Platform Scientech 2400GN
Functional Description
A programmable controller manufactured by any company has several common
functional parts. Figure illustrates a generic PLC architecture.
The diagram shows Power Supply, I/O, central processor, memory, and programming
and peripheral device subsections. Each is discussed below.
1. Input System:
Inputs are defined as real-world signals giving the controller real-time status of
process variables. These signals can be analog or digital, low or high frequency,
maintained or momentary. Typically they are presented to the programmable
controller as a varying voltage current or resistance value. Signals from
thermocouples (TCs) and resistance temperature detectors (RTDs) are common
examples of analog signals. Some flow meters and strain gauges provide
variable frequency signals, while pushbuttons, limit switches, or even
electromechanically relay contacts are familiar examples of digital, contact
closure type signals. One additional type of input signal, the register input,
reflects the computer nature of the programmable controller.
15
Universal PLC Platform Scientech 2400GN
16
Universal PLC Platform Scientech 2400GN
2. Outputs:
There are three common categories of outputs: Discrete, Register, and Analog.
Discrete outputs can be pilot lights, solenoid valves, or annunciator Windows
(lamp box). Register output can drive panel meters or displays; analog outputs
can drive signals to variable speed drives or to I/P (current to air) converters and
thus to control valves.
Outputs are devices that await a signal/data from the PLC to perform their
control functions. Lights, horns, motors, and valves are all good examples of
output devices. These devices stay put, minding their own business, until the
PLC says, "You need to turn on now" or "You’d better open up your valve a
little more," etc.
17
Universal PLC Platform Scientech 2400GN
18
Universal PLC Platform Scientech 2400GN
Under these circumstances, the manufacture will sell a program for the personal
computer that usually allows the computer that module installed in the
programmable controller.
Programming units are the liaison between what the PLC understands (words)
and what the engineer desires to occur during the control sequence. Some
programmers have the ability to store programs on other media, including
cassette tapes and floppy disks. Another desirable feature is automatic
documentation of the existing program. This is accomplished by a printer
attached to the programmer. With off-line programming, the user can write a
control program on the programming unit, then take the unit to the PLC in the
field and load the memory with the new program, all without removing the PLC.
Selection of these features depends on user requirements and budget. On-line
programming allows cautions modification of the program while the PLC is
controlling the process or the machine.
20
Universal PLC Platform Scientech 2400GN
Parameters PLC PC
Environment The PLC was specifically designed Common PCs are not
for harsh conditions with electrical designed for harsh
noise, magnetic fields, vibration, environments. Industrial
extreme temperatures or humidity. PCs are available but cost
more.
Flexibility PLCs in rack form are easy to Typical PCs are limited by
exchange and add parts. They are the number of cards they
designed for modularity and can accommodate and are
expansion. not easily expandable.
21
Universal PLC Platform Scientech 2400GN
Just too hard to compare pricing with so many variables like I/O
Cost
counts, hardware needed, programming software, etc.
22
Universal PLC Platform Scientech 2400GN
PLC inputs must convert a variety of logic levels to the 5Vdc logic levels used on the
data bus. This can be done with circuits similar to those shown below. Basically the
circuits condition the input to drive an opto coupler. This electrically isolates the
external electrical circuitry from the internal circuitry. Other circuit components are
used to guard against excess or reversed voltage polarity.
PLC outputs must convert the 5Vdc logic levels on the PLC data bus to external
voltage levels. This can be done with circuits similar to those shown below. Basically
the circuits use an opto coupler to switch external circuitry. This electrically isolates
the external electrical circuitry from the internal circuitry. Other circuit components
are used to guard against excess or reversed voltage polarity.
Advantage of PLC:
Small Size
Faster Response
Wiring Reduced up to 80%
On-line Changes
Low Maintenance Cost
Easy for Troubleshooting
Disadvantage of PLC:
Too much work required in connecting wires
Difficulty with change or replacement
Requiring skillful work force finding error
Fixed program application
High initial investment cost
23
Universal PLC Platform Scientech 2400GN
Types of PLC
Programmable logic controllers (PLCs) has several types. PLC divided into two types:
Based on the size of the module and it can be classified according to its working,
Based on Size
Micro PLC or Small PLC: It is the simplest PLC with the Power Supply
module, CPU, I / O modules and communication ports in a single chassis. This
PLC types are usually limited to a few I / O discrete and can be expanded. There
are various micro PLCs on the market today. The vast majority offer analog I /
O. with just about any micro PLC, or for that matter PLC in general, when the
application requires the monitoring of various analog signals, a separate module
is required for each signal (voltage, current, temperature). Examples of this type
are CP1H Omron, Siemens S7-200, Fuji Electric SPB.
Medium PLC or Mini: It is PLC which has CPU module, I / O or
communication port are separately. Each module is connected by connector or
backplane. It has the capacity more than 2000 I / O. Examples of this type are
Omron CS1, Siemens S7-300.
Large PLC or Rack: This kind of PLC is nearly equal to the medium one but it
has large I/O capacity and more able to be connected with the higher control
systems. Examples of this type are CVM1 Omron, Siemens S7-400.
24
Universal PLC Platform Scientech 2400GN
25
Universal PLC Platform Scientech 2400GN
26
Universal PLC Platform Scientech 2400GN
The Actuator of Hydraulic has an internal piston to the housing. The pressure of
hydraulic is docked on one end and pushes the piston to stir to the opposite end,
which forces the rod to enlarge it. Reversing the pressure of hydraulic will cause the
rod to knock back to origin position. The force that is existing is similar to the
pressure of hydraulic times the piston area.
A sensor or detectors is a tool that measures a physical quantity and transforms it into
a signal which can be interpreted by a spectator or by an device. Sensors are utilized
in everyday items for example touch-sensitive buttons of elevator and lamps which
brighten or dim by contacting the base. There are also numerous applications for
sensors of which mainly people are not aware. The appliances consist of machines,
cars, aerospace, manufacturing, robotics and medicine.
Numbering System
Data Types
There are 4 kinds of Data Types supported by most of the PLCs, which are as follows:
Bit (0,1)
Byte (combination of 8bits)
Word (combination of 16bits) = 2B
Double Word (combination of 32bits) = 2W
27
Universal PLC Platform Scientech 2400GN
Memory Types
There are different memory locations, which is represented by memory types
abbreviations
In Siemens the memory types are :
Description International
Input X
Output Y
Internal Memory M
Timer T
Counter C
Step Relay S
Data Register D
Register R
Addressing Exapmle
• X4 means input no. 4
• Y6 means output no. 6
• M3 means memory bit 3
• T34 means timer 34 (Resolution: 10ms)
• C5 Means counter 5
28
Universal PLC Platform Scientech 2400GN
29
Universal PLC Platform Scientech 2400GN
Relay Logic
There are several kinds of logic that are made with the help of relay.
This smaller logics are the base of all kind of functioning performed in
industries.
As we get command over these types of logics we can handle even complex
functionality of plant or process.
The panel made by the relay is known as relay logic panel.
30
Universal PLC Platform Scientech 2400GN
Note:
Wire all I/O points with a shared common as either sinking or sourcing.
Do not use an AC Power Supply on a DC sink/source I/O point.
31
Universal PLC Platform Scientech 2400GN
Output Device:
Sinking (NPN) Output: Are outputs that “Sink” or “pull” current through the load.
In this case the common connection to the load is the 24 VDC (+DC) line.
Sinking output modules require the load to be energized by a current, which flows
from +24 VDC (+DC), through the load, through the NPN Output Switch Device to
the 0 VDC (-DC) line. Below is a representation of the circuit connection.
“Positive side {+24 VDC (+DC)} common and Negative side {0 VDC (-DC)}
switched.”
32
Universal PLC Platform Scientech 2400GN
Sourcing (PNP) Outputs: Are outputs that “Source” or “push” current through the
load.
This means that the common connection to the load is the 0 VDC (-DC) line.
Sourcing output modules require the load to be energized by a current that flows from
+24 VDC (+DC), through the PNP Output Switch device, through the load, to the 0
VDC (-DC) line. Below is a representation of the circuit connection.
“Negative side {0 VDC (-DC)} common and Positive side {+24 VDC (+DC)}
switched.”
33
Universal PLC Platform Scientech 2400GN
Input Devices:
Sinking (NPN) Inputs: Are inputs that require an external sensor device to “Sink” or
“pull” current from the Input circuitry to 0 VDC (-DC). This means that the external
sensor device provides a current path to the 0 VDC (-DC) common point. Below is a
representation of the circuit connection.
34
Universal PLC Platform Scientech 2400GN
Sourcing (PNP) Inputs: Are inputs that require an external sensor device to “Source”
or “push” current from the 24 VDC (+DC) line to the Input Circuitry. This means that
the external sensor device provides a current path from the 24 VDC (+DC) common
point to the Input circuitry. Below is a representation of the circuit connection.
35
Universal PLC Platform Scientech 2400GN
Latching
36
Universal PLC Platform Scientech 2400GN
37
Universal PLC Platform Scientech 2400GN
Wiring of PLC:
Digital Input (DI) Circuit:
24VDC Single-End Input Circuit and Wiring for SINK/SRCE input:
The 24VDC single-end digital input circuits of FBS-PLC are available for high,
medium and low speed. They all have the similar circuit structures but with different
response speeds. To save input terminals, the circuit of single-end input is
implemented by connecting one end of all input points (photo coupler) inside the PLC
to the same internal common point labeled as S/S. The other end of each input circuit
is connected to corresponding terminals such as X0, X1, X2, etc. The S/S common
terminal and N single-end inputs comprise of N digital inputs (i.e., only N+1
terminals are used for N terminals). Therefore, we call this type of input structure the
single-end input. The user also needs to do the same thing when making the
connection of external digital input devices. Namely, the one end of all input devices
(e.g., buttons, switches) are connected together and called the external common wire,
while the other ends of input circuits are connected to the input terminals X0, X1, X2,
etc., of PLC. Then finish it by connecting the external common wiring and internal
common terminal S/S to the positive/negative terminals of the 24VDC power. When
connect the internal common terminal S/S to 24V+ (positive) and the external
common wire to 24V- (negative), then the circuit serves as SINK input. On the
contrary, while exchange the wiring of the above internal and external common will
serve as a SRCE input. The above wiring schemes can illustrated below:
● Wiring of single-end common SINK input (internal common terminal S/S .
24V+, external common wiring 24V-)
38
Universal PLC Platform Scientech 2400GN
● Wiring of single-end common SRCE input (internal common terminal S/S .24V-
, external common wiring 24V+)
39
Universal PLC Platform Scientech 2400GN
40
Universal PLC Platform Scientech 2400GN
External power input terminal: Power Supply of analogue circuit for FBs-4A2D,
the voltage can be 24VDC ± 20% and should be supplied with 4W of power at least.
1. Protecting ground terminal: Connect to the shielding of signal cable.
2. Expansion input cable: It should be connected to the front Expansion unit, or
the expansion output of main unit.
3. Expansion output connector: provides the connection for next expansion unit.
4. Power indicator: It indicates whether the Power Supply at analogue circuit and
external input power source are normal.
5. AG Ground: No connection is needed in general; except when the common
mode signal is too high. See examples overleaf for details.
6. Output terminal : of CH0.
7. Output terminal : of CH1.
8. Input terminal : of CH0.
9. Input terminal : of CH1.
10. Input terminal : of CH2.
11. Input terminal : of CH3.
41
Universal PLC Platform Scientech 2400GN
Pin Layout in control board (Open Top Cover) Pin Layout on I/O Board
(Remove Control Board)
42
Universal PLC Platform Scientech 2400GN
(Analog Output):
● Output Code Format Selection (JP1):
Users can select between unipolar and bipolar codes. The output range of unipolar
codes and bipolar codes is 0~16383 and –8192~8191, respectively. The two extreme
values of these formats correspond to the lowest and highest output signal values,
respectively (see table below). In general, the output code format is selected according
to the form of output signals; i.e. unipolar codes for unipolar output signals; and
bipolar codes for bipolar output signals. In doing so, their correlations will become
more heuristics. Yet, as the format of output code on all channels is selected from JP1,
it is the user’s choice to select unipolar or bipolar codes if both are used on different
channels. See diagram above for location of JP1:
43
Universal PLC Platform Scientech 2400GN
(Analog Input)
● Input Code Format Selection (JP1):
Users can select between unipolar and bipolar codes. The input range of unipolar
codes and bipolar codes is 0~16383 and –8192~8191, respectively. The two extreme
values of these formats correspond to the lowest and highest input signal values,
respectively (see table below). For example, if the input signal type is set to -10V~
+10V, the unipolar code corresponding to the input is 8192 and the bipolar code
corresponding to the input is 0 for OV input. If the input is 10V, the unipolar code
corresponding to the input is 16383 and the bipolar code corresponding to the input is
8191. In general, the input code format is selected according to the form of input
signals; i.e. unipolar codes for unipolar input signals; and bipolar codes for bipolar
input signals. In doing so, their correlations will become more heuristics. Unless it is
necessary to make a deviation conversion through FUN32; otherwise, do not select
bipolar codes for unipolar input signals (see FUN32 description for details). The
format of input codes of all channels is selected from JP1. See above diagram for the
location of JP1:
44
Universal PLC Platform Scientech 2400GN
45
Universal PLC Platform Scientech 2400GN
46
Universal PLC Platform Scientech 2400GN
47
Universal PLC Platform Scientech 2400GN
48
Universal PLC Platform Scientech 2400GN
49
Universal PLC Platform Scientech 2400GN
50
Universal PLC Platform Scientech 2400GN
51
Universal PLC Platform Scientech 2400GN
52
Universal PLC Platform Scientech 2400GN
How It Works
The ladder program given with this has to be first downloaded in the PLC (for
downloading procedure of ladder program please refer operating manual of PLC
platform along with manual of analog module) and then run.
The default factory settings of 4A2D analogue input/output module are:
● Input code format: Bipolar (-8192~+8191)
● Input signal type and range: Bipolar (-10V ~ +10V)
● Output code format: Bipolar (-8192~+8191)
● Output signal type and range: Bipolar (-10V ~ +10V)
For those applications that require the setting differ than the above default setting
should make some modifications of jumper position according to above tables.
While application, besides the setting of jumper should be conducted, the AI module
configuration of Winproladder also needs to be performed
53
Universal PLC Platform Scientech 2400GN
This is an extremely useful feature that allows easy programming of shift registers,
ring counters, drum timers, and other useful indexing techniques for real-time control
applications.
Maintenance and Troubleshooting:
As a plant floor controller, the PLC must be maintained by the plant electrician or the
instrument technician. It would be highly impractical to require computer-type
maintenance service. To this end, PLC manufactures build in self-diagnostics to allow
for easy troubleshooting and repair of problems. Most PLC components are modular
and simple to isolate; remove-and-replace (system modules) diagnostic techniques are
usually implemented.
54
Universal PLC Platform Scientech 2400GN
55
Universal PLC Platform Scientech 2400GN
Flexibility:
As a process goes on-line and is refined, the control equipment should be easily
reconfigured to accommodate such modifications. Because one common device
performs multiple functions in a plant, fewer spare parts are needed, and the
programming language is technician friendly. In addition, the digital nature and
self-diagnostic capabilities are strong additional justification for the PLC.
Expandability:
As a process matures, it is inevitable that enhancements will be added. These
usually require more inputs and outputs. For hand-wired relay systems this
usually necessitates extensive panel changes, which generally are problematic.
A PLC easily accommodates the additional I/O without requiring changes in the
existing wiring: the new points are merely placed in the system.
Another advantage of the PLC is that it allows piecemeal implementation of
projects. System can be brought up on-line quickly and can be gradually
converted over to the PLC to be reprogrammed while operating permits
automation of processes that are too expensive to shut down. This technique is
valuable to new as well as retrofit projects (revamps).
56
Universal PLC Platform Scientech 2400GN
Applications of PLC
The control of cutting machine with variable length.
57
Universal PLC Platform Scientech 2400GN
Level Control
Batching Process.
58
Universal PLC Platform Scientech 2400GN
Conveyor control
59
Universal PLC Platform Scientech 2400GN
Elevator control
60
Universal PLC Platform Scientech 2400GN
Software Installation
How to install Fatek WinProladder Software:
Double click on the software icon is shown below.
This window describes that installation process start on clicking next button.
After above step User Information window will open then click on Next tab is
shown below below.
61
Universal PLC Platform Scientech 2400GN
After above step Choose destination Location window will open then click on
Next tab is shown below.
After above step Select Program Folder window will open then click on Next
tab is shown below.
62
Universal PLC Platform Scientech 2400GN
After above step Start Copying Files window will open then click on Next tab is
shown below.
After above step Setup Complete window will open then click on Finish tab is
shown below.
63
Universal PLC Platform Scientech 2400GN
64
Universal PLC Platform Scientech 2400GN
The screen as you can see is consist of many operating areas, among these areas the
most important are as follows
Main Menu:
Most of the operations can be activated by using the mouse to left click the main
menu and the pull down sub-menu.
Tool Bar:
Most of the major operations can be activated by using the mouse to left click the
button on this area.
Component Pallet:
The buttons in this area are used while perform the ladder program entry or editing.
65
Universal PLC Platform Scientech 2400GN
Status Bar:
This area provides the information about the PLC connection mode and it's
connecting status, current cursor position, ladder memory utilization, insert or
overwrite mode.
Project Tree:
This area outlines the whole project with hierarchy tree. All the jobs needed to work
out can be activated by direct click the mouse button on the tree object. Which lead an
intuitive working environment.
Ladder Diagram:
User can input or monitor the ladder program in this area. WinProladder allow the
user open multiple ladder windows in this area at same time. The ladder windows can
be tile horizontal or vertical or cascaded. Each window can contain more than one
program unit, while operating can click the tab on the window to bring out the desire
program unit.
How to change PLC Model No. in Win proladder
66
Universal PLC Platform Scientech 2400GN
First open the “Winprolaader” software, this window will be open. Click on
“File” (in main menu) then click on “New Project” is shown below.
After above step Project information window will open, then click on “Edit”
Tab is shown below.
67
Universal PLC Platform Scientech 2400GN
After above step “PLC Model” window will open then Select PLC “Series to
FBs-“, “Point to 20” and “Model to MA” is shown below.
68
Universal PLC Platform Scientech 2400GN
There are three pre-defined connection sessions can be found in the 'Connection
Name' combo list which are RS232, UDP, TCP. In this tutorial we assume to connect
the PLC with serial line so we can pick RS232 or create a new cession with click the
New button which will bring out an wizard to direct you to create a new cession. If
you don't want to create a new cession but the pre-defined session is not exactly what
you want then you can click the Edit button to change it.
After click the OK button the WinPro ladder will try to connect with PLC, if the
connection success then a message box will shown as below
69
Universal PLC Platform Scientech 2400GN
70
Universal PLC Platform Scientech 2400GN
Simulation of Winproladder
Note: Simulation process will work for only digital input and outputs.
71
Universal PLC Platform Scientech 2400GN
72
Universal PLC Platform Scientech 2400GN
73
Universal PLC Platform Scientech 2400GN
74
Universal PLC Platform Scientech 2400GN
Connection Details
Scientech 2400 Input Output Interface PCB
75
Universal PLC Platform Scientech 2400GN
76
Universal PLC Platform Scientech 2400GN
Pushbutton Switch
Toggle Switch
77
Universal PLC Platform Scientech 2400GN
Toggle Switch
78
Universal PLC Platform Scientech 2400GN
IR Sensor
Limit Switch
79
Universal PLC Platform Scientech 2400GN
80
Universal PLC Platform Scientech 2400GN
DC motor
Pilot Lamp
81
Universal PLC Platform Scientech 2400GN
82
Universal PLC Platform Scientech 2400GN
83
Universal PLC Platform Scientech 2400GN
Experiment 1
Objective: Study and use the NO (normally open) and NC (normally close)
instruction bit.
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
NO (Normally open): Normally Open Contact means at initially the contacts are
open (OFF). So, when an electrical supply is applied to these components is not been
transmitted to other end. The moment you apply an external source (electrical or,
mechanical) to it, the contacts are in close (ON) state and the signal will transmitted to
other end as shown in next figure.
In PLC programming we frequently use these No as one of the input to PLC. While
PLCs are capable of sensing and generating analog values, internally programmable
controllers use signals that are ON or OFF. These ON or OFF conditions correspond
to binary values 1 or 0.
For example, a binary 0, also called logic 0, can used to indicate switch is OFF and a
binary 1, also called logic 1, can used to indicate switch is ON.
84
Universal PLC Platform Scientech 2400GN
In above figure, the moment we push NO, it will make contact and ultimately supply
will flow through the circuit (as shown by the red arrow).
NC (Normally Closed):
This is another type of input to PLC; initially the contacts are close (ON). So, when an
electrical supply is applied to these components is being transmitted to other end. The
moment you apply an external source (electrical or, mechanical) to it, the contacts get
open (OFF) and the signal will transmitted to other end as shown in next Figure.
But as shown in next figure, when we push the component or button it will open the
contact and ultimately supply will cut-off from the circuit.
85
Universal PLC Platform Scientech 2400GN
86
Universal PLC Platform Scientech 2400GN
When you open “Win proladder” software this window will open is shown
below.
For open a New Projects, you go to “File” in menu bar and click on “New
Project” is shown below.
87
Universal PLC Platform Scientech 2400GN
After click on “New Project”, “Project Information” window will open. Then
click on “Edit Tab” is shown below.
After Click on “Edit Tab”, “PLC Model” window will open. You select “Series”
FBs-, “Point” 20, “Model” MA then click OK Tab is shown below.
88
Universal PLC Platform Scientech 2400GN
After above step “WinProladder” Software Window will open is shown below.
89
Universal PLC Platform Scientech 2400GN
90
Universal PLC Platform Scientech 2400GN
91
Universal PLC Platform Scientech 2400GN
After above step Click (on blue box), “Element Edit” window will open and
assign “address” to Y0 and “Comment” to Buzzer then click on “OK Tab” is
shown below.
92
Universal PLC Platform Scientech 2400GN
Take one B Contact (Normally Closed Contact) which is encircled in red and
assign “Address” to X1 and “Comment” to Pushbutton _2 is shown below.
Your normally open and Normally closed contact program is complete is shown
below.
94
Universal PLC Platform Scientech 2400GN
Double click on “Main_unit1 Comment” then enter the comment and click on
“OK tab” is shown below.
95
Universal PLC Platform Scientech 2400GN
Double click on “Network Comment” then enter the comment for First Network
(N000) and click on “OK tab” is shown below.
96
Universal PLC Platform Scientech 2400GN
Double click on “Network Comment” then enter the comment for Second
Network (N001 )and click on “OK tab” is shown below.
97
Universal PLC Platform Scientech 2400GN
For Run a Program you go to “PLC” in main menu bar and click on “On-Line”
Option is shown below.
98
Universal PLC Platform Scientech 2400GN
Select your “COM Port No.” like COM3 then click on “OK Tab” is shown
below.
99
Universal PLC Platform Scientech 2400GN
After above step “Data Receiving” window will open, that means your
downloading process is start shown below.
100
Universal PLC Platform Scientech 2400GN
For Run a PLC go to “PLC” in Main Menu Bar, then click on “Run PLC” option
is shown below.
After enabling the RUN PLC button it will give another window
101
Universal PLC Platform Scientech 2400GN
102
Universal PLC Platform Scientech 2400GN
After enabling the Run, we can check the output by toggling or switching the
input
For stop a PLC you go to “PLC”( in Main Menu Bar) then click on “Stop PLC”
option is shown below.
103
Universal PLC Platform Scientech 2400GN
You want to OFF line the “PLC”, you go to PLC (in main menu bar) and Click
on “OFF” Line is shown below.
104
Universal PLC Platform Scientech 2400GN
So, after PLC is in stop mode, it will again come into normal window.
Questions:
1. What Normally Open Contact means?
2. What Normally Closed Contact means?
3. What are the functions of left and right vertical lines?
4. 3 switches and 2 bulbs
B1 has to change status is S1 or S2 change the status
B2 has to change status is S2 or S3 change the status
105
Universal PLC Platform Scientech 2400GN
Experiment 2
Objective: Study the use of Logic Gate (OR Gate).
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
The OR function
Last but not least the OR gate is associated with the following symbol that also can
have any number of inputs but only one output.
The truth table below shows that the output is turned on (1) when any of the inputs are
true (1). An easy way to remember this is OR works like addition.
0 0 0
1 0 1
0 1 1
1 1 1
106
Universal PLC Platform Scientech 2400GN
Procedure:
Take two A contact (NO) and assign address first NO contact to X0 and
comment to PushbuttonSwitch_1 and second NO contact to X1 and comment to
PushbuttonSwitch_2 and joining a 2 NO contact click on Vertical Line in
(Instruction bar) is shown below.
Use of NO Contact
After above step you take one coil and assign address Y2 (LED_2) is shown
below.
Questions:
1. Draw the ladder diagram for NAND Gate?
2. Draw the ladder diagram for XOR Gate?
3. Draw the ladder neither Diagram for NOR Gate?
4. Draw the ladder diagram for XNOR Gate?
5. Draw the ladder diagram for following equation
F= (AB+BC+AC)*ABC+ AC
108
Universal PLC Platform Scientech 2400GN
Experiment 3
Objective: Study and use of S (Set) and R (Reset) bit instruction.
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
In previous experiment we used toggle switches to get the output on. But if we use
momentary push buttons so what will happens? As we push the buttons the output
will ON but as soon as we release the buttons output will OFF. That is not happened
with toggle switches, because they stick to stated position so as to stable the output.
Momentary switches are those who can’t stick to their position as we release the
thumb or finger pressure. So what is the solution for this as we want the output should
be ON after we release our finger from button. There is solution or function for this
type of problem is use of S (Set Bit) and R- (Reset Bit).
S (Set Bit): Set bit is used to set the output high until it is not reset.
R (Reset Bit): Reset bit is used to reset the output low until it is set. As we use in the
next example
Procedure:
Take one NO bit and assign address to X3 and comment to Toggle Switch1 and
take one Set Bit and assign address to Y6 (Pilot Lamp) is shown below.
109
Universal PLC Platform Scientech 2400GN
Take one NO bit and assign address to X4 and comment to Toggle Switch2 and
take one Reset Bit and assign address to Y6 (Pilot Lamp) is shown below.
111
Universal PLC Platform Scientech 2400GN
When you press or enable input X4 (Toggle Switch2) output Y6 (Pilot Lamp)
will be OFF is shown below.
Questions:
What is set bit?
What is Reset bit?
Build a program using set bit and reset bit, when you ON the switch one 4 LED
Will be ON then second switch is ON 2 LED will be OFF.
Boolean Execution speed Sec. per instruction of FB’s 14MA
PLC_________?(0.33 μs/Sequential instruction in average/0.22 μs/Sequential
instruction in average)
Program Size of FB’s 14MA is __________? (2048/4096)
112
Universal PLC Platform Scientech 2400GN
Experiment 4
Objective: Study and use of memory bit.
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
You can use the bit memory area (M memory) as control relays to store the
intermediate status of an operation or other control information. You can access the
bit memory area in bits, bytes, words, or double words.
Procedure:
Take memory bit and assign X0 (Pushbutton_1) and take set bit and assign M0.
Take another NO bit and assign M0 and take coil and assign Y1 (LED_1).Take
another NO bit and assign X1 (Pushbutton_2) and take reset coil and assign M0
is shown below.
113
Universal PLC Platform Scientech 2400GN
114
Universal PLC Platform Scientech 2400GN
Questions:
What is memory bit?
What is latching?
Draw a ladder diagram for Latching.
What is the function of opto coupler?
PLC was made for replacing ______________ logic. What are the
disadvantages of earlier logic?
115
Universal PLC Platform Scientech 2400GN
Experiment 5
Objective: Study and use of Timer instruction.
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
Why to Use timers? We have application where there is requirement of heater. Where
the heating procedure must be on after certain specified period. What we will do now,
yes we will use Timer.
This instruction counts time when the enabling input is on. When the current value is
greater than or equal to the preset value timer bit is on.
The timer current value is cleared when the enabling input is off. This timer is
continues counting after preset is reached, and it stops counting at a maximum value
of 32767.
One precaution must be taken, that we can’t share same number for Timer and can’t
have more than one timer having same number that is if we use T0 in our program, we
can’t use this number for either to any timer having different preset value.
If we take an example in which, if we want a output which may be a LED or any kind
of output motor, valves etc, which will ON after some time delay when an input is
given to it.
In this we can use, timer which will hold the ON state and release or ON output
connected to it after the current value reaches to the preset value.
Tn : Timer Number.
PV : Preset value of the timer.
Timer No. Resolution
T0 – T49 0.01s
T50 – T199 0.1s
T200 – T255 1s
116
Universal PLC Platform Scientech 2400GN
Procedure:
Take one No bit assign it X6 (Toggle Switch_4) and take timer from either
clicking on T button or on F that is function button in the menu bar which is
encircled in Red and assign “T” to T50 and “PV” to 20 then click on OK tab is
shown below.
After that take output coil after the timer instruction we can place our output
directly, then take output assign it Y6 (Pilot Lamp) is shown below
117
Universal PLC Platform Scientech 2400GN
118
Universal PLC Platform Scientech 2400GN
Questions:
What is TON Timer?
Number of Resolution in TON timer?
Draw a ladder program shows how to trigger staircase lighting. The ON
pushbuttons on the different floors are all connected to input X0. After the ON
button has been pushed, the light (output Y0) is switched on for 30 s. If the ON
button is activated again during the 30-s time interval, the time interval is
restarted. This ensures that the light will not go out until 30 s after the last time
the button is pushed.
Draw the ladder program demonstrates a step sequence in which each step is
followed by certain actions. The steps follow one after another, and a step is
only executed when all of the conditions stipulated for it have been met.
Precondition : Active Outputs
First step : X0 is set. Y2 and Y3
Second step : Timer T37 (5 s) runs out. Y1 and Y4
Third step : Timer T38 (5 s) runs out. Y0 and Y5
Fourth step : X2 is set. Y1 and Y3 and Y5
Fifth step : Timer T39 (5 s) runs out and X3 is set. Y3.
Reset step sequence (X0 is set). None
119
Universal PLC Platform Scientech 2400GN
Experiment 6
Objective: Study and use of cumulative timer instruction
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
In our earlier discussion we have gone through the simple timer. In this experiment
we will see cumulative timer, so why there need of this particular type of timer when
we already have simple timer. To answer this question, we will consider an example
and see what potential problem in it is.
We have critical heating process, where we have to have precise heating time for a
particular product. If this product gets heat more it is going to damage whole process.
We have asked to do write a program for this. What we will do for this, we will take
Ton as we have take in our earlier example.
We will take scenario, during process by any reason supply gets cut off for small
time, what will happen have you realized or noticed the potential problem in this
program. The Problem is, the product will overheated and process will damaged.
In simple words, the cumulative timer is, timer which can hold or accumulate its
current value when the enable power supply is OFF, and continue counting when the
power supply is regains.
120
Universal PLC Platform Scientech 2400GN
121
Universal PLC Platform Scientech 2400GN
Take another NO assign it X6 (Toggle switch_4) it will used to enable the timer
is shown below.
Take outputs TUP and NUP assign it Y1(LED_1) and Y2 (LED_2) respectively
is shown below.
122
Universal PLC Platform Scientech 2400GN
You ON or enable the X5 (Toggle Switch_3) timer T0 will not start for counting
is shown below.
123
Universal PLC Platform Scientech 2400GN
When you OFF or disable the X5 (Toggle Switch_3) timer T0 will stop at
current position is shown below.
124
Universal PLC Platform Scientech 2400GN
When you again enable the X5 (ToggleSwitch_3) timer will start counting at
previous position. When timer current value is greater than the preset value Y1
(LED_1) will be ON and Y2 (LED_2) will be OFF is shown below.
Questions:
1. What do you mean by input scan?
2. What do you mean by output scan?
3. What is the function of logic scan?
125
Universal PLC Platform Scientech 2400GN
Experiment 7
Objective: Study and use Special or Pulse memory bit
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
M1922 : This memory bit generate 1s clock pulse.
M1923 : This memory bit generate 60s clock pulse.
Procedure:
Take NO bit and assign M1922 (1s clock pulse) and take coil and assign Y3
(LED_3). Take another NO bit and assign M1923 (60s clock pulse) and take
coil and assign Y4 (LED_4) is shown below.
126
Universal PLC Platform Scientech 2400GN
Questions:
How to generate pulse 30s ON and 30s OFF.
How to generate a pulse for 0.5s ON and O0.5s OFF.
What is name of communication standard cable are used for FATEK PLC
programming.
127
Universal PLC Platform Scientech 2400GN
Experiment 8
Objective: Study and use Counter instruction.
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
Counters used in PLCs Serve functions similar to mechanical counters. They compare
accumulated values with preset values in order to control circuit functions. Control
applications that use counters commonly include the following functions:
Count to a preset value and cause an event to occur
A bottling machine, for example, may use a counter to count bottles into groups of six
for packaging.
Counters, represented by boxes in ladder logic, increment or decrement one count
each time the count input transitions from a logic 0 to a logic 1.
Counter:
The counter counts up from a current value to a preset value (PV).
Input C is the count input. Each time C transitions from logic 0 to logic 1 the
counter increments by 1.
Input R is used to reset the counter to zero.
A preset count value is stored in PV input.
If the current count is equal to or greater than this preset value, the output bit
turns on.
Procedure:
Take No bit assign X7 (IR Sensor) and take C from counter button or Function
instruction which are encircled in Red and assign it C to C0 and PV to 10 then
click on OK tab is shown below.
129
Universal PLC Platform Scientech 2400GN
130
Universal PLC Platform Scientech 2400GN
When counter C0 current value is equal to Preset value, Output Y0 (Buzzer ) will be
ON is shown below.
You want to reset a counter C0, press or enable the input X0 (Pushbutton_1) is
shown below.
131
Universal PLC Platform Scientech 2400GN
Questions:
1. How Does A PLC Operate?
2. What is the function of PLC?
3. What is the function of counter in PLC?
4. Make a counter actuated input X0 such that when X0 activates ones then LED#1
Glows, after second activation LED#2 Glows & others turns off. Third
activation glows LED#3 & remaining off & lastly on the final activation LED#4
glows only. After fourth activation this sequence is repeated in the continuous
manner for each activation of X0.
132
Universal PLC Platform Scientech 2400GN
Experiment 9
Objective: Study and use of Compare instruction
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
Compare instructions are used where we want compare between one quantity to other.
If suppose, we have an application, where a car parking system is there, we want to
assure that when every ten cars enter the parking lot, the lot full light will turn ON.
So, how we are going to handle this situation? Yes you are correct we are using here
counters in this particular application.
As sensor which will detect the presence of car will give output high or low, which is
input to the counter.
As we can take a counter value ten, so that when six counts are done, compare
instruction will high and output will high.
Compares the data of Sa and Sb when the compare control input "EN" =1 or from 0 to
1. If the data of Sa is equal to Sb, then set FO0 to 1. If the data of Sa>Sb, then set FO1
to 1. If the data of Sa<Sb, then set FO2 to 1. If the data of Sa < Sb, then set the FO2 to
1.
133
Universal PLC Platform Scientech 2400GN
Procedure:
Select No bit assign X2 (Pushbutton_3) and take Counter from “C” option or,
from function option and assign it C0 as counter no. and set the PV value to
[Link] another NO bit and assign address X0 (Pushbutton_1) and connect to
CLR of counter is shown below.
134
Universal PLC Platform Scientech 2400GN
Take coil and assign Y4 (LED_4) and connect on a=b (From compare
instruction output) .Take coil and assign Y5 (DC Motor) and connect a>b (from
compare instruction output).Take coil and assign Y6 (Pilot Lamp) and connect
b>a (from compare instruction output) is shown below
135
Universal PLC Platform Scientech 2400GN
136
Universal PLC Platform Scientech 2400GN
Question
Draw a ladder diagram for equal and less then instruction. Take one counter ,c
when counter preset value is equal and less than 5 , output Y1 (LED_1) will be
ON .
The maximum clock input frequency for high speed counter is ______?
(0.37μs/10Khz/20Khz/1ms)
137
Universal PLC Platform Scientech 2400GN
Experiment 10
Objective: Study and use of Math instruction (addition)
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
Performs the addition of the data specified at Sa and Sb and writes the results to a
specified register D when the add control input "EN" =1 or from 0 to 1 . If the result
of addition is equal to 0 then set FO0 to 1. If carry occurs (the result exceeds 32767 or
2147483647) then set FO1 to 1. If borrow occurs (adding negative numbers resulting
in a sum less than -32768 or -2147483648), then set the FO2 to 1. All the FO statuses
are retained until this instruction is executed again and overwritten by a new result.
138
Universal PLC Platform Scientech 2400GN
Take NO bit and assign address X8 (Limit Switch) .Click on C icon (in
instruction tool bar) then function window will open assign C to C1 and PV to
15 and click on OK tab. Take one NO bit and assign address X0 (Pushbutton_1)
and connect CLR (from input of counter) is shown below.
139
Universal PLC Platform Scientech 2400GN
140
Universal PLC Platform Scientech 2400GN
Question
Make a ladder program of subtraction of 2 quantities.
Look the Ladder Diagram & give answers of following-
141
Universal PLC Platform Scientech 2400GN
Experiment 11
Objective: Study and use of PWM (Pulse Width Modulation) instruction.
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
To: Pulse ON width (0~32767mS) Tp : Pulse period (1~32676mS) OT : Pulse
output point When execution control "EN" = 1, will send the pulse to output point
OT with the "ON" state for To ms and period as Tp. OT must be a transistor output
point on the main unit. When "EN" is 0, the output point will be OFF.
The units for Tp and To are mS, resolution is 1 mS. The minimum value for To
is 0 (under such case the output point OT will always be OFF), and its
maximum value is the same as Tp (under such case the output point OT will
always be on). If To > Tp there will be an error, this instruction will not be
carried out, and the error flag "ERR" will set to 1.
This instruction can only be used once.
142
Universal PLC Platform Scientech 2400GN
Procedure:
Take one NO bit and assign address to X0 .To select the PWM instruction Go
to”Function” (which is shown encircled in Red)”I/0””PWM” and click
on OK tab is shown below.
After above step Function window will open and assign T0 to 100 and Tp to 150
and OT to Y0 then click on OK tab is shown below.
143
Universal PLC Platform Scientech 2400GN
144
Universal PLC Platform Scientech 2400GN
Questions
What is full name and Function of PWM?
Draw a ladder program using a PWM instruction for 10ms on time and pulse
width 50 ms.
The component of a PLC that makes decision and execute control instruction
based on the input signal is________?(CPU/Input module/Programming
device/Operator interface)
An input that is either on/off is a/an ______ input? (analog/discrete/high
speed/Normally open)
145
Universal PLC Platform Scientech 2400GN
Experiment 12
Objective: Study and use of MOVE instruction
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
Move (write) the data of S to a specified register D when the move control input "EN"
=1 or from 0 to 1
Procedure:
Take NO bit and assign X0 (Pushbutton_1) and take one Counter from
instruction bar and assign C to C0 and PV to 15 and take NO bit and assign X1
(Puhsbutton_2) connect to C0 CLR is shown below.
146
Universal PLC Platform Scientech 2400GN
147
Universal PLC Platform Scientech 2400GN
When you click on Function instruction Function Lookup window will open
then you click on Move Instruction then click on OK Tab is shown below.
After above step Move instruction window will open then assign S (Source) to
C0 and D (Destination) to D0 then click on OK is shown below.
148
Universal PLC Platform Scientech 2400GN
149
Universal PLC Platform Scientech 2400GN
Experiment 13
Procedure:
Take NO bit and assign X3 (Toggle Switch_1) then click on F icon (from
instruction bar) encircled in red then Function Lookup window will open. Click
on Flow Control option then click on JMP then Click on OK tab is shown
below.
After above step Function window will open then assign LB to 3 and click on
OK tab is shown below.
151
Universal PLC Platform Scientech 2400GN
Take NO bit and assign X0 (Pushbutton_1) and take coil and assign Y0 (Buzzer)
is shown below.
Click on F icon (from instruction bar) then Function Lookup window will open
.Select Flow control then Click on LBL then click on OK Tab is shown below.
152
Universal PLC Platform Scientech 2400GN
Function window will open then assign LN to 3 and click on OK tab is shown
below.
Take one NO bit and assign it X1 (Pushbutton_2) and take coil and assign it Y1
(LED_1) is shown below.
153
Universal PLC Platform Scientech 2400GN
154
Universal PLC Platform Scientech 2400GN
Questions
_______________ And _______________ are also common example of ways to
program a PLC.
A PLC program is executed as a part of repetitive process referred to as a
_____________.
When talking about computer or PLC memory, 1k refers to _____________
bits, bytes or words.
155
Universal PLC Platform Scientech 2400GN
Experiment 14
Objective: Study and use of Subroutine.
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
Subroutines allow parts of your program code to run selectively, and only when
required. This can substantially reduce the size of the main program routine, improve
scan times, and simplify your program.
One subroutine can be called from multiple locations in the main program
When a subroutine is called the main program is on hold - at the current rung -
waiting for the subroutine to "return"
When a subroutine is not running that subroutine is not scanned, and any coils
unique to that routine do not change
Call instruction:
When call control “EN”=1 or from 0→1, PLC will call (perform) the subroutine
bear the same label name as the one being called. When execute the subroutine,
the program will execute continuous as normal program does but when the
program encounter the RTS instruction then the flow of the program will return
back to the address immediately after the CALL instruction.
All the subroutines must end with one “return from subroutine instruction RTS”
instruction; otherwise it will cause executing error or CPU shut down.
Nevertheless, an RTS instruction can be shared by subroutines (so called as
multiple entering subroutines; even though the entry points are different, they
have a same returning path) as illustrated in the right diagram subroutine SUB1
~3.
156
Universal PLC Platform Scientech 2400GN
When PLC encounter this instruction, it means that the execution of a subroutine
is finished. Therefore it will return to the address immediately after the CALL
instruction, which were previously executed and will continue to execute the
program
Procedure:
Click on F icon (function) encircled in red and To select the CALL instruction
Go to”Function” ”Flow Control””CALL” and click on OK tab is shown
below.
157
Universal PLC Platform Scientech 2400GN
Take NO bit and assign X0 (Pushbutton_1) and take coil and assign Y1
(LED_1) is shown below.
158
Universal PLC Platform Scientech 2400GN
Click on F icon (function) encircled in red and To select the LBL instruction Go
to”Function” ”Flow Control””LBL” and click on OK tab is shown
below.
159
Universal PLC Platform Scientech 2400GN
Take NO bit and assign X1 (Pushbutton_2) and take coil and assign Y2
(LED_2) is shown below.
160
Universal PLC Platform Scientech 2400GN
Click on F icon (function) encircled in red and To select the RTS instruction Go
to”Function” ”Flow Control””RTS” and click on OK tab is shown
below.
161
Universal PLC Platform Scientech 2400GN
162
Universal PLC Platform Scientech 2400GN
Questions
What is the function of subroutine?
The _________contains the system memory and make decision based on
instruction stored in program memory.
___________ is a plc programming language that incorporates programming
function that are graphically displayed to resemble symbol used in hardwire
control diagram.
What is the full name of NEMA ?
163
Universal PLC Platform Scientech 2400GN
164
Universal PLC Platform Scientech 2400GN
Experiment 15
Objective: Study and use of Analog Input.
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
Analog Input Addressing Detail
Analog Input No. Analog Input Address
CH0: Analog Input_1 R3840
CH1: Analog Input_2 R3841
CH2: Analog Input_3 R3842
CH3: Analog Input_4 R3843
The analog input circuits are able to monitor voltage signals and convert them to
digital data. There are five terminals assigned to the input channels that provide four
voltage inputs, and a return signal (commons). The following table shows sample
Analog Signal and Data Word values using the nominal transfer function formula:
For example, if an input value of 1200 is in the input image, the calculated
value is as follows:
165
Universal PLC Platform Scientech 2400GN
Procedure:
Take Mov instruction from Function (F) and assign address S to R3840 (Analog
Input1) and D to D0.
166
Universal PLC Platform Scientech 2400GN
When you rotate the knob of Potentiometer then Analog Input value will be
varied is shown below.
167
Universal PLC Platform Scientech 2400GN
Experiment 16
Objective: Study and use of Analog output
Equipments Needed:
Scientech 2400GN Universal PLC Platform
Serial (RS232) to 4-pin Din cable
USB to Serial Convertor
Mains cord
Theory:
Analog Output Addressing Detail
Analog Output No. Analog Output Address
Procedure:
Take Mov Instruction from F (Function icon) and assign S to 0 and D to R3904
(Analog Output).
168
Universal PLC Platform Scientech 2400GN
Compile, download and run the program. See the analog output voltage at
multimeter.
When you change the Mov instruction S value then your output voltage will be
vary. Change the value of 4096 to 0 an measure a Output voltage on Analog
Output _1 banana socket using digital multimeter.
169
Universal PLC Platform Scientech 2400GN
4.) Housekeeping
field I/O devices. The program controls the PLC so that when an input signal
from an input device turns ON, the appropriate response is made. The response
normally involves turning ON an out put signals to some sort of output devices.
What is the function of CPU?
The central processing unit (CPU) is the part of a programmable controller that
retrieves, decodes, stores, and processes information. It also executes the control
program stored in the PLC’s memory.
Explain Execution process of PLC?
All PLC have four basic stages of operations that are repeated many times per
Second. Initially when turned on the first time it will check it’s own hardware
and software for faults. If there are no problems it will copy all the input and
copy their values into memory, this is called the input scan. Using only the
memory copy of the inputs the ladder logic program will be solved once, this is
called the logic scan. While solving the ladder logic the output values are only
changed in temporary memory. When the ladder scan is done the outputs will
updated using the temporary values in memory, this is called the output scan.
The PLC now restarts the process by starting a self check for faults.
What are the advantages of PLC?
Advantages of PLC control
Rugged and designed to withstand vibrations, temperature, humidity, and
noise.
Have interfacing for inputs and outputs already inside the controller.
Easily programmed and have an easily understood programming
language.
What are the disadvantages of PLC?
Disadvantages of PLC control
Too much work required in connecting wires.
Difficulty with changes or replacements.
Difficulty in finding errors; requiring skillful work force.
When a problem occurs, hold-up time is indefinite, usually long.
171
Universal PLC Platform Scientech 2400GN
172
Universal PLC Platform Scientech 2400GN
173
Universal PLC Platform Scientech 2400GN
174
Universal PLC Platform Scientech 2400GN
Parameters PLC PC
PLCs in rack form are easy to Typical PCs are limited by the
Flexibility exchange and add parts. They number of cards they can
are designed for modularity and accommodate and are not
expansion. easily expandable.
Just too hard to compare pricing with so many variables like I/O
Cost
counts, hardware needed, programming software, etc.
175
Universal PLC Platform Scientech 2400GN
176
Universal PLC Platform Scientech 2400GN
Warranty
We guarantee this product against all manufacturing defects for 12 months from
the date of sale by us or through our dealers.
The guarantee will become void, if
a. The product is not operated as per the instruction given in the Learning
Material.
b. The agreed payment terms and other conditions of sale are not followed.
c. The customer resells the instrument to another party.
d. Any attempt is made to service and modify the instrument.
The non-working of the product is to be communicated to us immediately giving
full details of the complaints and defects noticed specifically mentioning the
type, serial number of the product and date of purchase etc.
The repair work will be carried out, provided the product is dispatched securely
packed and insured. The transportation charges shall be borne by the customer.
Hope you enjoyed the Scientech Experience.
List of Accessories
USB to Serial Convertor .............................................................................1 No.
RS232 USB Converter ................................................................................1 No.
Mains Cord..................................................................................................1 No.
Patch Cord ..................................................................................................5 Nos.
178