PLC Basics - Webinar
PLC Basics - Webinar
Tech Notes
Welcome to CIMON Education
Part 1
Basics of PLC
Part One
Definition of PLC
Relay vs PLC
Existing Relay Panels
Part One
Relay vs PLC
CIMON PLC Applied Panel
(Korea Rural Community Corporation)
Part One
Relay vs PLC
Category Relay PLC
Functionality Large amount of relays are required for complex control. Capable of any complex control by programming.
Changeability of
Rewiring only. Freely changeable by programming.
Control Logic
Maintenance A heavy workload is required for extension and improvement. Capable of online repair. Easy unit replacement.
Technological Easier to understand due to the simple hardware Have to learn programming method for individual
Understanding construction. manufacturer.
Period of Design Requires complex design. Time-consuming to assemble and Easy to design even with complex control. Can be
and Manufacture test the equipment. manufactured in a short time period.
Part One
Application Example
Part One
Distribution Industry
○ Automatic warehouse system to control the adequate production and supply.
- Digital I/O devices are mostly used. At certain sites, high-speed counter
modules and positioning modules are used for precise control.
○ For the exact chemical reaction, a temperature-controlling module and PID control
is used. A calculus module can control temperature and chemical reaction rate.
○ Especially, tension control used for the textile. In this case, the analog module
Food Industry
○ Automatic food & beverage production line, unit process production line,
○ In this industry, the temperature, timing, and weight are usually controlled.
assembling and designing plants. In these plants, PLC is used for the
○ The positioning module is used for the control of precise size and the thickness.
Structure of PLC
● Hardware + Software
○ Hardware
■ Base (except CM3 series)
● Also referred to as a chassis or
backplate.
■ CPU
■ I/O and Special Modules
■ Power
● Software
■ CICON
■ Free
■ Universal for CIMON PLCs
Part One
CPU Processing
Program Execution/END Operates the program from the first step to the last END in order (series processing method).
Stands for the time to operate the execution of a project from the beginning to end once.
Scan Time
Part One
PLC-S Anatomy
Part One
Efficiency 65%
Power
Disturbance 10 ms
Susceptibility
○ Displays request for setup and errors. Bit Process I/O Area
○ Uses bit process instruction.
SCAN
● Buffer Memory Area PROGRAM
○ Stores the module’s setting values and results of
Buffer
data processing. FROM/TO
Memory
○ Use FROM/TO instructions to communicate with.
Part One
PLC Introduction
Part Two
4 Bits = Nibble
24 = 16 possible expressions
8 Bits = Byte
28 = 256 possible expressions
Device Area
Device Description Read/Write
Y Output contact that delivers the operation result to the output module. R/W
Special contact area when used with computer/data link module (i.e. Modbus).
L R/W
Without a link, this area can be used same as M area.
F Internal flag relay for the PLC state, time, date or other special contacts. R
Z Similar to the D device, but is ideally used with subroutines. Cannot have an alias or description. R/W
Index register used to indirectly indicate the address of device memory. CIMON PLC CPU provides 16 index registers.
R R/W
Each register can store offset value in 16-bit.
Part Two
Device Notation
● Bit Device Notation ● Word Device Notation
(T, C, D, Z)
○ Using Bit of Bit Device
(X, Y, M, K, L, F)
Base Base
Pow Slo Slo Slo Slo Slo Slo Slo Slo Slo Slo Slo Slo
er t t t t t t t t t t t t
3 Slot
Base
4 Slot
Base
5 Slot
Base
8 Slot
Base
10 Slot
Base
12 Slot Base
Part Two
Base
Redundancy Base
…… ……
Redundancy
Redundancy Comm.
● CPU Redundancy
○ Two CPUs operate as primary and standby. Expansion Comm.
(Single Power)
○ Synchronizes with CPU at each scan.
Expansion 1
(Redundancy Power)
Password Setting
● Password Setting
○ Secure the project.
■ Partial protection available.
○ Prohibit program upload.
○ PLC security.
Part Three
New Program
● Scan
○ A signal process which repeats regularly at each scan.
● Subroutine
○ A group of programs which are executed by a ECALL
instruction in the scan program.
● Periodic Interrupts
○ A program which is executed by the user-defined period
and order (10–60,000 ms).
Part Three
New Program
● COLD Start Initialization
○ A program executed only when PLC power is ON or the
CPU mode switches to RUN.
○ The Scan program is executed after the operation of the
initialization program.
○ A program for setting initial data for the initialization of
peripheral devices.
Part Three
New Program
● HOT Start Initialization (HOT)
○ In a sudden black out, the HOT Start Initialization program will execute and maintain
the previous values (when power is OFF), then the Scan program will begin.
○ Check the [Hot Restart] option in [PLC Parameter] and set the time.
Power must be restored in the assigned time, or the values will be lost.
Momentary
Blackout
Initialization PROGRAM
Part Three
● PAUSE / REMOTE
● STOP
Pause STOP
Mode Mode
Part Three
Connection Option
Part Three
PLC Status
Part Three
Contact
● A Contact
○ Normally Open contact
● B Contact
○ Normally Closed contact
● Pulse ON
○ Positive Transition-Sensing Contact
● Pulse OFF
○ Negative Transition-Sensing Contact
Part Three
Variable Editor
Part Three
Variable Editor
Using Excel
Part Three
Memory Monitor
Double click to Double click to
modify (Bit) modify (Word)
Part Three
Online Edit
Part 4
LD Program Instruction
Part Four
Comparison Operation
● Comparison
○ Operators to compare devices S1 and S2.
= S1=S2 ON
<= S1≤S2 ON
>= S1≥S2 ON
<> S1≠S2 ON
< S1<S2 ON
> S1>S2 ON
Part Four
Arithmetic Operation
● Arithmetic
○ Arithmetic operation between devices S1 and S2, then save the result at device D.
● MC
○ Controls any amount of rungs to operate up to an MCR instruction.
● INC
○ Increase device D by 1 for every scan the rung is true.
● DEC
○ Decrease device D by 1 for every scan the rung is true.
Part Four
Timer
● Timer ON (TON) Delay
○ When the input signal is ON, the timer device sets after a designated time V.
○ Timer unit is 100 ms or 10 ms, and can be adjusted within “PLC Parameter”.
○ Example below should be understood as follows: 50 * 100 ms = 5000 ms = 5 s.
ON
M20
OFF
← t = 5 seconds →
ON
T1, M30
OFF
Part Four
Timer
● Timer OFF (TOFF) Delay
○ When the input signal turns OFF after being ON, the timer device sustain during designated time V.
○ Timer unit is 100 ms or 10 ms, and can be adjusted within “PLC Parameter”.
ON
M40
OFF
← t = 5 seconds →
ON
T2, M50
OFF
Part Four
Counter
● CTU (Counter Up)
○ CTU counts the number of ON status execution conditions, and turns ON
a counter contact when the current value reaches the setting value.
○ Maximum 65535
M100
10
M101
C1
Part Four
Counter
● CTD (Counter Down)
○ CTD counts down the number of ON status execution conditions,
M110
M111
C2
Part Four
HMI Simulation
Part 5
● Action
● Timer
● Communication
● Watch Dog Timer
● Upload
● Hot Restart
● Expansion Setting
Part Five
Reserved I/O
● Possible to assign larger or lower amount of I/O points.
Part 6
Communication
Part Six
Communication Configuration
Part Six
Communication Configuration
Part Six
Communication Configuration
Part 7
Analog Module
Part Seven
AD Module
Items CM1-AD04VI CM1-AD08V CM1-AD08I CM1-AD16VI
Voltage: 0–10 V
Temperature Input to A/D
Transducer
0–1000°C Conversion
Module
Time
Part Seven
AD Module Wiring
Part Seven
Setting AD Module
Part Seven
Setting AD Module
Part Seven
Example of DA
Expansion No. + Slot No. Device Destination
1 3
2 4
Buffer Memory No. of
Address Words
Convenient Function
Part Eight
PLC Simulator
Part Eight
Cross Reference
Part Eight
Permission Mode
Part Eight
Error Message
Part Eight
PLC Diagnosis
Part Eight
Device Monitoring
Part Eight
Device Trend
Part Eight