SlideShare una empresa de Scribd logo
1 de 168
OMRON Welcome 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
Industrial Components Automation & Drives Sensing & Safety 
•Electromechanical relays 
•Timers and counters 
•Programmable relays 
•Level controllers 
•Limit switches 
•Push buttons 
•Low voltage switch gear 
•Temperature and process 
controllers 
•Solid-state relays 
•Panel indicators 
•Power supplies 
•Program. Logic Controller 
•Network systems 
•HMI terminals 
•Inverters 
•Servo systems 
•Software 
•Photoelectric sensors 
•Displacement sensors 
•Vision systems 
•Safety sensors 
•Safety switches 
•Safety relays 
•Proximity sensors 
•Rotary encoders 
•Pressure sensors 
OMRON component subdivision
Advanced Industrial Automation 
OMRON 
Contents of the training: 
• Introduction: PLC 
Overview OMRON PLC range 
CJ1M 
• Software 
CX-programmer V3.0 
• PLC-Basic Hands-On Training 
… 
• Building up an Project 
• PLC-Advanced Hands-on Training 
… 
Contents of the training 
Automation & Drives
OMRON Overview PLC range 
CPM2A 
CPM1A 
100 120 140 256 512 1184 5000 I/O 
Advanced Industrial Automation 
CPM2C 
SRM1 
CQM1H 
C200HE/HG/HX 
CS1 
ZEN 
34 
CJ1 
2560
• Relay or transistor outputs 
• Various peripheral devices 
• 4 types of interrupts 
• High-speed counter integrated 
• Networking: 
Compobus-S (remote I/O) 
Compobus-D (DeviceNet) 
Profibus (slave) 
Advanced Industrial Automation 
OMRON 
CPM1A 
CPM2C 
The Micro PLC, standard for 
most of the basic 
applications 
Super compact, high 
functionallity Micro PLC 
CPM2A 
CPM 
CPM PLC family 
High functionality Micro PLC 
fully compatible with CPM1A
Advanced Industrial Automation 
OMRON 
• CPU’s with 10, 20, 30 and 40 I/O 
• Expandable to 100 I/O 
• 2 KW program memory 
• 1KW data memory 
• 150 instructions 
• 1 port (peripheral) 
• 1 counter for counting to up to 5 KHz 
• 2 pulse generators, up to 2 KHz 
frequency 
CPM1A Family
Advanced Industrial Automation 
OMRON 
• CPUs with 30, 40 or 60 I/O 
• Expandable up to 120 I/O 
• 4 KW Program memory 
• 2KW Data memory 
• 185 instructions 
• 2 ports 
• (Peripheral and RS232) 
• 1 counter, 20 KHz range 
• 4 counters for up to 2 KHz 
• 2 pulse outputs, 10 Khz 
CPM2A Family
OMRON CPM1A/2A adding I/O 
CPM1A-10 
CPM1A-20 
CPM1A-30 
CPM1A-40 
CPM2A-20 
CPM2A-30 
CPM2A-40 
CPM2A-60 
Advanced Industrial Automation 
No-expansion 
Max. 3 modules extra 
I/O Inputs: 0.00 – 9.15 
I/O Outputs: 10.00 – 19.15
OMRON CPM I/O example 
CPM2A – 40 I/O 
24 digital inputs 
16 digital outputs 
Advanced Industrial Automation 
0.00 – 0.11 
1.00 – 1.11 
10.00 – 10.07 
11.00 – 11.07 
CPM expansion – 20 I/O 
12 digital inputs 
8 digital outputs 
2.00 – 2.07 
3.00 – 3.03 
12.00 – 12.07
Advanced Industrial Automation 
OMRON 
CPU’s Modules 
Inner boards 
Communications 
CQM PLC family
Advanced Industrial Automation 
OMRON 
• Modular system configuration 
• No need for racks 
• 256/512 I/O points maximum 
• 15 Kw Program memory max. 
• Up to 12.000 data memory registers 
• Built in all CPU’s : 
• 16 built-in digital inputs 
• 4 counting/interrupt inputs 
• 1 counter, 5 Khz 
• 1 or 2 comunication ports 
CQM PLC family
CQM PLC family 
Advanced Industrial Automation 
OMRON 
• CQM1H modules 
– Variety of Digital and 
Analogue I/O 
– Temperature control 
– Linear sensor module 
– Remote I/O master, fieldbus 
masters 
• CQM1H inner boards 
– Counters, Encoders, Pulse drivers, Analogue, 
Communications...
OMRON CQM1H expansion 
Advanced Industrial Automation
OMRON CQM1H expansion 
Advanced Industrial Automation
OMRON CQM1H - bits and memory 
Input bits 000.00 – 015.15 
Output bits 100.00 – 115.15 
Work bits 016.00 – 089.15 
Advanced Industrial Automation 
116.00 – 189.15 
216.00 – 219.15 
224.00 – 229.15 
Special bits 244.00 – 255.07 
Temporary bits TR0 – TR7 
Holding bits HR00.00 – HR99.15 
Auxiliary bits AR00.00 – AR27.15 
Link bits LR00.00 – LR63.15 
Timers / counters TIM/CNT 000 - 511 
Data memory DM0000 – DM3071 (CPU 11/21) / DM6143 (CPU 51/61) 
DM6144 – DM6655 (read only) 
EM0000 – EM6655 (CPU 61) 
Interrupts 000.00 – 000.03 
Max 256 I/O CPU11/21 
Max 512 I/O CPU51/61 
CPU settings 
Holds on power failure 
/! Mixed 
4 interrupts  sequence
Advanced Industrial Automation 
OMRON 
Controller link 
CompoBus/D (Slave) 
CQM1H networking 
NT Link, Host Link,Modem.. 
AS-I Bus (Master) CompoBus/S (Master) 
Protocol Macro, Modbus (Master)
OMRON CS1 PLC family - Hardware 
•Modular system configuration 
– Standard Nine types of CPU 
Back-planes for CPU & expansion 
2, 3, 5, 8 and 10 slots 
(max. 7 pcs. – 12 meter 
special up-to 50meter) 
– C200H power supply 
units 
– C200H expansion 
back-planes usable 
(max. 3 pcs.) 
– Number of Special I/O 
units 
– Communication 
Inner boards 
Advanced Industrial Automation
OMRON CS1 Family – Data storage 
• Comments stored in the PLC 
• Easy backup of the program 
Flash-memory card: 8, 16, 32, 48, 64MB 
• Process values recording from the ladder 
• Data file management 
– program files 
– I/O memory files 
– system parameters files 
Advanced Industrial Automation
OMRON CS1D 
Advanced Industrial Automation
CS1D – Risk Management 
Advanced Industrial Automation 
OMRON 
Risk Management is essential in systems 
requiring a high level reliability. 
Every system is subjected to malfunction 
When is this a significant problem? 
• 24 hour system that can not be stopped 
• Extremely high starting-up costs 
• Unexpected stops can lead to disasters 
e.g. toxic spills, explosions… 
Expansion 
I/O Rack 
Expansion 
I/O Rack 
PS 
CPU 
Duplex unit 
PS 
CPU 
PS 
PS 
PS 
PS 
CLK 
CLK 
I/O 
Duplexing functions: 
• Double power supply (main and expansion rack) 
• Double CPU 
• Double Network cards 
• Hot swapping of all units 
without powering down the system 
(CPU, power supply and normal I/O units 
But ALSO network and special I/O units)
OMRON CS1D – Hot-standby 
Advanced Industrial Automation
OMRON CS1D – redundant network 
Advanced Industrial Automation
OMRON CS1 Allocating I/O Units 
Advanced Industrial Automation
CJ1 PLC family 
Advanced Industrial Automation 
OMRON 
Fast, Compact, Seamless
Introducing the new CJ1 
Advanced Industrial Automation 
OMRON 
• A SMALL PLC in size, but it is not a MICRO… 
• PLC size and capability no longer go hand-in-hand! 
• The CJ1 features: 
– High speed CPUs (40 and 20ns): 20ns is 3 to 5 times faster than typical mid-sized 
CPU. (e.g. C200H series) 
– Control up to 2560 Local I/O: Typical of the mid-sized PLC category. 
– Industry leading networking: Omron’s FINS protocol routes data across 
networks. 
– Compact size: Free up panel space without sacrificing performance!
Advanced Industrial Automation 
OMRON 
• In fact the Omron CJ1 is a CS1 in a smaller package. 
– Released in 1999, the CS1 is and will remain Omron’s mid-sized PLC 
and leading technology platform. 
1/3 Total 
Panel 
Volume 
2/3 the 
Panel Depth 
2/3 of the 
Footprint 
The CJ1 is a mid-sized PLC in a “micro-sized” package.
How is the CJ1 possible? 
Advanced Industrial Automation 
OMRON 
• Advances in printed circuit board design – More efficient layout. 
• New component technology – Lower energy requirements. 
• Surface mounted PCB technology – Better heat dissipation. 
• New processors – Faster and more energy efficient.
CJ1 Features - Flash Memory Cards 
Advanced Industrial Automation 
OMRON 
• 16 to 64 MB flash cards available. 
• Store PLC programs and transfer to/from PLC memory. 
• Log data into the card for manual or network retrieval. 
• Access the flash card from CX-Programmer – it appears as another PC drive. 
• Use FTP to store non-PLC related files on the flash card.
CJ1 Features - Communications 
Advanced Industrial Automation 
OMRON 
• Ethernet 
• Controller Link 
• DeviceNet 
• CompoBus/S 
• Single Port Multiple Access 
• Protocol Macro
Controller Link 
CLK 
PCI Board 
Advanced Industrial Automation 
OMRON 
Flash 
Memory 
Ethernet 
SCADA 
Programming & 
Debug Tool 
Ethernet 
DeviceNet or CompoBus/S 
Protocol Macro: 
Non-Omron Serial Devices 
MESSAGE BOARD 
Host Link 
Programming/Diagnostic 
Software 
Omron 
Touch Screen 
CJ1 Features - Communications 
Single Port Multiple Access
Advanced Industrial Automation 
OMRON 
• Rack mounted PLCs come with 
fixed number of slots available. 
CJ1 is more flexible. 
• Eliminating the rack eliminates 
module width restrictions. 
Smaller modules – up to 10 can 
be joined by the CJ1 “through 
plane” 
• Expand up to 4 “racks” of I/O and 
communications – 40 total 
modules (2560 local I/O) 
CPU Rack 
Expansion 1 
Expansion 2 
Expansion 3 
TOTAL EXPANSION BUS LENGTH = 12 meters 
0.3, 0.7, 2.0, 3.0, 5.0, 10.0, 12.0 meter cables available 
CJ1G/H Features – Layout Flexibility
OMRON CJ1M - series 
Advanced Industrial Automation
OMRON CJ1M – new CPUs 
Fast! Small! Seamless!… 
• Expands the CJ1 family to the small scale control area (CQM1H) 
• CJ1M memory map, instructions and I/O with CJ1G/H compatible 
6 NEW CPUs: 
.CJ1M-CPU11 (5Ksteps) 
• CJ1M-CPU12 (10Ksteps) 
• CJ1M-CPU13 (20Ksteps) 
• CJ1M-CPU21 (5Ksteps) 
• CJ1M-CPU22 (10Ksteps) 
• CJ1M-CPU23 (20Ksteps) 
Advanced Industrial Automation
OMRON CJ1M - features 
.CJ1M-CPU11 (5Ksteps) 
• CJ1M-CPU12 (10Ksteps) 
• CJ1M-CPU13 (20Ksteps) 
• CJ1M-CPU11 (5Ksteps) 
• CJ1M-CPU22 (10Ksteps) 
• CJ1M-CPU23 (20Ksteps) 
Advanced Industrial Automation 
• Peripheral port 
• RS232C 
• Memory card interface 
• Just 31mm wide 
• 16 I/O on the CPU 
- 10 inputs 
- 6 outputs 
• Interrupt functions 4 points 
• Build-in positioning functions 
- pulse output 100kHz, 2 axes 
- counter function 
Phase differ. 50kHz, 2 axis 
Single phase 100kHz, 2 axis 
31
OMRON CJ1M – Capacity compared to… 
User Memory Capacity 
Data Memory Capacity 
CJ1G/H 
CJ1M 
CQM1H 
CJ1G/H 
CJ1M 
CQM1H 
Advanced Industrial Automation 
120 K steps 
15 K 
256 K words 
12 K 
20 K 
32 K 
50% volume reduction
OMRON CJ1M – Expansion compared to… 
Maximum Number of I/O bits 
Maximum Number of Connectable Units 
CJ1G/H 
CJ1M 
CQM1H 
Advanced Industrial Automation 
40 
20 
11 
CJ1G/H 
CJ1M 
CQM1H 
2560 
512 
640 
Up to 10 I/O units can be placed on a 
CJ1M-CPU. 
A expansion ‘rack’ can be added to the 
CJ1M-CPU13 & CJ1M-CPU23
OMRON CJ1M – Speed compared to… 
Execution Time (Basic Instruction) 
20 ns 
Execution Time (Special Instructions) 
CJ1G/H 
CJ1M 
CQM1H 
CJ1G/H 
CJ1M 
CQM1H 
Advanced Industrial Automation 
100 ns 375 ns 
0.3 μs 
17.7 μs 
0.04 μs 
CJ1M is 59 times faster!!!
Advanced Industrial Automation 
OMRON 
End-Cover 
CJ1-CPU 
CJ1-Power 
Supply 
CJ1-Power 
Supply 
CJ1-I/O 
Control Unit 
CJ1-I/O 
Interface Unit 
Basic I/O 
Special I/O 
CPU-Bus I/O(*) 
Interrupt units(*) 
Max 10 Units 
End-Cover 
Basic I/O 
Special I/O 
CPU-Bus I/O 
Memory Card 
I/O Connecting Cable 
Max 10 Units 
WARNING 
(*) Place CPU-Bus Units and I/O-Interrupt units 
next to CPU (5 left slots) 
Max 12 m 
CJ1 PLC – System set-up
Advanced Industrial Automation 
OMRON 
3 groups of CJ1-Units 
Basic I/O Units Special I/O Units CPU Bus Units 
CIO 0000 to CIO 0079 
(8 , 16 , 32 or 64 points) 
CIO 2000 to CIO 2959 
(Refresh area :10 words/unit) 
D20000 to D29599 
(Setup area : 100 words/unit) 
CIO 1500 to CIO 1899 
(Refresh area : 25 words/unit) 
D30000 to D31599 
(Setup area : 100 words/unit) 
Special I/O unit number 
(40 Units maximum) 
CPU Bus unit number 
(16 Units maximum) 
CJ1 PLC - Hardware
CJ1 - I/O channel assignment 
Advanced Industrial Automation 
OMRON 
IN 
16 
IN 
16 
IN 
16 
OUT 
16 
OUT 
16 
IN 
16 
IN 
32 
OUT 
64 
000 001 002 003 004 005 
006 
007 
008 
009 
010 
I/O word 011
Advanced Industrial Automation 
OMRON 
000 001 002 003 004 005 
006 
007 
008 
009 
010 
I/O word 011 
IN 
16 
IN 
16 
IN 
16 
OUT 
16 
OUT 
16 
IN 
16 
IN 
32 
OUT 
64 
Reserved 
Reserved 
CJ1 - I/O channel assignment
CJ1 - I/O channel assignment 
Advanced Industrial Automation 
OMRON 
000 001 002 
IN 
16 
IN 
16 
003 004 005 006 
IN 
16 
IN 
16 
007 008 009 010 
IN 
16 
IN 
16 
OUT 
16 
OUT 
16 
OUT 
16 
OUT 
16 
OUT 
16 
CIO word
Advanced Industrial Automation 
OMRON 
Special 
I/O 
000 001 002 
00 01 
CPU 
BUS 
00 
IN 
16 
OUT 
16 
OUT 
16 
OUT 
64 
IN 
64 
1500 
1524 
2000 
2009 
2010 
2019 
003 
004 
005 
006 
007 
008 
009 
010 
Special 
I/O 
CJ1 - I/O channel assignment
OMRON CX-programmer V3.0 
CX-Programmer V3.0 made in Japan 
• Improvements on 87 points 
• Designed to operate with MS Windows XP as well as MS Windows 95, 98, 
ME, NT and 2000. 
Recommended: MS Windows NT, 2000 or XP 
• New PLC ranges supported: 
- CJ1M 
- CS1H 
- CS1D (needs CX-P V3.1 
for duplex functions) 
• New Networks supported: 
- CS1 Bus I/F Board (ITBC-CST01) 
- 62 node Controller Link 
Advanced Industrial Automation
OMRON Improvements on 87 points 
Small selection: 
RS01 Key-function allocation 
RS03 Open CX-P with default environment 
RS05 On-line default state: Monitoring 
RS06 Auto on-line function 
RS10 Improvement to address formatting: 
A-AR, H-HR, L-LR, T-TIM, C-CNT, D-DM, E-EM 
RS11 Enable pasting of Symbol data created using MS-Excel and CX-P V1.2. 
RS16 Automatically generate an “END” instruction in a new section 
RS19 Fast connection across empty cells: [Ctrl] + arrow keys 
RS24 Connection and division of rungs 
RS35 Jump to corresponding contact / coil 
RS56 Rung Wrap 
RS86 Block / Network Manager 
Advanced Industrial Automation
OMRON PLC - Basic Hands-on training 
Advanced Industrial Automation
OMRON Starting a new project in CX-Programmer 
Advanced Industrial Automation
OMRON Opening a new Program 
Advanced Industrial Automation
OMRON Up- and downloading of PLC programs 
Advanced Industrial Automation
000.00 000.01 100.00 
Advanced Industrial Automation 
OMRON 
000.00 000.01 100.00 
000.02 
000.03 
LD 000.00 
AND 000.01 
OR 000.02 
AND 000.03 
OUT 100.00 
000.02 
000.01 
Statement List
Advanced Industrial Automation 
OMRON 
000.00 100.00 
000.02 
000.01 
000.03 
LD 000.00 
AND 000.01 
OR 000.02 
AND 000.03 
OUT 100.00 
000.00 000.01 100.00 
000.02 
000.03 
000.00 100.00 
000.02 
000.01 
000.03 
LD 000.00 
AND 000.01 
LD 000.02 
AND 000.03 
OR LD 
OUT 100.00 
Statement List
000.04 000.05 
000.06 
000.04 000.05 
Advanced Industrial Automation 
OMRON 
000.06 
000.07 
100.01 
LD 000.04 
OR 000.06 
LD 000.05 
OR 000.07 
AND LD 
OUT 100.01 
000.05 
000.07 
000.07 
100.01 
Statement List
Advanced Industrial Automation 
OMRON 
000.00 000.01 000.02 000.03 100.02 
000.04 000.05 100.03 
Statement List
Advanced Industrial Automation 
OMRON 
000.00 000.01 000.02 000.03 100.02 
000.04 000.05 100.03 
* 
TEMPORAIRY RELAY 
LD 000.00 
AND 000.01 
OUT TR 0 
AND 000.02 
AND 000.03 
OUT 100.02 
LD TR 0 
AND 000.04 
AND 000.05 
OUT 100.03 
Statement List
Advanced Industrial Automation 
OMRON 
TRY...
Advanced Industrial Automation 
OMRON 
1. 
2. 
3. 
4. 
5. 
6. 
7. 
Define the purpose 
Problem Splitting 
Working out 
Design 
Writing 
Testing 
Finishing 
Program Writing – Seven steps
Program Writing – Define the Purpose 
Advanced Industrial Automation 
OMRON 
1. 
Products on the inputbelt are transported to PES 0.00. This belt stops if there is another product 
under work. Otherwise the product is transported to the next belt and stops if PES 0.01 detects 
the product. The drill is in the upper position and will be started by output 100.02. 
The drill goes down to limitswitch 0.02. The output 100.02 is set to off and the drill is returning 
to the upper position. If upperlimitswitch 0.03 detects the drill, the inputbelt, the transportbelt and 
the outputbelt is started. PES 0.04 detects the product and stops the outputbelt on the backside 
of the product . After five products the pusher is activated and pushes the products from the belt 
by output 100.04. If the pusher is in the out position (limitswitch 0.05) the output goes off and 
the pusher returns. During this period no belt is running except the inputbelt.
Program Writing – Problem Splitting 
Advanced Industrial Automation 
OMRON 
2. 
In-take transport 
Drilling station 
Transport and ejecting 
the products
Advanced Industrial Automation 
OMRON 
2. 
In-take transport Transport 
Drilling station Transport 
Drilling 
Transport & ejection Transport 
Ejection of the 
products 
Program Writing – More Splitting
Program Writing – Defining I/O list 
Advanced Industrial Automation 
OMRON 
3. Working out (I/O list) 
000.00 FInput Sensor on input belt 
000.01 FTransp Sensor on transport belt 
000.02 CilOut Cylinder out 
000.03 CilIn Cylinder in 
000.04 FOutput Sensor on output belt 
000.05 PusIn Pusher in 
000.06 PusOut Pusher out 
100.00 Minput Motor input belt 
100.01 MTransport Motor transport belt 
100.02 ACyl Cylinder 
100.03 MOutput Motor output belt 
100.04 APus Pusher 
099.15 PUW Product under work 
099.14 PUWR Product under work ready 
099.13 MP Move products 
099.12 MPR Move products ready
OMRON Adding comments to the PLC program 
Advanced Industrial Automation
OMRON Adding comments to contacts: ‘Symbols’ 
Advanced Industrial Automation 
‘Global symbols’ 
and 
‘Local symbols’
OMRON Online Edit 
Advanced Industrial Automation
OMRON An easy way to connect… 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
TRY...
OMRON Functions 
Ladder symbol Operand Data-area 
XYZ(99) 
Advanced Industrial Automation 
S 
P1 
R 
Condition 1 
Condition 2 
Condition 3 
S: Source word 
IR, SR, AR, HR, LR, T/C, DM, # 
P1: Parameter word 
IR, AR, HR, LR 
R: Result word 
IR, AR, HR, LR, T/C, DM
Ladder symbol Operand Data-area 
Advanced Industrial Automation 
OMRON 
P1 = 1 - 9999 
Time = 0.1 - 999.9 sec 
Contact = TIM0 
INPUT 
SV SV 
TIMER OUTPUT 
Timer 
TIM 
N 
SV 
Condition 1 
N: TC number 
# (000-511) 
SV: Set value (BCD) 
IR, AR, DM, HR, LR, #
Advanced Industrial Automation 
OMRON 
SV SV 
000.00 
100.00 
Normal Timer
Advanced Industrial Automation 
OMRON 
SV1 
000.01 
100.01 
SV1 
Delay After Off
Advanced Industrial Automation 
OMRON 
SV3 
000.02 
100.02 
SV3 
SV2 SV2 
On/Off Delay
Advanced Industrial Automation 
OMRON 
SV3 
000.03 
100.03 
SV3 
One Shot
Ladder symbol Operand Data-area 
Advanced Industrial Automation 
OMRON 
SV = 1 - 9999 
Time = 0.01 - 99.99 sec 
Contact = TIM0 
INPUT 
SV SV 
TIMER OUTPUT 
High Speed Timer 
TIMH(15) 
N 
SV 
Condition 1 
N: TC number 
# (000-511) 
SV: Set value (BCD) 
IR, AR, DM, HR, LR, #
Ladder symbol Operand Data-area 
PULSE 
5 4 3 2 1 0 0 5 4 3 5 5 4 
Advanced Industrial Automation 
OMRON 
SV = 1 - 9999 
Contact = CNT511 
RESET 
COUNTER OUTPUT 
Counter 
CNT 
N 
SV 
Pulse 
Reset 
N: Counter number 
# (000 – 511) 
SV: Set value (BCD) 
IR, AR, DM, HR, LR, #
DI-COUNTER 
0 1 2 3 0 1 1 0 3 
Advanced Industrial Automation 
OMRON 
SV = 1 - 9999 
Contact = CNT511 
RESET 
OUTPUT 
II+ 
2 3 2 0 3 0 1 
Reversible Counter 
CNTR(12) 
N 
SV 
II+ 
DI-Ladder 
symbol Operand Data-area 
N: Counter number 
# (000 – 511) 
SV: Set value (BCD) 
IR, AR, DM, HR, LR, # 
Reset
OMRON Example Program 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
Try… 
Manipulation of numbers and bits 
ON-LINE edit
BIT 
Advanced Industrial Automation 
OMRON 
SET 
RESET 
000.00 000.01 100.00 
100.00 
000.00 
000.01 
KEEP(11) 
100.00 
Keep 
KEEP(11) 
B 
S 
Ladder symbol Operand Data-area 
B: Bit 
R IR, AR, HR, LR
OMRON Set en Reset 
R B: Bit 
Advanced Industrial Automation 
SET 
B 
S 
Ladder symbol Operand Data-area 
B: Bit 
IR, AR, HR, LR 
RSET 
B 
IR, AR, HR, LR
Ladder symbol Operand Data-area 
Signal B: Bit 
Advanced Industrial Automation 
OMRON 
CYCLUS 
Signal Flanks 
DIFU(13) 
B 
Signal 
B: Bit 
IR, AR, HR, LR 
DIFD(14) 
B 
IR, AR, HR, LR
OMRON Interlock 
Advanced Industrial Automation 
Ladder symbol 
Signal IL(02) 
Signal ILC(03)
Interlock 
Advanced Industrial Automation 
OMRON 
PROGRAM 
WITHOUT 
INTERLOCK
Interlock 
Advanced Industrial Automation 
OMRON 
PROGRAM 
WITH 
INTERLOCK
Advanced Industrial Automation 
OMRON 
000.00 
000.01 
DIFU(13) 
10.00 
ILC(03) 
IL(02) 
000.00 
000.01 
010.00 
ON 
OFF 
ON 
OFF 
ON 
OFF 
A 
DIFU and DIFD in Interlocks
OMRON Example Program 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
Try…
Advanced Industrial Automation 
OMRON 
Output inhibit 
Battery alarm 
Always on 
Always off - 253.14 
First scan 
1 min pulse 
0.02 sec pulse 
0.1 sec pulse 
0.2 sec pulse 
1.0 sec pulse 
Special Internal Relays
OMRON Questions? 
Thank you 
for you 
attention 
if you have any question… 
Advanced Industrial Automation
OMRON PLC - DATA Hands-on training 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
ADRESS FUNCTION NAME 
255.03 ER ERROR error bit 
255.04 CY CARRY carry bit 
255.05 GR GREATER > bit 
255.06 EQ EQUAL = bit 
255.07 LE LESS < bit 
System Flags
Advanced Industrial Automation 
OMRON 
* Logical instructions 
* Timer instructions 
* Counter instructions 
* Basic instructions 
* Bit control instructions 
* Data shifting instructions 
* Data movement instructions 
* Data compare instructions 
* Data conversion instructions 
* Binary calculation 
* BCD calculation 
* Logical calculation 
* Subroutine instructions 
* Step instructions 
* Network instructions 
* Special instructions 
Instruction groups
Advanced Industrial Automation 
OMRON 
Ladderdiagram: 
Statement list: 
NO contact 
NC contact 
Output 
Inverted output 
Horizontal and vertical line 
LD 
LD NOT 
AND 
AND NOT 
OR 
OR NOT 
OUT 
OUT NOT 
OR LD 
AND LD 
Logical instructions
Advanced Industrial Automation 
OMRON 
NOP(00) No function 
END(01) End of program 
IL(02) Interlock 
ILC(03) Interlock close 
Basic Instructions
LADDER SYMBOOL OPERAND DATAGEBIEDEN 
Advanced Industrial Automation 
OMRON 
000.01 100.00 
TIM 
0 
#9999 
000.00 
JMP(O4) 
JME(O5) 
N: Sprongnummer 
# (00 to 99) 
N: Sprongnummer 
# (00 to 99) 
OUTPUTS FREEZE 
TIMERS STOP 
JMP(04) 
N 
JME(05) 
N 
Jump Instructions
Advanced Industrial Automation 
OMRON 
V.W.1 
JMP(O4) 
0 
JME(O5) 
0 
V.W.2 
JMP(O4) 
0 
JME(O5) 
0 
LABEL 0 
Can be used more than 
one time in the program. 
USED 
More programs into 1 PLC 
Shorten programs. 
Jump Instructions
Advanced Industrial Automation 
OMRON 
V.W.2 
JMP(O4) 
0 
V.W.1 
JMP(O4) 
0 
JME(O5) 
0 
LABEL 0 
JMP-JMP-JME combination 
Jump Instructions
Advanced Industrial Automation 
OMRON 
V.W.2 
JMP(O4) 
2 
JME(O5) 
2 
V.W.1 
JMP(O4) 
1 
JME(O5) 
1 
LABEL 1- 99 
Can be used only 
once in the program. 
Jump Instructions
Advanced Industrial Automation 
OMRON 
V.W.1 
JMP(O4) 
1 
JME(O5) 
1 
LABEL 1- 99 
Jump back in 
the program 
USED 
Recursive action 
Conversion more than one variable 
MODBUS CRC Check 
Jump Instructions
OMRON Example Program 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
Try…
OMRON Data monitoring 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
Data Shifting Instructions 
Data Shifting Instructions
VERLOREN DATA EXECUTIE 
Advanced Industrial Automation 
OMRON 
SHIFTREGISTER 
SFT(10) 
DATA 
SFT(10) 
99 
99 
Start word 
IR, AR, DM, HR, LR 
End word 
IR, AR, DM, HR, LR 
C.P. 
RESET 
99.12 100.00 
E St+1, St+2, ... St 
0 0 0 01 01 01 01 01 01 01 01 01 01 01 01 01 
Condition: End word >= Start word 
Same data area 
CONDITIE 
Shift Register
OMRON Example Program 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
Try…
Advanced Industrial Automation 
OMRON 
SHIFTREGISTER 
V.W. 
000.00 
SFTR(84) 
SFTR(84) 
C 
St 
E 
000.01 
000.02 
000.03 
10.12 
10.13 
10.14 
10.15 
L / R 
DATA 
CLOCK PULSE 
RESET 
C: Control word 
IR, AR, DM, HR, LR 
St: Start word 
IR, AR, DM, HR, LR 
E: End word 
IR, AR, DM, HR, LR 
Example 
C= IR10 
Shift Register
Advanced Industrial Automation 
OMRON 
SHIFTREGISTER 
ASL(25) 
Wd: Word 
IR, AR, DM, HR, LR 
0 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0 
Cy 
V.W. 
ASL(25) 
Wd 
0 
BIT 
15 
BIT 
0 
ER, EQ 
Shift Register
Advanced Industrial Automation 
OMRON 
SHIFTREGISTER 
ASR(26) 
0 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0 
Cy 
V.W. 
ASR(26) 
Wd 
0 
Wd: Word 
IR, AR, DM, HR, LR 
BIT 
15 
BIT 
0 
ER, EQ 
Shift Register
Advanced Industrial Automation 
OMRON 
SHIFTREGISTER 
ROL(27) 
0 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0 
Cy 
V.W. 
ROL(27) 
Wd 
Wd: Word 
IR, AR, DM, HR, LR 
BIT 
15 
BIT 
0 
ER, EQ 
Shift Register
Advanced Industrial Automation 
OMRON 
SHIFTREGISTER 
ROR(28) 
0 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0 
Cy 
V.W. 
ROR(28) 
Wd 
Wd: Word 
IR, AR, DM, HR, LR 
BIT 
15 
BIT 
0 
ER, EQ 
Shift Register
Advanced Industrial Automation 
OMRON 
SHIFTREGISTER 
SLD(74) 
V.W. 
SLD(74) 
St 
St: Start word 
IR, AR, DM, HR, LR 
E E: End word 
IR, AR, DM, HR, LR 
E St 
1 2 2 3 4 3 5 4 5 6 6 7 8 7 8 
0 
VERLOREN DATA 
0 
Condition: End word >= Start word 
Same data area 
ER 
Shift Register
Advanced Industrial Automation 
OMRON 
SHIFTREGISTER 
SRD(75) 
V.W. 
SRD(75) 
E 
E: End word 
IR, AR, DM, HR, LR 
St St: Start word 
IR, AR, DM, HR, LR 
St E 
1 0 2 1 2 3 3 4 5 4 6 5 6 7 8 
7 
VERLOREN DATA 
0 
Condition: End word >= Start word 
Same data area 
ER 
Shift Register
Advanced Industrial Automation 
OMRON 
SHIFTREGISTER 
WSFT(16) 
V.W. 
WSFT(16) 
St 
St: Start word 
IR, AR, DM, HR, LR 
E E: End word 
IR, AR, DM, HR, LR 
VERLOREN DATA 
1234 
0000 
1234 
1111 
2233 
1111 
1FFF 
2233 
1FFF 
0000 
0000 
9999 
4545 
9999 
Condition: End word >= Start word 
Same data area 
0000 
DM100 
DM106 
ER 
Shift Register
Advanced Industrial Automation 
OMRON 
NOTATIONS 
1 2 3 4 
4 * 10 0 
3 * 10 1 
2 * 10 2 
1 * 10 3 
Decimal 
0,1,2,3,4,5,6,7,8,9 
Notations
Advanced Industrial Automation 
OMRON 
NOTATIONS 
1 0 1 1 
Binary 
1 * 2 0 = 1 
1 * 2 1 = 2 
0 * 2 2 = 0 
1 * 2 3 = 8 
11 
0,1 
11 
: 2 rest 1 
5 
: 2 rest 1 
2 
: 2 rest 0 
1 
: 2 rest 1 
0 
1011 
Notations
Advanced Industrial Automation 
OMRON 
NOTATIONS 
1 2 A 4 
Hexadecimal 
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F 
4 * 16 0 = 4 
10 * 16 1 = 160 
2 * 16 2 = 512 
1 * 16 3 = 4096 
4772 
4772 
: 16 rest 4 
298 
: 16 rest 10=A 
18 
: 16 rest 2 
1 
: 16 rest 1 
0 12A4 
Notations
Advanced Industrial Automation 
OMRON 
NOTATIONS 
Hexadecimal <-> Binary 
Hexadecimal 1 2 A 4 
Binary 0001 0010 1010 0100 
2 0 2 15 
Notations
Advanced Industrial Automation 
OMRON 
NOTATIONS 
Decimal <-> BCD 
Decimal 1 2 9 4 
BCD 0001 0010 1001 0100 
20 23 
T 
20 23 
E 
20 23 
H 
20 23 
D 
Notations
Advanced Industrial Automation 
OMRON 
NOTATIONS 
DEC 
0 
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
HEX 
0 
1 
2 
3 
4 
5 
6 
7 
8 
9 
A 
B 
C 
D 
E 
F 
10 
11 
12 
13 
14 
BIN BCD 
00000 
00001 
00010 
00011 
00100 
00101 
00110 
00111 
01000 
01001 
01010 
01011 
01100 
01101 
01110 
01111 
10000 
10001 
10010 
10011 
10100 
0000 0000 
0000 0001 
0000 0010 
0000 0011 
0000 0100 
0000 0101 
0000 0110 
0000 0111 
0000 1000 
0000 1001 
0001 0000 
0001 0001 
0001 0010 
0001 0011 
0001 0100 
0001 0101 
0001 0110 
0001 0111 
0001 1000 
0001 1001 
0010 0000 
Notations
Data Movement Instructions 
Advanced Industrial Automation 
OMRON 
Data Movement Instructions
Data Movement Instructions 
SOURCE WORD 
Advanced Industrial Automation 
OMRON 
MOV(21) 
V.W. 
MOV(21) 
S 
D 
S: Source word 
IR, AR, DM, HR, LR, TC, # 
D: Destination word 
IR, AR, DM, HR, LR 
ER, EQ 
1 1 0 1 1 0 1 1 1 0 0 1 1 0 1 1 
DESTINATION WORD 
1 1 0 1 1 0 1 1 1 0 0 1 1 0 1 1 
Status source word 
will not be changed 
Data Movement Instructions
OMRON Example Program 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
Try…
Advanced Industrial Automation 
OMRON 
Differentiated Instructions 
000.01 000.02 000.03 
DIFU(13) 
010.00 
010.00 
MOV(21) 
#0001 
DM0000 
000.01 000.02 000.03 
@MOV(21) 
#0001 
DM0000 
Differentiated Instructions
Advanced Industrial Automation 
OMRON 
Indirect Addressing 
000.01 
MOV(21) 
#0010 
DM0012 
BEFORE 
DM0010 0013 
DM0011 3331 
DM0012 1234 
DM0013 A000 
DM0014 0000 
DM0015 FFFF 
AFTER 
DM0010 0013 
DM0011 3331 
DM0012 0010 
DM0013 A000 
DM0014 0000 
DM0015 FFFF 
Indirect Addressing
Advanced Industrial Automation 
OMRON 
Indirect Addressing 
000.01 
MOV(21) 
#0010 
*DM0012 
BEFORE 
DM0010 0013 
DM0011 3331 
DM0012 1234 
DM0013 A000 
DM0014 0000 
DM1233 A120 
DM1234 AD01 
DM1235 FFFF 
AFTER 
DM0010 0013 
DM0011 3331 
DM0012 1234 
DM0013 A000 
DM0014 0000 
DM1233 A120 
DM1234 0010 
DM1235 FFFF 
Indirect Addressing
SOURCE WORD 
Advanced Industrial Automation 
OMRON 
MVN(22) 
V.W. 
MVN(22) 
Br 
D 
Br: Source word 
IR, AR, DM, HR, LR, TC, # 
D: Destination word 
IR, AR, DM, HR, LR 
ER, EQ 
1 1 0 1 1 0 1 1 1 0 0 1 1 0 1 1 
DESTINATION WORD 
0 0 1 0 0 1 0 0 0 1 1 0 0 1 0 0 
Status source word 
will not be changed 
Data Movement Instructions
Advanced Industrial Automation 
OMRON 
XFER(70) 
V.W. 
XFER(70) 
N 
Br 
D 
Br: First source word 
IR, AR, DM, HR, LR, TC 
D: First destination word 
IR, AR, DM, HR, LR 
ER 
Status source word 
will not be changed 
N: Number of words 
IR, AR, DM, HR, LR, TC, # 
Br 3331 
Br+1 1234 
Br+2 A000 
Br+3 0000 
Br+N-1 A120 
D 3331 
D+1 1234 
D+2 A000 
D+3 0000 
D+N-1 A120 
Data Movement Instructions
Advanced Industrial Automation 
OMRON 
BSET(71) 
V.W. 
BSET(71) 
Br 
E 
St: Start word 
IR, AR, DM, HR, LR, TC 
E: End word 
IR, AR, DM, HR, LR, TC 
ER 
St 
Br: Source word 
IR, AR, DM, HR, LR, TC, # 
Br 3331 St 3331 
St+1 3331 
St+2 3331 
St+3 3331 
E 3331 
Condition: End word >= Start word 
Same data area 
Data Movement Instructions
Data Movement Instructions 
Advanced Industrial Automation 
OMRON 
XCHG(73) 
V.W. 
XCHG(73) 
V1 
V2: To change word 2 
IR, AR, DM, HR, LR, TC 
ER 
V2 
V1: To change word 1 
IR, AR, DM, HR, LR, TC 
V1 1323314 V2 1323314
Advanced Industrial Automation 
OMRON 
MOVB(82) 
V.W. 
MOVB(82) 
Br 
D 
Bi: Bit designation (BCD) 
IR, AR, DM, HR, LR, TC, # 
D: Destination word 
IR, AR, DM, HR, LR 
ER 
Bi 
Br: Source word 
IR, AR, DM, HR, LR, # 
SOURCE WORD 
1 
DESTINATION WORD 
Bit status source word 
will not be changed 
1 
Data Movement Instructions
Advanced Industrial Automation 
OMRON 
MOVD(83) 
V.W. 
MOVD(83) 
Br 
D 
Di: Digit designation (BCD) 
IR, AR, DM, HR, LR, TC, # 
D: Destination word 
IR, AR, DM, HR, LR, TC 
ER 
Di 
Br: Source word 
IR, AR, DM, HR, LR, TC, # 
SOURCE WORD 
4 2 7 1 
DESTINATION DOELWOORD 
WORD 
7 9 1 9 3 3 
Digit source word 
will not be changed 
Di = #0210 
Data Movement Instructions
Data Compare Instructions 
Advanced Industrial Automation 
OMRON 
Data Compare Instructions
Advanced Industrial Automation 
OMRON 
CMP(20) 
V.W. 
CMP(20) 
Cp1 
ER 
Cp2 
Cp1: First compare word 
IR, AR, DM, HR, LR, TC, # 
Cp2: Second compare word 
IR, AR, DM, HR, LR, TC, # 
255.05 > 100.00 
255.06 = 100.01 
255.07 < 100.02 
Data Compare Instructions
OMRON Example Program 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
PROGRAM 
DOWNLOAD
Advanced Industrial Automation 
OMRON 
CMPL(60) 
V.W. 
CMPL(60) 
Cp1 
ER 
Cp2 
Cp1: First compare word 
IR, AR, DM, HR, LR, TC 
Cp2: Second compare word 
IR, AR, DM, HR, LR, TC 
255.05 > 100.00 
255.06 = 100.01 
255.07 < 100.02 
Data Compare Instructions
Advanced Industrial Automation 
OMRON 
BCMP(68) 
V.W. 
BCMP(68) 
VD 
ER 
CB 
VD: Compare data 
IR, DM, HR, LR, TC, # 
CB: Startaddress table 
IR, DM, HR, LR, TC 
R 
R: Result word 
IR, AR, DM, HR, LR 
VD 1234 
Lower limit 
CB 1000 
CB+2 1280 
CB+4 1234 
CB+6 2000 
CB+30 1100 
Upper limit 
CB+1 2000 
CB+3 1420 
CB+5 1234 
CB+7 2400 
CB+31 1500 
RES 
1 
0 
1 
0 
1 
Bit 0 
Bit 15 
Data Compare Instructions
Advanced Industrial Automation 
OMRON 
TCMP(65) 
V.W. 
TCMP(65) 
VD 
ER 
CB 
VD: Compare data 
IR, DM, HR, LR, TC, # 
CB: Startaddress table 
IR, DM, HR, LR, TC 
R 
R: Result word 
IR, AR, DM, HR, LR 
VD 1234 
DATA 
CB 1000 
CB+1 1280 
CB+2 1234 
CB+3 2000 
CB+15 1100 
RES 
0 
0 
1 
0 
0 
Bit 0 
Bit 15 
Data Compare Instructions
Data Compare Instructions 
Advanced Industrial Automation 
OMRON 
MCMP(19) Multiple words compare 
CPS(--) Binary compare with sign 
CPSL(--) Double binary compare met sign 
ZCP(--) Zone compare with sign 
ZCPL(--) Double zone compare with sign
Data Conversion Instructions 
Advanced Industrial Automation 
OMRON 
BIN(23) BCD ->Binary 
BINL(58) Double BCD -> Double Binary 
BCD(24) Binary -> BCD 
BCDL(59) Double Binary -> Double BCD 
ASC(86) HEX -> ASCII 
HEX(--) ASCII -> HEX
BCD Calculation Instructions 
Advanced Industrial Automation 
OMRON 
BCD Calculation Instructions
Advanced Industrial Automation 
OMRON 
LADDER SYMBOOL 
STC(40) @STC(40) 
LADDER SYMBOOL 
CLC(41) @CLC(41) 
Bit 255.04 
Data Calculation Instructions
Data Calculation Instructions 
Advanced Industrial Automation 
OMRON 
V.W. 
ADD(30) 
Br1 
ER, EQ, CY 
Br2 
Br1: Source word 1 (BCD) 
IR, AR, DM, HR, LR, TC, # 
Br2: Source word 2 (BCD) 
IR, AR, DM, HR, LR, TC, # 
R 
R: Result word 
IR, AR, DM, HR, LR 
ADD(30) 
Br1 + Br2 + Cy = R -> Cy 
CY before exec. - Br1 (Source) - Br2 (Add) - R (Result) - CY after exec. 
“0” 1234 2345 3579 “0” 
“1” 1234 2345 3580 “0” 
“0” 4567 7667 2234 “1” 
“1” 4567 7667 2235 “1” 
“0” 9999 0001 0000 “1” 
“1” 9999 0000 0000 “1” 
“0” 0000 0000 0000 “0”
Example Program EXAMPLE PROGRAM OMRON 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
PROGRAM 
DOWNLOAD
Data Calculation Instructions 
Advanced Industrial Automation 
OMRON 
V.W. 
SUB(31) 
Br1 
ER, EQ, CY 
Br2 
Br1: Source word 1 (BCD) 
IR, AR, DM, HR, LR, TC, # 
Br2: Source word 2 (BCD) 
IR, AR, DM, HR, LR, TC, # 
R 
R: Result word 
IR, AR, DM, HR, LR 
SUB(31) 
Br1 - Br2 - Cy = R -> Cy 
CY before exec. - Br1 (Source) - Br2 (Add) - R (Result) - CY after exec. 
“0” 1234 2345 8889 “1” 
“1” 1234 2345 8888 “1” 
“0” 8567 7667 0900 “0” 
“1” 8567 7667 0899 “0” 
“0” 0000 0001 9999 “1” 
“1” 0001 0000 0000 “0” 
“0” 0000 0000 0000 “0”
Data Calculation Instructions 
Advanced Industrial Automation 
OMRON 
V.W. 
MUL(32) 
Vt 
ER, EQ 
Vv 
Vt: Multiply word (BCD) 
IR, AR, DM, HR, LR, TC, # 
Vv: Multiplier(BCD) 
IR, AR, DM, HR, LR, TC, # 
R 
R: First result word 
IR, AR, DM, HR, LR 
MUL(32) 
Vt * Vv = R (R+1) 
Attention: the result gives always two words (eight digits)
Data Calculation Instructions 
Advanced Industrial Automation 
OMRON 
V.W. 
DIV(33) 
Dd 
ER, EQ 
Dr 
Dd: Divider word (BCD) 
IR, AR, DM, HR, LR, TC, # 
Dr: Divider (BCD) 
IR, AR, DM, HR, LR, TC, # 
R 
R: First result word 
IR, AR, DM, HR, LR 
DIV(33) 
Dd : Dr = R rest R+1 
Attention: the result gives always two words
Data Calculation Instructions 
Advanced Industrial Automation 
OMRON 
INC(38) Increases BCD number with 1 
DEC(39) Decreases BCD number with 1 
ADDL(54) Double word ADD 
SUBL(55) Double word SUBTRACT 
MULL(56) Double word MULTIPLY 
DIVL(57) Double word DIVIDE
Binary Calculation Instructions 
Advanced Industrial Automation 
OMRON 
ADB(50) ADD binary 
SBB(51) SUBTRACT binary 
MLB(52) MULTIPLY binary 
DVB(53) DIVIDE binary 
ADBL(--) Double word ADD 
SBBL(--) Double word SUBTRACT 
MBS(--) Signed MULTIPLY 
MBSL(--) Double word signed MULTIPLY 
DBS(--) Signed DIVIDE 
DBSL(--) Double word signed DIVIDE 
NEG(--) 2’s complement conversion 
NEGL(--) 2’s complement conversion (double) 
CPS(--) 2’s complement compare 
CPSL(--) 2’s complement compare (double)
Logistic Calculation Instructions 
Advanced Industrial Automation 
OMRON 
COM(29) 1’s Complement 
ANDW(34) Logical AND between two words 
ORW(35) Logical OR between two words 
XORW(36) Logical XOR between two words 
XNRW(37) Logical XNOR between two words
Advanced Industrial Automation 
OMRON 
SBS(91) / SBN(92) / RET(93) 
V.W. 
SBS(91) 
N 
ER 
N: Subroutine number 
#(00 - 255) 
SBN(92) 
N 
- Program - 
RET(93) 
APPLICATION 
Actions which are executed 
more than once in the program 
Subroutine Instructions
OMRON Example Program 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
PROGRAM 
DOWNLOAD
Advanced Industrial Automation 
OMRON 
V.W. 
STEP(08) / SNXT(09) 
SNXT(09) 
B 
B: Control bit 
IR, AR, HR, LR 
254.07 Step start flag 
STEP(08) 
B 
- Program - 
Step Instruction
Advanced Industrial Automation 
OMRON 
Example 
0 
TR5 
1 
TR2 
2 
TR3 
3 
4 
TR4 
5 
TR6 
6 
TR7 
7 
TR8 
TR1 
Ref 0 Ref 1 
Step Instruction
Advanced Industrial Automation 
OMRON 
STEP(08) / SNXT(09) 
099.00 
000.01 
099.01 
000.02 000.03 
099.02 099.00 
CNT500 
099.00 
Step Instruction
Example Program EXAMPLE PROGRAM OMRON 
Advanced Industrial Automation
Advanced Industrial Automation 
OMRON 
Try…
Task programming 
Advanced Industrial Automation 
OMRON 
One Ladder 
Task 
Task 
Task 
Task 
End 
• Continuous Ladder program can be split into the 
functional parts 
• These parts are called Tasks or Programs 
• Task programming results in faster and more 
flexible program development
Task 01 
Advanced Industrial Automation 
OMRON 
End 
I/O refresh 
Task 00 
Task 02 
• List of active tasks is 
refreshed during I/O refresh 
• Active cyclic tasks are 
executed from the lowest 
task number 
• Tasks can be activated or 
deactivated by other tasks 
• Operation Start assignment 
can be switched On/Off 
Cyclic Tasks
OMRON Interrupt tasks 
End 
Task 00 
Task 01 
Task 02 
Advanced Industrial Automation 
• Interrupt of cycle task execution can be 
triggered by 
– Power fail 
– Internal timer 
– External interrupt input 
– Message received on serial board 
Interrupt Task 
End
OMRON Task programming 
• When to use Tasks? 
– Local symbols results in flexible programming 
– Parallel program development 
– Reuse of standard blocks of code 
– Upgrade of the machine by activating the task 
– Optimisation of the cycle time 
Advanced Industrial Automation
Cycle time – Standard situation 
Program 
Execution 
Advanced Industrial Automation 
OMRON 
Overseeing 
Processing 
I/O 
Refreshing 
Peripheral 
Servicing 
- Check Battery 
- Read DIP-switches 
- Check I/O Bus 
- Check User Program Memory 
- Check for Memory Card 
Refresh data for : 
- Basic I/O Units 
- SYSMAC BUS Remote I/O 
- Special I/O Units 
- CPU Bus Units 
Events Servicing : 
- Special I/O unit events 
- CPU Bus Unit events 
- Peripheral port and RS-232C port events 
- File access 
- Communications port events 
Cycle Time
Cycle time – Parallel Processing Mode 
Program 
Execution 
Advanced Industrial Automation 
OMRON 
Overseeing 
Processing 
I/O 
Refreshing 
Cycle Time 
for program execution 
Overseeing 
Processing 
Peripheral 
Servicing 
Cycle Time for 
Peripheral Servicing 
- Faster servicing of events 
- Time slice for program execution and peripheral 
servicing can be tuned by the customer 
- Synchronous or asynchronous I/O-memory access 
can be set by the user 
- Data concurrence via special instructions
Advanced Industrial Automation 
OMRON 
Stop 
Execute 
Execute 
Stop 
Optimisation of the cycle time
OMRON Tasks : summary 
• Task is a program 
• Equivalent to a function of your process 
• Easier programming, debugging and maintenance 
• Integrate tasks into a project 
• Up to 32 tasks ! 
• Up to 256 linked to an event ! 
• Project will call the tasks needed 
• Your cycle is optimal 
• Re-use-able ! 
Advanced Industrial Automation
OMRON Questions? 
Thank you 
for you 
attention 
if you have any question… 
Advanced Industrial Automation

Más contenido relacionado

La actualidad más candente

Programmable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingProgrammable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingseema Vishwakarma
 
Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Ahmed Elsayed
 
Training report of PLC
Training report of PLCTraining report of PLC
Training report of PLCSumit Patidar
 
Basic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixProBasic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixProbkhairullah
 
Delta ia plc-dvp_tp_c_en_20160922
Delta ia plc-dvp_tp_c_en_20160922Delta ia plc-dvp_tp_c_en_20160922
Delta ia plc-dvp_tp_c_en_20160922truongnhan1985
 
automation slides,plc,scada,HMI
automation slides,plc,scada,HMIautomation slides,plc,scada,HMI
automation slides,plc,scada,HMIBOSCH
 
Technical slides tia_portal_v15_en
Technical slides tia_portal_v15_enTechnical slides tia_portal_v15_en
Technical slides tia_portal_v15_enDeepak kumar
 
Industrial automation (PLC, SCADA, VFD & HMI)
Industrial automation (PLC, SCADA, VFD & HMI)Industrial automation (PLC, SCADA, VFD & HMI)
Industrial automation (PLC, SCADA, VFD & HMI)Praveen Ramola
 
Industrial Training on PLC SCADA HMI for fresher engineers
Industrial Training on PLC SCADA HMI for fresher engineersIndustrial Training on PLC SCADA HMI for fresher engineers
Industrial Training on PLC SCADA HMI for fresher engineersSneha Yadav
 
Plc presentation
Plc presentationPlc presentation
Plc presentationAkshay Modi
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming satyajit patra
 
Plc report with project
Plc report with projectPlc report with project
Plc report with projectPriya Hada
 
Use of plc in industrial automation
Use of plc in industrial automationUse of plc in industrial automation
Use of plc in industrial automationAloka Patro
 
PLC and SCADA training.
PLC and SCADA training.PLC and SCADA training.
PLC and SCADA training.Ishank Ranjan
 
Power point presentation on Industrial Automation
Power point presentation on Industrial AutomationPower point presentation on Industrial Automation
Power point presentation on Industrial AutomationJaiPrakash337
 
Industrial automation systems
Industrial automation systemsIndustrial automation systems
Industrial automation systemsSundaraPrabakar
 

La actualidad más candente (20)

Programmable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingProgrammable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programming
 
Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200Programmable logic controller - Siemens S7-1200
Programmable logic controller - Siemens S7-1200
 
Training report of PLC
Training report of PLCTraining report of PLC
Training report of PLC
 
Basic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixProBasic PLC Symbols and Addresses in LogixPro
Basic PLC Symbols and Addresses in LogixPro
 
Delta ia plc-dvp_tp_c_en_20160922
Delta ia plc-dvp_tp_c_en_20160922Delta ia plc-dvp_tp_c_en_20160922
Delta ia plc-dvp_tp_c_en_20160922
 
Plc (programming)
Plc (programming)Plc (programming)
Plc (programming)
 
automation slides,plc,scada,HMI
automation slides,plc,scada,HMIautomation slides,plc,scada,HMI
automation slides,plc,scada,HMI
 
Plc presentation
Plc presentation Plc presentation
Plc presentation
 
Technical slides tia_portal_v15_en
Technical slides tia_portal_v15_enTechnical slides tia_portal_v15_en
Technical slides tia_portal_v15_en
 
Industrial automation (PLC, SCADA, VFD & HMI)
Industrial automation (PLC, SCADA, VFD & HMI)Industrial automation (PLC, SCADA, VFD & HMI)
Industrial automation (PLC, SCADA, VFD & HMI)
 
Industrial Training on PLC SCADA HMI for fresher engineers
Industrial Training on PLC SCADA HMI for fresher engineersIndustrial Training on PLC SCADA HMI for fresher engineers
Industrial Training on PLC SCADA HMI for fresher engineers
 
Plc presentation
Plc presentationPlc presentation
Plc presentation
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming
 
Presentaton on Plc & Scada
Presentaton on Plc & ScadaPresentaton on Plc & Scada
Presentaton on Plc & Scada
 
Plc report with project
Plc report with projectPlc report with project
Plc report with project
 
Use of plc in industrial automation
Use of plc in industrial automationUse of plc in industrial automation
Use of plc in industrial automation
 
Basic PLC
Basic PLCBasic PLC
Basic PLC
 
PLC and SCADA training.
PLC and SCADA training.PLC and SCADA training.
PLC and SCADA training.
 
Power point presentation on Industrial Automation
Power point presentation on Industrial AutomationPower point presentation on Industrial Automation
Power point presentation on Industrial Automation
 
Industrial automation systems
Industrial automation systemsIndustrial automation systems
Industrial automation systems
 

Destacado (20)

Omron ladder programming
Omron ladder programmingOmron ladder programming
Omron ladder programming
 
Menggunakan cx programmer
Menggunakan  cx programmerMenggunakan  cx programmer
Menggunakan cx programmer
 
INDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLCINDUSTRIAL AUTOMATION USING PLC
INDUSTRIAL AUTOMATION USING PLC
 
ppt on PLC
ppt on PLCppt on PLC
ppt on PLC
 
Plc Siemens Training Notes
Plc Siemens Training NotesPlc Siemens Training Notes
Plc Siemens Training Notes
 
PLC - Programmable Logic Controller
PLC - Programmable Logic ControllerPLC - Programmable Logic Controller
PLC - Programmable Logic Controller
 
PLC LADDER DIAGRAM
PLC LADDER DIAGRAMPLC LADDER DIAGRAM
PLC LADDER DIAGRAM
 
Plc ppt
Plc pptPlc ppt
Plc ppt
 
Basics of Automation, PLC and SCADA
Basics of Automation, PLC and SCADABasics of Automation, PLC and SCADA
Basics of Automation, PLC and SCADA
 
MODUL PLC (Programmable Logic Control) DIDIK
MODUL PLC (Programmable Logic Control) DIDIKMODUL PLC (Programmable Logic Control) DIDIK
MODUL PLC (Programmable Logic Control) DIDIK
 
PLC Troubleshooting & Maintenance
PLC Troubleshooting & MaintenancePLC Troubleshooting & Maintenance
PLC Troubleshooting & Maintenance
 
Chapter 4 plc
Chapter 4 plcChapter 4 plc
Chapter 4 plc
 
Ladder logic fundamentals plc tutorial
Ladder logic fundamentals plc tutorialLadder logic fundamentals plc tutorial
Ladder logic fundamentals plc tutorial
 
SIEMENS S7-300c.ppt
SIEMENS S7-300c.pptSIEMENS S7-300c.ppt
SIEMENS S7-300c.ppt
 
Top Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and TricksTop Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and Tricks
 
Omron cp1 h
Omron cp1 h Omron cp1 h
Omron cp1 h
 
Plc omron
Plc omronPlc omron
Plc omron
 
Ladder diagram
Ladder diagramLadder diagram
Ladder diagram
 
PLC
PLCPLC
PLC
 
PLC Traffic Light Control
PLC Traffic Light ControlPLC Traffic Light Control
PLC Traffic Light Control
 

Similar a Omron plc training

Similar a Omron plc training (20)

OMRON Plc Training.ppt
OMRON Plc Training.pptOMRON Plc Training.ppt
OMRON Plc Training.ppt
 
Controllers
ControllersControllers
Controllers
 
PPT on INDUSTRIAL AUTOMATION, PLC, SCADA
 PPT on INDUSTRIAL AUTOMATION, PLC, SCADA PPT on INDUSTRIAL AUTOMATION, PLC, SCADA
PPT on INDUSTRIAL AUTOMATION, PLC, SCADA
 
Plc ( programable logic controllers)
Plc ( programable logic controllers)Plc ( programable logic controllers)
Plc ( programable logic controllers)
 
Cqm1 h
Cqm1 hCqm1 h
Cqm1 h
 
Catalogo_CoTrust mail.pdf
Catalogo_CoTrust mail.pdfCatalogo_CoTrust mail.pdf
Catalogo_CoTrust mail.pdf
 
PLC General
PLC   GeneralPLC   General
PLC General
 
Schneider automation
Schneider automationSchneider automation
Schneider automation
 
Automation.pdf
Automation.pdfAutomation.pdf
Automation.pdf
 
Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)Basics and applications of programmable logic controller (plc)
Basics and applications of programmable logic controller (plc)
 
Programmable Logic Controllers
Programmable Logic ControllersProgrammable Logic Controllers
Programmable Logic Controllers
 
car wash system
car wash systemcar wash system
car wash system
 
Plc
PlcPlc
Plc
 
Basic PLC.ppt
Basic PLC.pptBasic PLC.ppt
Basic PLC.ppt
 
Programmable Logic Controller
Programmable Logic ControllerProgrammable Logic Controller
Programmable Logic Controller
 
Vlt micro drive - Danfoss
Vlt micro drive - DanfossVlt micro drive - Danfoss
Vlt micro drive - Danfoss
 
Catálogo de PLC S7-200 SMART
Catálogo de PLC S7-200 SMART Catálogo de PLC S7-200 SMART
Catálogo de PLC S7-200 SMART
 
Cp1 h
Cp1 hCp1 h
Cp1 h
 
embedded system introduction to microcontrollers
embedded system introduction to microcontrollersembedded system introduction to microcontrollers
embedded system introduction to microcontrollers
 
Embedded systemsc
Embedded systemscEmbedded systemsc
Embedded systemsc
 

Último

Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxchumtiyababu
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEselvakumar948
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 

Último (20)

Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 

Omron plc training

  • 1. OMRON Welcome Advanced Industrial Automation
  • 2. Advanced Industrial Automation OMRON Industrial Components Automation & Drives Sensing & Safety •Electromechanical relays •Timers and counters •Programmable relays •Level controllers •Limit switches •Push buttons •Low voltage switch gear •Temperature and process controllers •Solid-state relays •Panel indicators •Power supplies •Program. Logic Controller •Network systems •HMI terminals •Inverters •Servo systems •Software •Photoelectric sensors •Displacement sensors •Vision systems •Safety sensors •Safety switches •Safety relays •Proximity sensors •Rotary encoders •Pressure sensors OMRON component subdivision
  • 3. Advanced Industrial Automation OMRON Contents of the training: • Introduction: PLC Overview OMRON PLC range CJ1M • Software CX-programmer V3.0 • PLC-Basic Hands-On Training … • Building up an Project • PLC-Advanced Hands-on Training … Contents of the training Automation & Drives
  • 4. OMRON Overview PLC range CPM2A CPM1A 100 120 140 256 512 1184 5000 I/O Advanced Industrial Automation CPM2C SRM1 CQM1H C200HE/HG/HX CS1 ZEN 34 CJ1 2560
  • 5. • Relay or transistor outputs • Various peripheral devices • 4 types of interrupts • High-speed counter integrated • Networking: Compobus-S (remote I/O) Compobus-D (DeviceNet) Profibus (slave) Advanced Industrial Automation OMRON CPM1A CPM2C The Micro PLC, standard for most of the basic applications Super compact, high functionallity Micro PLC CPM2A CPM CPM PLC family High functionality Micro PLC fully compatible with CPM1A
  • 6. Advanced Industrial Automation OMRON • CPU’s with 10, 20, 30 and 40 I/O • Expandable to 100 I/O • 2 KW program memory • 1KW data memory • 150 instructions • 1 port (peripheral) • 1 counter for counting to up to 5 KHz • 2 pulse generators, up to 2 KHz frequency CPM1A Family
  • 7. Advanced Industrial Automation OMRON • CPUs with 30, 40 or 60 I/O • Expandable up to 120 I/O • 4 KW Program memory • 2KW Data memory • 185 instructions • 2 ports • (Peripheral and RS232) • 1 counter, 20 KHz range • 4 counters for up to 2 KHz • 2 pulse outputs, 10 Khz CPM2A Family
  • 8. OMRON CPM1A/2A adding I/O CPM1A-10 CPM1A-20 CPM1A-30 CPM1A-40 CPM2A-20 CPM2A-30 CPM2A-40 CPM2A-60 Advanced Industrial Automation No-expansion Max. 3 modules extra I/O Inputs: 0.00 – 9.15 I/O Outputs: 10.00 – 19.15
  • 9. OMRON CPM I/O example CPM2A – 40 I/O 24 digital inputs 16 digital outputs Advanced Industrial Automation 0.00 – 0.11 1.00 – 1.11 10.00 – 10.07 11.00 – 11.07 CPM expansion – 20 I/O 12 digital inputs 8 digital outputs 2.00 – 2.07 3.00 – 3.03 12.00 – 12.07
  • 10. Advanced Industrial Automation OMRON CPU’s Modules Inner boards Communications CQM PLC family
  • 11. Advanced Industrial Automation OMRON • Modular system configuration • No need for racks • 256/512 I/O points maximum • 15 Kw Program memory max. • Up to 12.000 data memory registers • Built in all CPU’s : • 16 built-in digital inputs • 4 counting/interrupt inputs • 1 counter, 5 Khz • 1 or 2 comunication ports CQM PLC family
  • 12. CQM PLC family Advanced Industrial Automation OMRON • CQM1H modules – Variety of Digital and Analogue I/O – Temperature control – Linear sensor module – Remote I/O master, fieldbus masters • CQM1H inner boards – Counters, Encoders, Pulse drivers, Analogue, Communications...
  • 13. OMRON CQM1H expansion Advanced Industrial Automation
  • 14. OMRON CQM1H expansion Advanced Industrial Automation
  • 15. OMRON CQM1H - bits and memory Input bits 000.00 – 015.15 Output bits 100.00 – 115.15 Work bits 016.00 – 089.15 Advanced Industrial Automation 116.00 – 189.15 216.00 – 219.15 224.00 – 229.15 Special bits 244.00 – 255.07 Temporary bits TR0 – TR7 Holding bits HR00.00 – HR99.15 Auxiliary bits AR00.00 – AR27.15 Link bits LR00.00 – LR63.15 Timers / counters TIM/CNT 000 - 511 Data memory DM0000 – DM3071 (CPU 11/21) / DM6143 (CPU 51/61) DM6144 – DM6655 (read only) EM0000 – EM6655 (CPU 61) Interrupts 000.00 – 000.03 Max 256 I/O CPU11/21 Max 512 I/O CPU51/61 CPU settings Holds on power failure /! Mixed 4 interrupts  sequence
  • 16. Advanced Industrial Automation OMRON Controller link CompoBus/D (Slave) CQM1H networking NT Link, Host Link,Modem.. AS-I Bus (Master) CompoBus/S (Master) Protocol Macro, Modbus (Master)
  • 17. OMRON CS1 PLC family - Hardware •Modular system configuration – Standard Nine types of CPU Back-planes for CPU & expansion 2, 3, 5, 8 and 10 slots (max. 7 pcs. – 12 meter special up-to 50meter) – C200H power supply units – C200H expansion back-planes usable (max. 3 pcs.) – Number of Special I/O units – Communication Inner boards Advanced Industrial Automation
  • 18. OMRON CS1 Family – Data storage • Comments stored in the PLC • Easy backup of the program Flash-memory card: 8, 16, 32, 48, 64MB • Process values recording from the ladder • Data file management – program files – I/O memory files – system parameters files Advanced Industrial Automation
  • 19. OMRON CS1D Advanced Industrial Automation
  • 20. CS1D – Risk Management Advanced Industrial Automation OMRON Risk Management is essential in systems requiring a high level reliability. Every system is subjected to malfunction When is this a significant problem? • 24 hour system that can not be stopped • Extremely high starting-up costs • Unexpected stops can lead to disasters e.g. toxic spills, explosions… Expansion I/O Rack Expansion I/O Rack PS CPU Duplex unit PS CPU PS PS PS PS CLK CLK I/O Duplexing functions: • Double power supply (main and expansion rack) • Double CPU • Double Network cards • Hot swapping of all units without powering down the system (CPU, power supply and normal I/O units But ALSO network and special I/O units)
  • 21. OMRON CS1D – Hot-standby Advanced Industrial Automation
  • 22. OMRON CS1D – redundant network Advanced Industrial Automation
  • 23. OMRON CS1 Allocating I/O Units Advanced Industrial Automation
  • 24. CJ1 PLC family Advanced Industrial Automation OMRON Fast, Compact, Seamless
  • 25. Introducing the new CJ1 Advanced Industrial Automation OMRON • A SMALL PLC in size, but it is not a MICRO… • PLC size and capability no longer go hand-in-hand! • The CJ1 features: – High speed CPUs (40 and 20ns): 20ns is 3 to 5 times faster than typical mid-sized CPU. (e.g. C200H series) – Control up to 2560 Local I/O: Typical of the mid-sized PLC category. – Industry leading networking: Omron’s FINS protocol routes data across networks. – Compact size: Free up panel space without sacrificing performance!
  • 26. Advanced Industrial Automation OMRON • In fact the Omron CJ1 is a CS1 in a smaller package. – Released in 1999, the CS1 is and will remain Omron’s mid-sized PLC and leading technology platform. 1/3 Total Panel Volume 2/3 the Panel Depth 2/3 of the Footprint The CJ1 is a mid-sized PLC in a “micro-sized” package.
  • 27. How is the CJ1 possible? Advanced Industrial Automation OMRON • Advances in printed circuit board design – More efficient layout. • New component technology – Lower energy requirements. • Surface mounted PCB technology – Better heat dissipation. • New processors – Faster and more energy efficient.
  • 28. CJ1 Features - Flash Memory Cards Advanced Industrial Automation OMRON • 16 to 64 MB flash cards available. • Store PLC programs and transfer to/from PLC memory. • Log data into the card for manual or network retrieval. • Access the flash card from CX-Programmer – it appears as another PC drive. • Use FTP to store non-PLC related files on the flash card.
  • 29. CJ1 Features - Communications Advanced Industrial Automation OMRON • Ethernet • Controller Link • DeviceNet • CompoBus/S • Single Port Multiple Access • Protocol Macro
  • 30. Controller Link CLK PCI Board Advanced Industrial Automation OMRON Flash Memory Ethernet SCADA Programming & Debug Tool Ethernet DeviceNet or CompoBus/S Protocol Macro: Non-Omron Serial Devices MESSAGE BOARD Host Link Programming/Diagnostic Software Omron Touch Screen CJ1 Features - Communications Single Port Multiple Access
  • 31. Advanced Industrial Automation OMRON • Rack mounted PLCs come with fixed number of slots available. CJ1 is more flexible. • Eliminating the rack eliminates module width restrictions. Smaller modules – up to 10 can be joined by the CJ1 “through plane” • Expand up to 4 “racks” of I/O and communications – 40 total modules (2560 local I/O) CPU Rack Expansion 1 Expansion 2 Expansion 3 TOTAL EXPANSION BUS LENGTH = 12 meters 0.3, 0.7, 2.0, 3.0, 5.0, 10.0, 12.0 meter cables available CJ1G/H Features – Layout Flexibility
  • 32. OMRON CJ1M - series Advanced Industrial Automation
  • 33. OMRON CJ1M – new CPUs Fast! Small! Seamless!… • Expands the CJ1 family to the small scale control area (CQM1H) • CJ1M memory map, instructions and I/O with CJ1G/H compatible 6 NEW CPUs: .CJ1M-CPU11 (5Ksteps) • CJ1M-CPU12 (10Ksteps) • CJ1M-CPU13 (20Ksteps) • CJ1M-CPU21 (5Ksteps) • CJ1M-CPU22 (10Ksteps) • CJ1M-CPU23 (20Ksteps) Advanced Industrial Automation
  • 34. OMRON CJ1M - features .CJ1M-CPU11 (5Ksteps) • CJ1M-CPU12 (10Ksteps) • CJ1M-CPU13 (20Ksteps) • CJ1M-CPU11 (5Ksteps) • CJ1M-CPU22 (10Ksteps) • CJ1M-CPU23 (20Ksteps) Advanced Industrial Automation • Peripheral port • RS232C • Memory card interface • Just 31mm wide • 16 I/O on the CPU - 10 inputs - 6 outputs • Interrupt functions 4 points • Build-in positioning functions - pulse output 100kHz, 2 axes - counter function Phase differ. 50kHz, 2 axis Single phase 100kHz, 2 axis 31
  • 35. OMRON CJ1M – Capacity compared to… User Memory Capacity Data Memory Capacity CJ1G/H CJ1M CQM1H CJ1G/H CJ1M CQM1H Advanced Industrial Automation 120 K steps 15 K 256 K words 12 K 20 K 32 K 50% volume reduction
  • 36. OMRON CJ1M – Expansion compared to… Maximum Number of I/O bits Maximum Number of Connectable Units CJ1G/H CJ1M CQM1H Advanced Industrial Automation 40 20 11 CJ1G/H CJ1M CQM1H 2560 512 640 Up to 10 I/O units can be placed on a CJ1M-CPU. A expansion ‘rack’ can be added to the CJ1M-CPU13 & CJ1M-CPU23
  • 37. OMRON CJ1M – Speed compared to… Execution Time (Basic Instruction) 20 ns Execution Time (Special Instructions) CJ1G/H CJ1M CQM1H CJ1G/H CJ1M CQM1H Advanced Industrial Automation 100 ns 375 ns 0.3 μs 17.7 μs 0.04 μs CJ1M is 59 times faster!!!
  • 38. Advanced Industrial Automation OMRON End-Cover CJ1-CPU CJ1-Power Supply CJ1-Power Supply CJ1-I/O Control Unit CJ1-I/O Interface Unit Basic I/O Special I/O CPU-Bus I/O(*) Interrupt units(*) Max 10 Units End-Cover Basic I/O Special I/O CPU-Bus I/O Memory Card I/O Connecting Cable Max 10 Units WARNING (*) Place CPU-Bus Units and I/O-Interrupt units next to CPU (5 left slots) Max 12 m CJ1 PLC – System set-up
  • 39. Advanced Industrial Automation OMRON 3 groups of CJ1-Units Basic I/O Units Special I/O Units CPU Bus Units CIO 0000 to CIO 0079 (8 , 16 , 32 or 64 points) CIO 2000 to CIO 2959 (Refresh area :10 words/unit) D20000 to D29599 (Setup area : 100 words/unit) CIO 1500 to CIO 1899 (Refresh area : 25 words/unit) D30000 to D31599 (Setup area : 100 words/unit) Special I/O unit number (40 Units maximum) CPU Bus unit number (16 Units maximum) CJ1 PLC - Hardware
  • 40. CJ1 - I/O channel assignment Advanced Industrial Automation OMRON IN 16 IN 16 IN 16 OUT 16 OUT 16 IN 16 IN 32 OUT 64 000 001 002 003 004 005 006 007 008 009 010 I/O word 011
  • 41. Advanced Industrial Automation OMRON 000 001 002 003 004 005 006 007 008 009 010 I/O word 011 IN 16 IN 16 IN 16 OUT 16 OUT 16 IN 16 IN 32 OUT 64 Reserved Reserved CJ1 - I/O channel assignment
  • 42. CJ1 - I/O channel assignment Advanced Industrial Automation OMRON 000 001 002 IN 16 IN 16 003 004 005 006 IN 16 IN 16 007 008 009 010 IN 16 IN 16 OUT 16 OUT 16 OUT 16 OUT 16 OUT 16 CIO word
  • 43. Advanced Industrial Automation OMRON Special I/O 000 001 002 00 01 CPU BUS 00 IN 16 OUT 16 OUT 16 OUT 64 IN 64 1500 1524 2000 2009 2010 2019 003 004 005 006 007 008 009 010 Special I/O CJ1 - I/O channel assignment
  • 44. OMRON CX-programmer V3.0 CX-Programmer V3.0 made in Japan • Improvements on 87 points • Designed to operate with MS Windows XP as well as MS Windows 95, 98, ME, NT and 2000. Recommended: MS Windows NT, 2000 or XP • New PLC ranges supported: - CJ1M - CS1H - CS1D (needs CX-P V3.1 for duplex functions) • New Networks supported: - CS1 Bus I/F Board (ITBC-CST01) - 62 node Controller Link Advanced Industrial Automation
  • 45. OMRON Improvements on 87 points Small selection: RS01 Key-function allocation RS03 Open CX-P with default environment RS05 On-line default state: Monitoring RS06 Auto on-line function RS10 Improvement to address formatting: A-AR, H-HR, L-LR, T-TIM, C-CNT, D-DM, E-EM RS11 Enable pasting of Symbol data created using MS-Excel and CX-P V1.2. RS16 Automatically generate an “END” instruction in a new section RS19 Fast connection across empty cells: [Ctrl] + arrow keys RS24 Connection and division of rungs RS35 Jump to corresponding contact / coil RS56 Rung Wrap RS86 Block / Network Manager Advanced Industrial Automation
  • 46. OMRON PLC - Basic Hands-on training Advanced Industrial Automation
  • 47. OMRON Starting a new project in CX-Programmer Advanced Industrial Automation
  • 48. OMRON Opening a new Program Advanced Industrial Automation
  • 49. OMRON Up- and downloading of PLC programs Advanced Industrial Automation
  • 50. 000.00 000.01 100.00 Advanced Industrial Automation OMRON 000.00 000.01 100.00 000.02 000.03 LD 000.00 AND 000.01 OR 000.02 AND 000.03 OUT 100.00 000.02 000.01 Statement List
  • 51. Advanced Industrial Automation OMRON 000.00 100.00 000.02 000.01 000.03 LD 000.00 AND 000.01 OR 000.02 AND 000.03 OUT 100.00 000.00 000.01 100.00 000.02 000.03 000.00 100.00 000.02 000.01 000.03 LD 000.00 AND 000.01 LD 000.02 AND 000.03 OR LD OUT 100.00 Statement List
  • 52. 000.04 000.05 000.06 000.04 000.05 Advanced Industrial Automation OMRON 000.06 000.07 100.01 LD 000.04 OR 000.06 LD 000.05 OR 000.07 AND LD OUT 100.01 000.05 000.07 000.07 100.01 Statement List
  • 53. Advanced Industrial Automation OMRON 000.00 000.01 000.02 000.03 100.02 000.04 000.05 100.03 Statement List
  • 54. Advanced Industrial Automation OMRON 000.00 000.01 000.02 000.03 100.02 000.04 000.05 100.03 * TEMPORAIRY RELAY LD 000.00 AND 000.01 OUT TR 0 AND 000.02 AND 000.03 OUT 100.02 LD TR 0 AND 000.04 AND 000.05 OUT 100.03 Statement List
  • 56. Advanced Industrial Automation OMRON 1. 2. 3. 4. 5. 6. 7. Define the purpose Problem Splitting Working out Design Writing Testing Finishing Program Writing – Seven steps
  • 57. Program Writing – Define the Purpose Advanced Industrial Automation OMRON 1. Products on the inputbelt are transported to PES 0.00. This belt stops if there is another product under work. Otherwise the product is transported to the next belt and stops if PES 0.01 detects the product. The drill is in the upper position and will be started by output 100.02. The drill goes down to limitswitch 0.02. The output 100.02 is set to off and the drill is returning to the upper position. If upperlimitswitch 0.03 detects the drill, the inputbelt, the transportbelt and the outputbelt is started. PES 0.04 detects the product and stops the outputbelt on the backside of the product . After five products the pusher is activated and pushes the products from the belt by output 100.04. If the pusher is in the out position (limitswitch 0.05) the output goes off and the pusher returns. During this period no belt is running except the inputbelt.
  • 58. Program Writing – Problem Splitting Advanced Industrial Automation OMRON 2. In-take transport Drilling station Transport and ejecting the products
  • 59. Advanced Industrial Automation OMRON 2. In-take transport Transport Drilling station Transport Drilling Transport & ejection Transport Ejection of the products Program Writing – More Splitting
  • 60. Program Writing – Defining I/O list Advanced Industrial Automation OMRON 3. Working out (I/O list) 000.00 FInput Sensor on input belt 000.01 FTransp Sensor on transport belt 000.02 CilOut Cylinder out 000.03 CilIn Cylinder in 000.04 FOutput Sensor on output belt 000.05 PusIn Pusher in 000.06 PusOut Pusher out 100.00 Minput Motor input belt 100.01 MTransport Motor transport belt 100.02 ACyl Cylinder 100.03 MOutput Motor output belt 100.04 APus Pusher 099.15 PUW Product under work 099.14 PUWR Product under work ready 099.13 MP Move products 099.12 MPR Move products ready
  • 61. OMRON Adding comments to the PLC program Advanced Industrial Automation
  • 62. OMRON Adding comments to contacts: ‘Symbols’ Advanced Industrial Automation ‘Global symbols’ and ‘Local symbols’
  • 63. OMRON Online Edit Advanced Industrial Automation
  • 64. OMRON An easy way to connect… Advanced Industrial Automation
  • 66. OMRON Functions Ladder symbol Operand Data-area XYZ(99) Advanced Industrial Automation S P1 R Condition 1 Condition 2 Condition 3 S: Source word IR, SR, AR, HR, LR, T/C, DM, # P1: Parameter word IR, AR, HR, LR R: Result word IR, AR, HR, LR, T/C, DM
  • 67. Ladder symbol Operand Data-area Advanced Industrial Automation OMRON P1 = 1 - 9999 Time = 0.1 - 999.9 sec Contact = TIM0 INPUT SV SV TIMER OUTPUT Timer TIM N SV Condition 1 N: TC number # (000-511) SV: Set value (BCD) IR, AR, DM, HR, LR, #
  • 68. Advanced Industrial Automation OMRON SV SV 000.00 100.00 Normal Timer
  • 69. Advanced Industrial Automation OMRON SV1 000.01 100.01 SV1 Delay After Off
  • 70. Advanced Industrial Automation OMRON SV3 000.02 100.02 SV3 SV2 SV2 On/Off Delay
  • 71. Advanced Industrial Automation OMRON SV3 000.03 100.03 SV3 One Shot
  • 72. Ladder symbol Operand Data-area Advanced Industrial Automation OMRON SV = 1 - 9999 Time = 0.01 - 99.99 sec Contact = TIM0 INPUT SV SV TIMER OUTPUT High Speed Timer TIMH(15) N SV Condition 1 N: TC number # (000-511) SV: Set value (BCD) IR, AR, DM, HR, LR, #
  • 73. Ladder symbol Operand Data-area PULSE 5 4 3 2 1 0 0 5 4 3 5 5 4 Advanced Industrial Automation OMRON SV = 1 - 9999 Contact = CNT511 RESET COUNTER OUTPUT Counter CNT N SV Pulse Reset N: Counter number # (000 – 511) SV: Set value (BCD) IR, AR, DM, HR, LR, #
  • 74. DI-COUNTER 0 1 2 3 0 1 1 0 3 Advanced Industrial Automation OMRON SV = 1 - 9999 Contact = CNT511 RESET OUTPUT II+ 2 3 2 0 3 0 1 Reversible Counter CNTR(12) N SV II+ DI-Ladder symbol Operand Data-area N: Counter number # (000 – 511) SV: Set value (BCD) IR, AR, DM, HR, LR, # Reset
  • 75. OMRON Example Program Advanced Industrial Automation
  • 76. Advanced Industrial Automation OMRON Try… Manipulation of numbers and bits ON-LINE edit
  • 77. BIT Advanced Industrial Automation OMRON SET RESET 000.00 000.01 100.00 100.00 000.00 000.01 KEEP(11) 100.00 Keep KEEP(11) B S Ladder symbol Operand Data-area B: Bit R IR, AR, HR, LR
  • 78. OMRON Set en Reset R B: Bit Advanced Industrial Automation SET B S Ladder symbol Operand Data-area B: Bit IR, AR, HR, LR RSET B IR, AR, HR, LR
  • 79. Ladder symbol Operand Data-area Signal B: Bit Advanced Industrial Automation OMRON CYCLUS Signal Flanks DIFU(13) B Signal B: Bit IR, AR, HR, LR DIFD(14) B IR, AR, HR, LR
  • 80. OMRON Interlock Advanced Industrial Automation Ladder symbol Signal IL(02) Signal ILC(03)
  • 81. Interlock Advanced Industrial Automation OMRON PROGRAM WITHOUT INTERLOCK
  • 82. Interlock Advanced Industrial Automation OMRON PROGRAM WITH INTERLOCK
  • 83. Advanced Industrial Automation OMRON 000.00 000.01 DIFU(13) 10.00 ILC(03) IL(02) 000.00 000.01 010.00 ON OFF ON OFF ON OFF A DIFU and DIFD in Interlocks
  • 84. OMRON Example Program Advanced Industrial Automation
  • 86. Advanced Industrial Automation OMRON Output inhibit Battery alarm Always on Always off - 253.14 First scan 1 min pulse 0.02 sec pulse 0.1 sec pulse 0.2 sec pulse 1.0 sec pulse Special Internal Relays
  • 87. OMRON Questions? Thank you for you attention if you have any question… Advanced Industrial Automation
  • 88. OMRON PLC - DATA Hands-on training Advanced Industrial Automation
  • 89. Advanced Industrial Automation OMRON ADRESS FUNCTION NAME 255.03 ER ERROR error bit 255.04 CY CARRY carry bit 255.05 GR GREATER > bit 255.06 EQ EQUAL = bit 255.07 LE LESS < bit System Flags
  • 90. Advanced Industrial Automation OMRON * Logical instructions * Timer instructions * Counter instructions * Basic instructions * Bit control instructions * Data shifting instructions * Data movement instructions * Data compare instructions * Data conversion instructions * Binary calculation * BCD calculation * Logical calculation * Subroutine instructions * Step instructions * Network instructions * Special instructions Instruction groups
  • 91. Advanced Industrial Automation OMRON Ladderdiagram: Statement list: NO contact NC contact Output Inverted output Horizontal and vertical line LD LD NOT AND AND NOT OR OR NOT OUT OUT NOT OR LD AND LD Logical instructions
  • 92. Advanced Industrial Automation OMRON NOP(00) No function END(01) End of program IL(02) Interlock ILC(03) Interlock close Basic Instructions
  • 93. LADDER SYMBOOL OPERAND DATAGEBIEDEN Advanced Industrial Automation OMRON 000.01 100.00 TIM 0 #9999 000.00 JMP(O4) JME(O5) N: Sprongnummer # (00 to 99) N: Sprongnummer # (00 to 99) OUTPUTS FREEZE TIMERS STOP JMP(04) N JME(05) N Jump Instructions
  • 94. Advanced Industrial Automation OMRON V.W.1 JMP(O4) 0 JME(O5) 0 V.W.2 JMP(O4) 0 JME(O5) 0 LABEL 0 Can be used more than one time in the program. USED More programs into 1 PLC Shorten programs. Jump Instructions
  • 95. Advanced Industrial Automation OMRON V.W.2 JMP(O4) 0 V.W.1 JMP(O4) 0 JME(O5) 0 LABEL 0 JMP-JMP-JME combination Jump Instructions
  • 96. Advanced Industrial Automation OMRON V.W.2 JMP(O4) 2 JME(O5) 2 V.W.1 JMP(O4) 1 JME(O5) 1 LABEL 1- 99 Can be used only once in the program. Jump Instructions
  • 97. Advanced Industrial Automation OMRON V.W.1 JMP(O4) 1 JME(O5) 1 LABEL 1- 99 Jump back in the program USED Recursive action Conversion more than one variable MODBUS CRC Check Jump Instructions
  • 98. OMRON Example Program Advanced Industrial Automation
  • 100. OMRON Data monitoring Advanced Industrial Automation
  • 101. Advanced Industrial Automation OMRON Data Shifting Instructions Data Shifting Instructions
  • 102. VERLOREN DATA EXECUTIE Advanced Industrial Automation OMRON SHIFTREGISTER SFT(10) DATA SFT(10) 99 99 Start word IR, AR, DM, HR, LR End word IR, AR, DM, HR, LR C.P. RESET 99.12 100.00 E St+1, St+2, ... St 0 0 0 01 01 01 01 01 01 01 01 01 01 01 01 01 Condition: End word >= Start word Same data area CONDITIE Shift Register
  • 103. OMRON Example Program Advanced Industrial Automation
  • 105. Advanced Industrial Automation OMRON SHIFTREGISTER V.W. 000.00 SFTR(84) SFTR(84) C St E 000.01 000.02 000.03 10.12 10.13 10.14 10.15 L / R DATA CLOCK PULSE RESET C: Control word IR, AR, DM, HR, LR St: Start word IR, AR, DM, HR, LR E: End word IR, AR, DM, HR, LR Example C= IR10 Shift Register
  • 106. Advanced Industrial Automation OMRON SHIFTREGISTER ASL(25) Wd: Word IR, AR, DM, HR, LR 0 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0 Cy V.W. ASL(25) Wd 0 BIT 15 BIT 0 ER, EQ Shift Register
  • 107. Advanced Industrial Automation OMRON SHIFTREGISTER ASR(26) 0 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0 Cy V.W. ASR(26) Wd 0 Wd: Word IR, AR, DM, HR, LR BIT 15 BIT 0 ER, EQ Shift Register
  • 108. Advanced Industrial Automation OMRON SHIFTREGISTER ROL(27) 0 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0 Cy V.W. ROL(27) Wd Wd: Word IR, AR, DM, HR, LR BIT 15 BIT 0 ER, EQ Shift Register
  • 109. Advanced Industrial Automation OMRON SHIFTREGISTER ROR(28) 0 0 0 1 1 0 1 0 1 1 1 1 0 0 0 0 Cy V.W. ROR(28) Wd Wd: Word IR, AR, DM, HR, LR BIT 15 BIT 0 ER, EQ Shift Register
  • 110. Advanced Industrial Automation OMRON SHIFTREGISTER SLD(74) V.W. SLD(74) St St: Start word IR, AR, DM, HR, LR E E: End word IR, AR, DM, HR, LR E St 1 2 2 3 4 3 5 4 5 6 6 7 8 7 8 0 VERLOREN DATA 0 Condition: End word >= Start word Same data area ER Shift Register
  • 111. Advanced Industrial Automation OMRON SHIFTREGISTER SRD(75) V.W. SRD(75) E E: End word IR, AR, DM, HR, LR St St: Start word IR, AR, DM, HR, LR St E 1 0 2 1 2 3 3 4 5 4 6 5 6 7 8 7 VERLOREN DATA 0 Condition: End word >= Start word Same data area ER Shift Register
  • 112. Advanced Industrial Automation OMRON SHIFTREGISTER WSFT(16) V.W. WSFT(16) St St: Start word IR, AR, DM, HR, LR E E: End word IR, AR, DM, HR, LR VERLOREN DATA 1234 0000 1234 1111 2233 1111 1FFF 2233 1FFF 0000 0000 9999 4545 9999 Condition: End word >= Start word Same data area 0000 DM100 DM106 ER Shift Register
  • 113. Advanced Industrial Automation OMRON NOTATIONS 1 2 3 4 4 * 10 0 3 * 10 1 2 * 10 2 1 * 10 3 Decimal 0,1,2,3,4,5,6,7,8,9 Notations
  • 114. Advanced Industrial Automation OMRON NOTATIONS 1 0 1 1 Binary 1 * 2 0 = 1 1 * 2 1 = 2 0 * 2 2 = 0 1 * 2 3 = 8 11 0,1 11 : 2 rest 1 5 : 2 rest 1 2 : 2 rest 0 1 : 2 rest 1 0 1011 Notations
  • 115. Advanced Industrial Automation OMRON NOTATIONS 1 2 A 4 Hexadecimal 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F 4 * 16 0 = 4 10 * 16 1 = 160 2 * 16 2 = 512 1 * 16 3 = 4096 4772 4772 : 16 rest 4 298 : 16 rest 10=A 18 : 16 rest 2 1 : 16 rest 1 0 12A4 Notations
  • 116. Advanced Industrial Automation OMRON NOTATIONS Hexadecimal <-> Binary Hexadecimal 1 2 A 4 Binary 0001 0010 1010 0100 2 0 2 15 Notations
  • 117. Advanced Industrial Automation OMRON NOTATIONS Decimal <-> BCD Decimal 1 2 9 4 BCD 0001 0010 1001 0100 20 23 T 20 23 E 20 23 H 20 23 D Notations
  • 118. Advanced Industrial Automation OMRON NOTATIONS DEC 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 HEX 0 1 2 3 4 5 6 7 8 9 A B C D E F 10 11 12 13 14 BIN BCD 00000 00001 00010 00011 00100 00101 00110 00111 01000 01001 01010 01011 01100 01101 01110 01111 10000 10001 10010 10011 10100 0000 0000 0000 0001 0000 0010 0000 0011 0000 0100 0000 0101 0000 0110 0000 0111 0000 1000 0000 1001 0001 0000 0001 0001 0001 0010 0001 0011 0001 0100 0001 0101 0001 0110 0001 0111 0001 1000 0001 1001 0010 0000 Notations
  • 119. Data Movement Instructions Advanced Industrial Automation OMRON Data Movement Instructions
  • 120. Data Movement Instructions SOURCE WORD Advanced Industrial Automation OMRON MOV(21) V.W. MOV(21) S D S: Source word IR, AR, DM, HR, LR, TC, # D: Destination word IR, AR, DM, HR, LR ER, EQ 1 1 0 1 1 0 1 1 1 0 0 1 1 0 1 1 DESTINATION WORD 1 1 0 1 1 0 1 1 1 0 0 1 1 0 1 1 Status source word will not be changed Data Movement Instructions
  • 121. OMRON Example Program Advanced Industrial Automation
  • 123. Advanced Industrial Automation OMRON Differentiated Instructions 000.01 000.02 000.03 DIFU(13) 010.00 010.00 MOV(21) #0001 DM0000 000.01 000.02 000.03 @MOV(21) #0001 DM0000 Differentiated Instructions
  • 124. Advanced Industrial Automation OMRON Indirect Addressing 000.01 MOV(21) #0010 DM0012 BEFORE DM0010 0013 DM0011 3331 DM0012 1234 DM0013 A000 DM0014 0000 DM0015 FFFF AFTER DM0010 0013 DM0011 3331 DM0012 0010 DM0013 A000 DM0014 0000 DM0015 FFFF Indirect Addressing
  • 125. Advanced Industrial Automation OMRON Indirect Addressing 000.01 MOV(21) #0010 *DM0012 BEFORE DM0010 0013 DM0011 3331 DM0012 1234 DM0013 A000 DM0014 0000 DM1233 A120 DM1234 AD01 DM1235 FFFF AFTER DM0010 0013 DM0011 3331 DM0012 1234 DM0013 A000 DM0014 0000 DM1233 A120 DM1234 0010 DM1235 FFFF Indirect Addressing
  • 126. SOURCE WORD Advanced Industrial Automation OMRON MVN(22) V.W. MVN(22) Br D Br: Source word IR, AR, DM, HR, LR, TC, # D: Destination word IR, AR, DM, HR, LR ER, EQ 1 1 0 1 1 0 1 1 1 0 0 1 1 0 1 1 DESTINATION WORD 0 0 1 0 0 1 0 0 0 1 1 0 0 1 0 0 Status source word will not be changed Data Movement Instructions
  • 127. Advanced Industrial Automation OMRON XFER(70) V.W. XFER(70) N Br D Br: First source word IR, AR, DM, HR, LR, TC D: First destination word IR, AR, DM, HR, LR ER Status source word will not be changed N: Number of words IR, AR, DM, HR, LR, TC, # Br 3331 Br+1 1234 Br+2 A000 Br+3 0000 Br+N-1 A120 D 3331 D+1 1234 D+2 A000 D+3 0000 D+N-1 A120 Data Movement Instructions
  • 128. Advanced Industrial Automation OMRON BSET(71) V.W. BSET(71) Br E St: Start word IR, AR, DM, HR, LR, TC E: End word IR, AR, DM, HR, LR, TC ER St Br: Source word IR, AR, DM, HR, LR, TC, # Br 3331 St 3331 St+1 3331 St+2 3331 St+3 3331 E 3331 Condition: End word >= Start word Same data area Data Movement Instructions
  • 129. Data Movement Instructions Advanced Industrial Automation OMRON XCHG(73) V.W. XCHG(73) V1 V2: To change word 2 IR, AR, DM, HR, LR, TC ER V2 V1: To change word 1 IR, AR, DM, HR, LR, TC V1 1323314 V2 1323314
  • 130. Advanced Industrial Automation OMRON MOVB(82) V.W. MOVB(82) Br D Bi: Bit designation (BCD) IR, AR, DM, HR, LR, TC, # D: Destination word IR, AR, DM, HR, LR ER Bi Br: Source word IR, AR, DM, HR, LR, # SOURCE WORD 1 DESTINATION WORD Bit status source word will not be changed 1 Data Movement Instructions
  • 131. Advanced Industrial Automation OMRON MOVD(83) V.W. MOVD(83) Br D Di: Digit designation (BCD) IR, AR, DM, HR, LR, TC, # D: Destination word IR, AR, DM, HR, LR, TC ER Di Br: Source word IR, AR, DM, HR, LR, TC, # SOURCE WORD 4 2 7 1 DESTINATION DOELWOORD WORD 7 9 1 9 3 3 Digit source word will not be changed Di = #0210 Data Movement Instructions
  • 132. Data Compare Instructions Advanced Industrial Automation OMRON Data Compare Instructions
  • 133. Advanced Industrial Automation OMRON CMP(20) V.W. CMP(20) Cp1 ER Cp2 Cp1: First compare word IR, AR, DM, HR, LR, TC, # Cp2: Second compare word IR, AR, DM, HR, LR, TC, # 255.05 > 100.00 255.06 = 100.01 255.07 < 100.02 Data Compare Instructions
  • 134. OMRON Example Program Advanced Industrial Automation
  • 135. Advanced Industrial Automation OMRON PROGRAM DOWNLOAD
  • 136. Advanced Industrial Automation OMRON CMPL(60) V.W. CMPL(60) Cp1 ER Cp2 Cp1: First compare word IR, AR, DM, HR, LR, TC Cp2: Second compare word IR, AR, DM, HR, LR, TC 255.05 > 100.00 255.06 = 100.01 255.07 < 100.02 Data Compare Instructions
  • 137. Advanced Industrial Automation OMRON BCMP(68) V.W. BCMP(68) VD ER CB VD: Compare data IR, DM, HR, LR, TC, # CB: Startaddress table IR, DM, HR, LR, TC R R: Result word IR, AR, DM, HR, LR VD 1234 Lower limit CB 1000 CB+2 1280 CB+4 1234 CB+6 2000 CB+30 1100 Upper limit CB+1 2000 CB+3 1420 CB+5 1234 CB+7 2400 CB+31 1500 RES 1 0 1 0 1 Bit 0 Bit 15 Data Compare Instructions
  • 138. Advanced Industrial Automation OMRON TCMP(65) V.W. TCMP(65) VD ER CB VD: Compare data IR, DM, HR, LR, TC, # CB: Startaddress table IR, DM, HR, LR, TC R R: Result word IR, AR, DM, HR, LR VD 1234 DATA CB 1000 CB+1 1280 CB+2 1234 CB+3 2000 CB+15 1100 RES 0 0 1 0 0 Bit 0 Bit 15 Data Compare Instructions
  • 139. Data Compare Instructions Advanced Industrial Automation OMRON MCMP(19) Multiple words compare CPS(--) Binary compare with sign CPSL(--) Double binary compare met sign ZCP(--) Zone compare with sign ZCPL(--) Double zone compare with sign
  • 140. Data Conversion Instructions Advanced Industrial Automation OMRON BIN(23) BCD ->Binary BINL(58) Double BCD -> Double Binary BCD(24) Binary -> BCD BCDL(59) Double Binary -> Double BCD ASC(86) HEX -> ASCII HEX(--) ASCII -> HEX
  • 141. BCD Calculation Instructions Advanced Industrial Automation OMRON BCD Calculation Instructions
  • 142. Advanced Industrial Automation OMRON LADDER SYMBOOL STC(40) @STC(40) LADDER SYMBOOL CLC(41) @CLC(41) Bit 255.04 Data Calculation Instructions
  • 143. Data Calculation Instructions Advanced Industrial Automation OMRON V.W. ADD(30) Br1 ER, EQ, CY Br2 Br1: Source word 1 (BCD) IR, AR, DM, HR, LR, TC, # Br2: Source word 2 (BCD) IR, AR, DM, HR, LR, TC, # R R: Result word IR, AR, DM, HR, LR ADD(30) Br1 + Br2 + Cy = R -> Cy CY before exec. - Br1 (Source) - Br2 (Add) - R (Result) - CY after exec. “0” 1234 2345 3579 “0” “1” 1234 2345 3580 “0” “0” 4567 7667 2234 “1” “1” 4567 7667 2235 “1” “0” 9999 0001 0000 “1” “1” 9999 0000 0000 “1” “0” 0000 0000 0000 “0”
  • 144. Example Program EXAMPLE PROGRAM OMRON Advanced Industrial Automation
  • 145. Advanced Industrial Automation OMRON PROGRAM DOWNLOAD
  • 146. Data Calculation Instructions Advanced Industrial Automation OMRON V.W. SUB(31) Br1 ER, EQ, CY Br2 Br1: Source word 1 (BCD) IR, AR, DM, HR, LR, TC, # Br2: Source word 2 (BCD) IR, AR, DM, HR, LR, TC, # R R: Result word IR, AR, DM, HR, LR SUB(31) Br1 - Br2 - Cy = R -> Cy CY before exec. - Br1 (Source) - Br2 (Add) - R (Result) - CY after exec. “0” 1234 2345 8889 “1” “1” 1234 2345 8888 “1” “0” 8567 7667 0900 “0” “1” 8567 7667 0899 “0” “0” 0000 0001 9999 “1” “1” 0001 0000 0000 “0” “0” 0000 0000 0000 “0”
  • 147. Data Calculation Instructions Advanced Industrial Automation OMRON V.W. MUL(32) Vt ER, EQ Vv Vt: Multiply word (BCD) IR, AR, DM, HR, LR, TC, # Vv: Multiplier(BCD) IR, AR, DM, HR, LR, TC, # R R: First result word IR, AR, DM, HR, LR MUL(32) Vt * Vv = R (R+1) Attention: the result gives always two words (eight digits)
  • 148. Data Calculation Instructions Advanced Industrial Automation OMRON V.W. DIV(33) Dd ER, EQ Dr Dd: Divider word (BCD) IR, AR, DM, HR, LR, TC, # Dr: Divider (BCD) IR, AR, DM, HR, LR, TC, # R R: First result word IR, AR, DM, HR, LR DIV(33) Dd : Dr = R rest R+1 Attention: the result gives always two words
  • 149. Data Calculation Instructions Advanced Industrial Automation OMRON INC(38) Increases BCD number with 1 DEC(39) Decreases BCD number with 1 ADDL(54) Double word ADD SUBL(55) Double word SUBTRACT MULL(56) Double word MULTIPLY DIVL(57) Double word DIVIDE
  • 150. Binary Calculation Instructions Advanced Industrial Automation OMRON ADB(50) ADD binary SBB(51) SUBTRACT binary MLB(52) MULTIPLY binary DVB(53) DIVIDE binary ADBL(--) Double word ADD SBBL(--) Double word SUBTRACT MBS(--) Signed MULTIPLY MBSL(--) Double word signed MULTIPLY DBS(--) Signed DIVIDE DBSL(--) Double word signed DIVIDE NEG(--) 2’s complement conversion NEGL(--) 2’s complement conversion (double) CPS(--) 2’s complement compare CPSL(--) 2’s complement compare (double)
  • 151. Logistic Calculation Instructions Advanced Industrial Automation OMRON COM(29) 1’s Complement ANDW(34) Logical AND between two words ORW(35) Logical OR between two words XORW(36) Logical XOR between two words XNRW(37) Logical XNOR between two words
  • 152. Advanced Industrial Automation OMRON SBS(91) / SBN(92) / RET(93) V.W. SBS(91) N ER N: Subroutine number #(00 - 255) SBN(92) N - Program - RET(93) APPLICATION Actions which are executed more than once in the program Subroutine Instructions
  • 153. OMRON Example Program Advanced Industrial Automation
  • 154. Advanced Industrial Automation OMRON PROGRAM DOWNLOAD
  • 155. Advanced Industrial Automation OMRON V.W. STEP(08) / SNXT(09) SNXT(09) B B: Control bit IR, AR, HR, LR 254.07 Step start flag STEP(08) B - Program - Step Instruction
  • 156. Advanced Industrial Automation OMRON Example 0 TR5 1 TR2 2 TR3 3 4 TR4 5 TR6 6 TR7 7 TR8 TR1 Ref 0 Ref 1 Step Instruction
  • 157. Advanced Industrial Automation OMRON STEP(08) / SNXT(09) 099.00 000.01 099.01 000.02 000.03 099.02 099.00 CNT500 099.00 Step Instruction
  • 158. Example Program EXAMPLE PROGRAM OMRON Advanced Industrial Automation
  • 160. Task programming Advanced Industrial Automation OMRON One Ladder Task Task Task Task End • Continuous Ladder program can be split into the functional parts • These parts are called Tasks or Programs • Task programming results in faster and more flexible program development
  • 161. Task 01 Advanced Industrial Automation OMRON End I/O refresh Task 00 Task 02 • List of active tasks is refreshed during I/O refresh • Active cyclic tasks are executed from the lowest task number • Tasks can be activated or deactivated by other tasks • Operation Start assignment can be switched On/Off Cyclic Tasks
  • 162. OMRON Interrupt tasks End Task 00 Task 01 Task 02 Advanced Industrial Automation • Interrupt of cycle task execution can be triggered by – Power fail – Internal timer – External interrupt input – Message received on serial board Interrupt Task End
  • 163. OMRON Task programming • When to use Tasks? – Local symbols results in flexible programming – Parallel program development – Reuse of standard blocks of code – Upgrade of the machine by activating the task – Optimisation of the cycle time Advanced Industrial Automation
  • 164. Cycle time – Standard situation Program Execution Advanced Industrial Automation OMRON Overseeing Processing I/O Refreshing Peripheral Servicing - Check Battery - Read DIP-switches - Check I/O Bus - Check User Program Memory - Check for Memory Card Refresh data for : - Basic I/O Units - SYSMAC BUS Remote I/O - Special I/O Units - CPU Bus Units Events Servicing : - Special I/O unit events - CPU Bus Unit events - Peripheral port and RS-232C port events - File access - Communications port events Cycle Time
  • 165. Cycle time – Parallel Processing Mode Program Execution Advanced Industrial Automation OMRON Overseeing Processing I/O Refreshing Cycle Time for program execution Overseeing Processing Peripheral Servicing Cycle Time for Peripheral Servicing - Faster servicing of events - Time slice for program execution and peripheral servicing can be tuned by the customer - Synchronous or asynchronous I/O-memory access can be set by the user - Data concurrence via special instructions
  • 166. Advanced Industrial Automation OMRON Stop Execute Execute Stop Optimisation of the cycle time
  • 167. OMRON Tasks : summary • Task is a program • Equivalent to a function of your process • Easier programming, debugging and maintenance • Integrate tasks into a project • Up to 32 tasks ! • Up to 256 linked to an event ! • Project will call the tasks needed • Your cycle is optimal • Re-use-able ! Advanced Industrial Automation
  • 168. OMRON Questions? Thank you for you attention if you have any question… Advanced Industrial Automation