0% found this document useful (0 votes)
89 views

Presentation

A control system uses electronic devices and equipment to ensure stability, accuracy and smooth transitions during manufacturing processes. A PLC consists of a CPU, input and output modules, and power supply. The CPU runs a user program that controls inputs and outputs based on logic instructions. PLCs are used in manufacturing applications to control sequences, provide timing functions, and automate processes through input and output signal management.

Uploaded by

Reymart Manablug
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views

Presentation

A control system uses electronic devices and equipment to ensure stability, accuracy and smooth transitions during manufacturing processes. A PLC consists of a CPU, input and output modules, and power supply. The CPU runs a user program that controls inputs and outputs based on logic instructions. PLCs are used in manufacturing applications to control sequences, provide timing functions, and automate processes through input and output signal management.

Uploaded by

Reymart Manablug
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 96

A Control System is a collection of electronic devices and equipment which

are in place to ensure the stability, accuracy and smooth transition of a


process or a manufacturing activity.
A PLC consists of a Central Processing Unit (CPU) containing an application
program and Input and Output Interface modules, which is directly connected to
the 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 output signal to some sort of output devices.
Basic PLC Architecture

Input Memory CPU Output


Interface Interface

Power Supply
The sensory input of the PLC.
Signal is provided by sensors, switches, timer/counter or encoders.

Timer/Counter Vision sensor Switches

Sensor Rotary Encoder Limit Switches


Output to the field devices for control corresponding to the logic program.
The output can be connected to heater, drives, valves, light indicators, solenoid,
relay and etc.

Light Indicators 7 segment display Motor and Drives

Buzzer Solenoid valve Heater


The PLCs react to changes in signals from sources such as pushbuttons,
execute the program, and produce output signals to external loads such as
indicators. The operation of the loads can be easily made and changed
by user program.
Sequence a. Conventional Relay Logic Replacer
b. Timers / Counters
Control
c. PCB Card Controller Replacer
d. Auto/ Semi-auto/Manual control
of machine and processes

a. Arithmetic Operation
Sophisticated b. Information Handling
Control c. Analog Control
d. PID
e. Servo motor control
f. Stepper motor control
Supervisory
Control a. Process Monitoring and Alarm
b. Fault Diagnostic and monitoring
c. Interfacing w/ Computer
d. Printer / ASCII Interfacing
e. Factory Automation Networking
f. Local Area Network
g. Wide area Network, etc.
Manufacturing Infrastructure
Transportation Building Automation
• Flexibility
• Implementing changes and Correcting Errors
• Large Quantities of Contacts
• Lower Cost CPM2C CP1E

• Pilot running
• Visual Observation
• Speed of Operation
• Ladder and Boolean Programming method
• Reliability and maintainability
CP1H CJ2M/CJ2H
• Simplicity of Ordering
• Documentation

CS1G/H
Mid size PLC
New CJ2H CPU64/65/66

PLC Line Up /67/68 (EIP)

2560 pts
For large scale system CPU11/12/13/14/15
CJ2M
with high functionality
CPU31/32/33/34/35

2560 pts
CJ1H CPU65H/66H/67H
Mid size PLC
1280 pts
CJ1G CPU42H/43H/44H/45H
I/O Size

For mid-size system


with some functionality z
CPU42P/43P/44P/45P

640 pts CJ1M CPU11/12/13

Micro PLC CPU21/22/23

For small size system 320 pts CP1H-Y


with simple functionality
CP1H-X/XA

180 pts
CP1L-M
CP1L-L

180 pts CP1E-N/NA New


CP1E-E
Features
The process of reading the inputs, executing the program and updating the outputs is
known as scan. The scan time is normally a continuous and sequential process of
reading the status of inputs, evaluating the control logic and updating outputs. Scan
time specification indicates how fast the controller can react to the field inputs and
correctly solve the control logic.
PROGRAM

0.00 0.01

Reading Updating 1.00

Inputs Outputs
1.00

TIM
0
#50
1.00 0.02

Executing Program
1) CPU’s processing speed

2) Length of user’s 4) Monitoring of


program control program

3) Use of remote I/O subsystems


The concept of controlling a control system is a very simple and easy
task. It involves a systematic approach by following the operation
procedure

 Determine the Machine Sequence of Operation


 Assignment of Inputs and Outputs
(Ex. Sensors, Switches, Indicators, Valves, Motors, ETC)
 Writing of the Program
 Programming into Memory
 Running the System
A basic configuration consists of a CPU, power supply unit, and up to 10 basic
I/O, special I/O and bus units, and an end cover.

Add up the current consumption for all the modules and the CPU, then select the
power supply unit suitable for the application.
As seen in the movie on the last screen, the CJ1
PLC is a modular system that is easily
configurable through modules that connect to
each other.

The grouping of modules is referred to as a


"rack", although there is no backplane to plug
into. A CPU rack will consist of a power supply,
CPU, one or more modules, and an end cap.

The system bus is created as the modules are


connected together, and the rack is terminated
with an end cap that has an imbedded
terminating resistor inside.
The bus, which is created by the modules being
connected together, carries information between
the CPU (Central Processing Unit) and the I/O
(input and output modules).

There may also be other modules in the rack, such


as networking modules or other special purpose
modules.

The bus also supplies voltage from the power


supply to the electronics of each individual
module.
Each PLC system needs a CPU.

CPU stands for Central Processing unit. The CPU is simply a


special purpose computer that solves automation control
programs.

The CPU also handles CPU BUS communications to the


other modules, reading inputs, writing outputs, and
servicing other modules in the system.

The programs are written for the specific application that


needs to be controlled, and in case of identical systems,
programs can be copied from a file, just like any other file
on a computer.
To make selecting the right CPU easier, let's examine our choices.
First, let's distinguish the models by model family and I/O
capacity.

CJ1M
can handle up to 640 I/O points

CJ1G
can handle up to 1280 I/O points

CJ1H
can handle up to 2560 I/O points
the CJ1M can actually be divided into 3 groups:

FIRST GROUP of CJ1M CPUs


CJ1M-CPU11 - up to 160 points of I/O
CJ1M-CPU12 - up to 320 points of I/O
CJ1M-CPU13 - up to 640 points of I/O

for models with a built-in Ethernet port, add "-ETN"

SECOND GROUP of CJ1M CPUs


CJ1M-CPU11-ETN - up to 160 points of I/O
CJ1M-CPU12-ETN - up to 320 points of I/O
CJ1M-CPU13-ETN - up to 640 points of I/O

for models with 10 built-in inputs and 6 built-in outputs, change the "1" digit to a "2"

THIRD GROUP of CJ1M CPUs


CJ1M-CPU21 - up to 160 points of I/O
CJ1M-CPU22 - up to 320 points of I/O
CJ1M-CPU23 - up to 640 points of I/O
CJ1M-CPU11 / CJ1M-CPU21
160 I/O points, 10 modules, 0 expansion racks
5K steps program capacity, 32K DM
.1µs ladder processing speed

CJ1M-CPU12 / CJ1M-CPU22
320 I/O points, 10 modules, 0 expansion racks
10K steps program capacity, 32K DM
.1µs ladder processing speed

CJ1M-CPU13 / CJ1M-CPU23
640 I/O points, 20 modules, 1 expansion racks
20K steps program capacity, 32K DM
.1µs ladder processing speed
CJ1G-CPU42H
960 I/O points, 30 modules, 2 expansion racks
10K steps program capacity,
32k DM, 1 Bank 32K EM
.04µs ladder processing speed

CJ1G-CPU43H
960 I/O points, 30 modules, 2 expansion racks
20K steps program capacity,
32K DM, 1 Bank 32K EM
.04µs ladder processing speed

CJ1G-CPU44H
1280 I/O points, 40 modules, 3 expansion racks
30K steps program capacity
32K DM, 1 Bank 32K EM
.04µs ladder processing speed

CJ1G-CPU45H
1280 I/O points, 40 modules, 3 expansion racks
60K steps program capacity
32K DM, 3 Banks 32K EM
.04µs ladder processing speed
CJ1H-CPU65H
2560 I/O points, 40 modules, 3 expansion racks
60K steps program capacity
32K DM, 3 Banks 32K EM
.02µs ladder processing speed

CJ1H-CPU66H
2560 I/O points, 40 modules, 3 expansion racks
120K steps program capacity
32K DM, 7 Banks 32K EM
.02µs ladder processing speed

CJ1H-CPU67H
2560 I/O points, 40 modules, 3 expansion racks
250K steps program capacity
32K DM, 13 Banks 32K EM
.02µs ladder processing speed
Flash Memory Cards

can be used to load programs to the CPU module

HMC-EF183 -128 MB

HMC-EF283 -256 MB

HMC-EF583 -512 MB

HMC-AP001 -PCMCIA Flash Memory Card Adapter

allows you to read and write flash memory cards with a computer
CP1E CPU Units are available for applications
with as few as 10 I/O points.

Whether your customer needs simple


sequence control, or pulse I/O and a
serial port, the CP1E PLCs give you an economical
choice at an exceptional cost
from among the following CPU units:

10-point.
14-point.
20-point.
30-point.
40-point.
60-point.
CP1L CPU Units are available for applications
with as few as 10 I/O points.

Whether your customer needs simple


sequence control, or pulse I/O and a
serial port, the CP1L PLCs give you an
economical choice from among the
following CPU units:

10-point.
14-point.
20-point.
30-point.
40-point.
60-point.
Three types of CPU Unit are
available to meet applications
requiring advanced functionality:

CP1H-X with pulse outputs


for 4 axes.

CP1H-Y with 1-MHz


pulse I/O.

CP1H-XA with built-in


analog I/O.

The CP1H series is a higher


functioning CPU with expanded
motion control capabilities and
expansion module options.
Each rack requires a power supply. The power
supply provides 5 VDC to the CPU, I/O, and any other
cards in the rack .

Without this power, none of the other PLC modules


would be able to perform their function.

There are several types of power supplies, with


different input voltages or output power capacities.
There is even a power supply with a "RUN" output, to
signal other devices that the PLC is in the RUN mode.
Power Supply units

Power Supply Unit Maximum current consumption


( C ) Maximum total power
(A) 5-V group (B) 24-V group 24-V group consumption
relay driver service power power supply
supply
CJ1W-PA205R 5.0A 0.8A None 25 W
CJ1W-PA202 2.8A 0.4A None 14 W
CJ1W-PD025 5.0A 0.8A None 25W
Input Modules
DC Input Units
Classification Input Input Input Current Connection Models
voltage (Typical)

Basic I/O Unit 24 VDC 16 pts 7 mA Removable terminal block CJ1W-ID211


32 pts 4.1 mA Fujitsu compatible connector CJ1W-ID231
32 pts 4.1 mA MIL Connector CJ1W-ID232
64 pts 4.1 mA Fujitsu compatible connector CJ1W-ID261
64 pts 4.1 mA MIL Connector CJ1W-ID262

AC Input Units
Classification Input Input Input Current Connection Models
voltage (Typical)

Basic I/O Unit 100 to120 VAC 16 pts 7 mA (100V,50HZ) Removable CJ1W-IA111
200 to 240 VAC 8pts 9 mA(200V,50HZ) terminal block CJ1W-IA201
Output Modules
Relay Contact Output Units

Classification Outputs Connections Models


Basic I/O units 8 pts (independent contact) Removable terminal Block CJ1W-OC201
16 points CJ1W-OC211

Transistor Output Units


Classification Outputs Max. switching capacity Connections Models
Basic I/O units 8 pts 12 to 24 VDC, 2 A/pt.,8 A/unit sinking Removable terminal CJ1W-OD201
24 VDC ,2 A/pt 8 A/unit sourcing load short CJ1W-OD202
protection, disconnection detection, alarm
16 pts 12 to 24 VDC, 0.5 A/pt.,5 A/unit sinking Removable terminal CJ1W-OD211
24 VDC ,0.5 A/pt 5 A/unit sourcing load short CJ1W-OD212
protection, alarm
32 pts 12 to 24 VDC, 0.5 A/pt.,4 A/unit sinking Fujitsu-compatible CJ1W-OD231
Connector
24 VDC ,0.5 A/pt 4 A/unit sourcing load short MIL connector CJ1W-OD232
protection, alarm
12 to 24 VDC, 0.5 A/pt.,4 A/unit sinking CJ1W-OD233
64 pts 12 to 24 VDC, .3A/pt.,6.4 A/unit sinking Fujitsu compatible connector CJ1W-OD261
12 to 24 VDC, .3A/pt.,6.4 A/unit sinking MIL connector CJ1W-OD263
Triac Output Units

Classification Outputs Maximum switching Capacity Connection Models


Basic I/O unit 8 pts 250 VAC, 0.6 A/pt, 2.4 A/unit Removal CJ1W-OA201
50/60 HZ Terminal block

DC Input / Transistor Output Units


Classification Inputs / Input Input Max. switching Capacity Connections Models
Outputs Voltage Current
(Typical)

Basic I/O Unit 16 inputs/ 24V DC 7 mA 12 to 24 VDC,0.5A/pt, 2A/ Fujitsu com- CJ1W-
16 outputs unit, sinking output patible connector MD231
MIL connector CJ1W-
MD233
32 inputs/ 4.1mA 12 to 24 VDC,0.3A/pt, 3.2A/ Fujitsu com- CJ1W-
32 outputs unit, sinking output patible connector MD261
MIL connector CJ1W-
MD263
TTL I/O UNITS

Classification Inputs / Input Input Max. switching Capacity Connections Models


Outputs Voltage Current
(Typical)
Basic I/O Unit 32 inputs/ 5V DC 3.5 mA 5VDC,35mA/pt, 1.12A/ Fujitsu com- CJ1W-
32 outputs unit patible connector MD563
10 I/O units Max

CIO 0000 End Cover


Power Supply
CPU unit

PLC Addressing
A Channel/ Word = 16 bits
A Byte = 8 bits

Each individual bit is addressed by first the channel number then the bit
number
XXXX.XX
BIT ADDRESS
Channel Bit
(E.g... Channel 1 bit 4 = 1.04)
XXXX
Indicates the word
address
Example: The address of bits 00 to 15 in word 0010 in the CIO Area would be
as shown below. This address is given as “CIO 0010” in this manual.

D00200

Word address

DM and EM Areas addresses are given with “D” or “E” prefixes, as shown
below for the address D00200.
Area Size Description
CIO 0~6143 Area for Input/Output and work bits

W W000 ~ W511 Work Area (Not for external I/O)

H H000 ~ H511 Holding area ( Value retain )

A A000 ~ A959 Auxiliary Area ( Flags and CPU setting)

TR TR0 ~ TR15 Temporary Relay ( For programming)

D D0 ~ D32767 Data Memory (Multi-purpose data area.)

T T0 ~ T4096 Timer

C C0 ~ C4096 Counter

TK TK0 ~ TK31 Task Flag Area

IR IR0 ~ IR15 Index Register

DR DR0 ~ DR15 Data Register


Auxiliary Relay (A) - These bits serve specific functions such as flags and control
bits.

Condition Flags (CF) - Contains flags and control bits used for monitoring PLC
operations
Work Area (W) - Used only in the program; they cannot be used for I/O exchange with
external I/O terminals.

Temporary Relay (TR) - These bits are used to temporarily


store On/ Off status.

Holding Relay (H) - These bits retain their On/Off status even when Power Off.

Data Memory (D) - Retains status during power interruptions. DM area can only be
read in as a word.

Common Input/Output (CIO) – Used as an external I/O devices address


A ladder diagram consists
of left and right bus bars,
connecting lines, input
bits, output bits, and
special instructions.

A program consists of one


or more program runs.

A program rung is a unit


that can be partitioned
when the bus is split
horizontally.
A contact behaves like an electrical contact and allows power to flow through it if it is closed. A contact
can be normally open or closed (a normally closed contact is shown as ). It is given an address within the
PLC as an operand. If the contents of the address (a binary bit of data) is set (high, or 1) then the logic of the
contact is inverted when a normally open contact becomes closed, and a normally closed contact becomes
open.

A coil behaves similarly to a contact and is used to show output power. It can only be used on the right of a
rung. They can be normally open or closed (a normally closed coil is shown as ). Its operand is the PLC
address (a single binary bit of data) which will have power applied.

An instruction is used for all other types of data manipulation. They are mnemonic instructions, and
each PLC has a set that it can use. Each type of PLC has a particular instruction set, but most instructions are
common. Instructions may use zero or more operands, each of which may be a PLC address or a direct literal
numeric value. As an example, the END instruction is common to all PLCs, and does not use an operand and
it must be present at the end of every PLC program.
1. Instruction in a ladder diagram are executed in order from the left bus bar to the
right bus bar and from the top to bottom.

2. There is no limit to the number of I /O bits, work bits, timers, and other input bits
that can be used.
0.01
Input bit:
0.01 CH 0 bit 01 (0.01)
3. There is no limit to the number of input bits that can be connected in series
or in parallel in series or parallel rungs.

4. Two or more output bits can be connected in parallel.


5. Output bits can also be used as input bits.

1.01
1.01

Output bit:
CH 1 bit 01 (1.01)
1. A ladder program must be closed so that the signals (power flow) will
flow from the left bus bar to the right bus bar.A rung error will occur if the
programs is not closed.

2. Output bits, timers, counters and other output instructions cannot be


connected directly to the left bus bar. If one is connected directly to the left bus
bar, a rung error will occur during the programming check by a programming
device.

TIM O
#100
3. An input bit must always be inserted before and never after an output
instruction like an output bit. If it is inserted after an output instruction, then a
location error will occur during a programming device program check.

4. The same output bit cannot be programmed in an output instruction more


than once.If it is, a duplicate output bit error will occur and output instruction
programmed first will not operate. The result of the second rung will be
output.

1.01
1.01
Output bit:
CH 1 bit 01 (1.01)
5. An input bit cannot be used in an Output instruction (OUT)

Input bit:
CH 0 bit 01 (0.01)
0.01
Output bit:
CH 1 bit 01 (1.01)

6. An END (001) instruction must be place in the end of each


program. Elements drawn after the end instruction will not be
executed.

END
Features:
• Easily Achieve Position Control with Wading
Through User Manuals.
• Complete Support for Synchronous Operation
between Units.
• Easier Connection to PLCs.
• Batch Backup/Restore with a Computer.
• Comprehensive Programming Environment.
• High Program Readability.
• Time Required for Onsite Startup and Debugging
Has Been Significantly Reduced.
1. Click start  Programs  Omron Folder  CX-One  CX-Programmer then
select

( Latest Version)

(Initial Window)

2. Click File  New ( To create A new Program)


2. From the Device Type drop- down list
select the type of PLC being used, then
click settings and select the CPU from the
CPU Type drop- down list.

3. From the Network Type drop- down list,


select the communication type for PLC to
PC. Using serial, set it to Sysmac Way. Then
click settings, choose driver and configure
the Port Name (Com?), Baud Rate (9600),
Bata Bits (7) Parity (Even), Stop Bits (2).
CS1W-CN118
(Peripheral Cable)
XW2Z-200S-CV/V
(Serial Cable)
CS1W-CIF31
(USB to Serial Cable)
(+)
(-)

Power Supply 24VDC

Sensor (NPN)
(+)
(-)

Power Supply 24VDC

Switch
(+)
(-)
Lamp

COM
Power Supply 24VDC V+

(+)
(-)
•Timer – In relay-panel hardware, an electromechanical device that can be
wired and preset to control the operating interval of other devices.
•Timer – In a PLC, a timer is internal to the PROCESSOR, meaning that it does
not exits in the real world, but can be controlled by a user-programmed
instruction.
Address :

Input TIM 000


TIM _ _ _ TIM 001
#_ _ _ _

TIM4095

Max of 999.9 sec.


0.00
TIM 000
#50

T000 T 001
1.00
1.00

1.00
TIM 001
0.01 #50

End
A preset decremental counter. It decrements one count every time
An input signal goes from off to on. A counter must be programmed
With a count input, reset input, a counter number and set value (SV)

Set Address :
CNT 000 to CNT 4095
Reset
CNT _ _ _
#____ Range of 0000 to 9999 counts
0.02 S

0.03 R
CNT 000
#5

1.01
C000

End
Workbits / Internal Relay

A certain bits to trigger other instruction indirectly to manipulate the program.

Often used with OUTPUT, OUTPUT NOT,DIFFERENTIAL UP (DIFU), DIFFERENTIAL


DOWN (DIFD), and KEEP instruction.

A relay for the used of the program only, it is used when you don’t have to turn ON, or
turn OFF external I/O devices.

The relays of CH to which units are not mounted are also available for work bits.

The work bits is useful, example, when the same combination of I/O signal is
repeatedly in the ladder diagram.
Work bits / Internal Relay
The ff. diagram gives an illustration in which a work bit Can be used to
simplify the program:

01 03 04 01 03
1.00 200.00
02 02

01 03 05 200.00 04
1.01 1.00
02 200.00 05
1.01
01 03 06
200.00 06
1.02
1.02
02
Control Circuit For Packaging Machine
The control circuit is used to detect and count the number of products being
carried on an assembly line. The sequence starts when the conveyor is turned on,
then the sensor waits for the boxes, when it counts five products, the circuit
energizes a solenoid. The Solenoid is energized for a period of five seconds and
and is then shut off, causing it to retract and the whole sequence repeats from the
start.
Sensor
Solenoid

START Conveyor
1. When a start button is pushed, the motor (M) will move from
left to right. When LS2 is ON, the motor stops, delay for 5 s and
then moves back to home. When LS1 is ON, the motor cuts off
signifying the sequence is completed.

LS1 LS2
Start

HOME
2. This escalator is s stationary until someone approaches.
when someone passes by the sensor, the motor starts to
operate, and stop one minute after the last person passed by.
Let’s Start Basic Programming
Source: https://www.youtube.com/watch?v=4eN7HTElGWA&t=217s
Source: https://www.youtube.com/watch?v=4eN7HTElGWA&t=217s
Source: https://www.youtube.com/watch?v=4eN7HTElGWA&t=217s
Direct Online Starter
Source: https://todoconcrochet.blogspot.com/
Source: https://www.youtube.com/watch?v=L-HXwauv2lA
Simplify Direct Online Starter
Start
Stop (N/O)
(N/C)
24(-) 0.00 0.01

24(+)

A1 & A2 (24DC)
110/220VAC 100.00

Power supply for PLC(24DC)

Source: Photo power supply: amazon


Source: https://www.youtube.com/watch?v=L-HXwauv2lA
I want to Introduce CX Designer for
test purposes
Source: https://www.youtube.com/watch?v=L-HXwauv2lA
Source: https://www.youtube.com/watch?v=L-HXwauv2lA
WYE-DELTA STARTER
Source: https://todoconcrochet.blogspot.com/
WYE-DELTA Starter Start
Stop (N/O)
(N/C)
0V 0.00 0.01

24V

A1 & A2 (24DC)
110/220VAC
Power supply for PLC(24DC)

100.00 100.01 100.02


WYE DELTA MAIN
Source: Photo power supply: amazon
Thank you for Joining

You might also like