omron plc programming_hands-on training
TRANSCRIPT
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 1/71
Advanced Industrial Automation
OMRONWelcome
p l c h a
n d s - o n t r a i n i ng
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 2/71
Advanced Industrial Automation
OMRON
Industrial Components Automation & Drives Sensing & Safety
•
Electromechanical relays• Timers and counters• Programmable relays• evel controllers• imit s!itches• Push buttons• o! voltage s!itch gear•
Temperature and processcontrollers
• Solid"state relays• Panel indicators• Po!er supplies
•
Program# ogic Controller• $et!or% systems• 'I terminals• Inverters• Servo systems• Soft!are
•
Photoelectric sensors• Displacement sensors• (ision systems• Safety sensors• Safety s!itches• Safety relays• Pro)imity sensors•
*otary encoders• Pressure sensors
+'*+$ component subdivision
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 3/71
Advanced Industrial Automation
OMRON
Contents of the training, • Soft!are
C-"programmer (.#/
• PC"0asic ands"+n Training
1
• 0uilding up an Pro2ect
• PC"Advanced ands"on Training
1
Contents of the training
Automation & Drives
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 4/71
Advanced Industrial Automation
OMRONC-"programmer (.#/
C-"Programmer (.#/ made in 3apan
• Improvements on 45 points•Designed to operate !ith 'S Windo!s -P as !ell as 'S Windo!s 678 648
'E8 $T and 9///#
*ecommended, 'S Windo!s $T8 9/// or -P•$e! PC ranges supported,
" C3:'" CS:
" CS:D ;needs C-"P (.#:
for duple) functions<•$e! $et!or%s supported,
" CS: 0us I=> 0oard ;IT0C"CST/:<
" ?9 node Controller in%
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 5/71
Advanced Industrial Automation
OMRONStarting a ne! pro2ect in C-"Programmer
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 6/71
Advanced Industrial Automation
OMRON+pening a ne! Program
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 7/71Advanced Industrial Automation
OMRON@p" and do!nloading of PC programs
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 8/71Advanced Industrial Automation
OMRON
100.00000.00 000.01
000.02
000.03
LD 000.00 AND 000.01
OR 000.02
AND 000.03OUT 100.00
100.00000.00 000.01
000.02
000.01
Statement ist
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 9/71Advanced Industrial Automation
OMRON
100.00000.00
000.02
000.01
000.03
LD 000.00 AND 000.01
OR 000.02 AND 000.03OUT 100.00
100.00000.00 000.01
000.02
000.03
100.00000.00
000.02
000.01
000.03
LD 000.00
AND 000.01LD 000.02
AND 000.03OR LDOUT 100.00
Statement ist
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 10/71
Advanced Industrial Automation
OMRON
000.06
000.04 000.05
000.07
100.01
LD 000.04OR 000.06LD 000.05
OR 000.07 AND LDOUT 100.01
000.05
000.07
000.06
000.04 000.05
000.07
100.01
Statement ist
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 11/71
Advanced Industrial Automation
OMRON
100.02000.00 000.02000.01 000.03
000.04 000.05 100.03
Statement ist
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 12/71
Advanced Industrial Automation
OMRON
100.02000.00 000.02000.01 000.03
000.04 000.05 100.03
TEMPORAIRY RELAY
LD 000.00 AND 000.01OUT TR 0 AND 000.02 AND 000.03OUT 100.02LD TR 0 AND 000.04 AND 000.05OUT 100.03
*
Statement ist
O O
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 13/71
Advanced Industrial Automation
OMRON
:#
9#
.#
#
7#
?#
5#
Define the purpose
Problem Splitting
Wor%ing out
Design
Writing
Testing
>inishing
Program Writing B Seven steps
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 14/71
Advanced Industrial Automation
OMRON
1.
Products o t!" #$ut%"&t 'r" tr's$ort"d to PE( 0.00. T!#s %"&t sto$s #) t!"r" #s 'ot!"r $roduct
ud"r or+. Ot!"r#s" t!" $roduct #s tr's$ort"d to t!" ",t %"&t 'd sto$s #) PE( 0.01 d"t"cts
t!" $roduct. T!" dr#&& #s # t!" u$$"r $os#t#o 'd #&& %" st'rt"d %- out$ut 100.02.
T!" dr#&& o"s do to &#/#ts#tc! 0.02. T!" out$ut 100.02 #s s"t to o)) 'd t!" dr#&& #s r"tur#
to t!" u$$"r $os#t#o. I) u$$"r&#/#ts#tc! 0.03 d"t"cts t!" dr#&& t!" #$ut%"&t t!" tr's$ort%"&t 'd
t!" out$ut%"&t #s st'rt"d. PE( 0.04 d"t"cts t!" $roduct 'd sto$s t!" out$ut%"&t o t!" %'c+s#d"
o) t!" $roduct . A)t"r )#" $roducts t!" $us!"r #s 'ct#'t"d 'd $us!"s t!" $roducts )ro/ t!" %"&t
%- out$ut 100.04. I) t!" $us!"r #s # t!" out $os#t#o &#/#ts#tc! 0.05 t!" out$ut o"s o)) 'd
t!" $us!"r r"turs. Dur# t!#s $"r#od o %"&t #s ru# ",c"$t t!" #$ut%"&t.
Program Writing B Define the Purpose
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 15/71
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 16/71
Advanced Industrial Automation
OMRON
2.
In-take transport Tr's$ort
Drilling station Tr's$ort
Dr#&&#
Transport & ejection Tr's$ort
E"ct#o o) t!"$roducts
Program Writing B 'ore Splitting
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 17/71
Advanced Industrial Automation
OMRON
3. or+# out IO &#st
000.00 FInput Sensor on input belt000.01 FTransp Sensor on transport belt
000.02 Cilut C!linder out
000.0" CilIn C!linder in
000.0# Futput Sensor on output belt
000.0$ %usIn %usher in
000.0 %usut %usher out
100.00 'input 'otor input belt
100.01 'Transport 'otor transport belt
100.02 (C!l C!linder
100.0" 'utput 'otor output belt
100.0# (%us %usher
0)).1$ %*+ %roduct under ,ork
0)).1# %*+ %roduct under ,ork read!
0)).1" '% 'oe products
0)).12 '% 'oe products read!
Program Writing B Defining I=+ list
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 18/71
Advanced Industrial Automation
OMRONAdding comments to the PC program
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 19/71
Advanced Industrial Automation
OMRONAdding comments to contacts, Symbols
lobal symbols
and
ocal symbols
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 20/71
Advanced Industrial Automation
OMRON+nline Edit
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 21/71
Advanced Industrial Automation
OMRONAn easy !ay to connect1
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 22/71
Advanced Industrial Automation
OMRON>unctions
-FG;66<
S
P:
*
Condition :
Condition 9
Condition .
adder symbol +perand Data"area
S, Source !ord
I*8 S*8 A*8 *8 *8 T=C8 D'8 H
P:, Parameter !ord
I*8 A*8 *8 *
*, *esult !ord
I*8 A*8 *8 *8 T=C8 D'
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 23/71
Advanced Industrial Automation
OMRON
P1 1 8 9999
T#/" 0.1 8 999.9 s"c
:ot'ct TIM0
(; (;
INPUT
TIMER OUTPUT
Timer
TI'
$
S(
Condition :
adder symbol +perand Data"area
$, TC number
H ;///"7::<
S(, Set value ;0CD<
I*8 A*8 D'8 *8 *8 H
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 24/71
Advanced Industrial Automation
OMRON
(; (;
000.00
100.00
$ormal Timer
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 25/71
Advanced Industrial Automation
OMRON
(;1
000.01
100.01
(;1
Delay After +ff
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 26/71
Advanced Industrial Automation
OMRON
(;3
000.02
100.02
(;3
(;2 (;2
+n=+ff Delay
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 27/71
Advanced Industrial Automation
OMRON
(;3
000.03
100.03
(;3
+ne Shot
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 28/71
Advanced Industrial Automation
OMRON
(; 1 8 9999
T#/" 0.01 8 99.99 s"c
:ot'ct TIM0
(; (;
INPUT
TIMER OUTPUT
igh Speed Timer
TI';:7<
$
S(
Condition :
adder symbol +perand Data"area
$, TC number
H ;///"7::<
S(, Set value ;0CD<
I*8 A*8 D'8 *8 *8 H
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 29/71
Advanced Industrial Automation
OMRON
(; 1 8 9999
:ot'ct :NT511
RE(ET
PUL(E
:OUNTER OUTPUT
5 4 3 2 1 0 0 5 4 3 5 5 4
Counter
C$T
$
S(
Pulse
*eset
adder symbol +perand Data"area
$, Counter number
H ;/// B 7::<
S(, Set value ;0CD<
I*8 A*8 D'8 *8 *8 H
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 30/71
Advanced Industrial Automation
OMRON
(; 1 8 9999
:ot'ct :NT511
RE(ET
DI8
:OUNTER OUTPUT
0 1 2 3 0 1 1 0 3
II<
2 3 2 0 3 0 1
*eversible Counter
C$T*;:9<
$
S(
II
DI"
adder symbol +perand Data"area
$, Counter number
H ;/// B 7::<
S(, Set value ;0CD<
I*8 A*8 D'8 *8 *8 H
*eset
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 31/71
Advanced Industrial Automation
OMRONE)ample Program
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 32/71
Advanced Industrial Automation
OMRON
(ET
RE(ET
=IT
100.00000.00 000.01
100.00
000.00
000.01
>EEP11
100.00
Jeep
JEEP;::<
0
S
adder symbol +perand Data"area
0, 0it
I*8 A*8 *8 **
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 33/71
Advanced Industrial Automation
OMRONSet and *eset
SET
0
S
adder symbol +perand Data"area
0, 0it
I*8 A*8 *8 *
*SET
0
* 0, 0it
I*8 A*8 *8 *
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 34/71
Advanced Industrial Automation
OMRON
:Y:LU(
Signal >lan%s
DI>@;:.<
0
Signal
adder symbol +perand Data"area
0, 0it
I*8 A*8 *8 *
DI>D;:<
0
Signal 0, 0it
I*8 A*8 *8 *
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 35/71
Advanced Industrial Automation
OMRONInterloc%
I;/9<Signal
adder symbol
IC;/.<Signal
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 36/71
Advanced Industrial Automation
OMRON
PRO?RAM
IT@OUTINTERLO:>
Interloc%
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 37/71
Advanced Industrial Automation
OMRON
PRO?RAM
IT@INTERLO:>
Interloc%
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 38/71
Advanced Industrial Automation
OMRON
000.00
000.01
DIU13
10.00
IL:03
IL02
DI>@ and DI>D in Interloc%s
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 39/71
Advanced Industrial Automation
OMRONE)ample Program
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 40/71
Advanced Industrial Automation
OMRON
1 /# $u&s"
0.02 s"c $u&s"
0.1 s"c $u&s"
0.2 s"c $u&s"
1.0 s"c $u&s"
Out$ut #!#%#t
='tt"r- '&'r/
A&'-s o
#rst sc'
Always off - 253.14
Special Internal *elays
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 41/71
Advanced Industrial Automation
OMRON
ADRE(( UN:TION NAME
255.03 ER ERROR "rror %#t
255.04 :Y :ARRY c'rr- %#t255.05 ?R ?REATER B %#t
255.06 EC ECUAL %#t
255.07 LE LE(( %#t
System >lags
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 42/71
Advanced Industrial Automation
OMRON
* Lo#c'& #struct#os
* T#/"r #struct#os* :out"r #struct#os
* ='s#c #struct#os
* =#t cotro& #struct#os
* D't' s!#)t# #struct#os
* D't' /o"/"t #struct#os* D't' co/$'r" #struct#os
* D't' co"rs#o #struct#os
* =#'r- c'&cu&'t#o
* =:D c'&cu&'t#o
* Lo#c'& c'&cu&'t#o
* (u%rout#" #struct#os
* (t"$ #struct#os
* N"tor+ #struct#os
* ($"c#'& #struct#os
Instruction groups
OMRON
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 43/71
Advanced Industrial Automation
OMRON
L'dd"rd#'r'/
(t't"/"t &#st
NO cot'ctN: cot'ct
Out$ut
I"rt"d out$ut
@or#Fot'& 'd "rt#c'& &#"
LD
LD NOT
AND
AND NOT
OR
OR NOTOUT
OUT NOT
OR LD
AND LD
ogical instructions
OMRONi i
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 44/71
Advanced Industrial Automation
OMRON
NOP00 No )uct#o
END01 Ed o) $ror'/
IL02 It"r&oc+
IL:03 It"r&oc+ c&os"
0asic Instructions
OMRON3 I i
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 45/71
Advanced Industrial Automation
OMRON
100.00000.01
TIM
0
G9999
000.00
HMPO4
HMEO5
*T%*TS F///
TI'/S ST%
3ump Instructions
OMRON3 I t ti
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 46/71
Advanced Industrial Automation
OMRON
;..1
HMPO4
0
HMEO5
0
;..2
HMPO4
0
HMEO5
0
(/ 0
Can be used 3ore than
one ti3e in the progra3.
*S/D
'ore progra3s into 1 %C
Shorten progra3s.
3ump Instructions
OMRON3 I t ti
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 47/71
Advanced Industrial Automation
OMRON
;..2
HMPO4
0
;..1
HMPO4
0
HMEO5
0
(/ 0
4'%-4'%-4'/ co3bination
3ump Instructions
OMRON3 I t ti
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 48/71
Advanced Industrial Automation
OMRON
;..2
HMPO4
2
HMEO5
2
;..1
HMPO4
1
HMEO5
1
(/ 1- ))
Can be used onl!
once in the progra3.
3ump Instructions
OMRON3 I t ti
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 49/71
Advanced Industrial Automation
OMRON
;..1HMPO4
1
HMEO5
1
(/ 1- ))
4u3p back in
the progra3
*S/D
ecursie actionConersion 3ore than one ariable
'D*S CC Check
3ump Instructions
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 50/71
OMRONData monitoring
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 51/71
Advanced Industrial Automation
OMRONData monitoring
OMRONData Shifting Instructions
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 52/71
Advanced Industrial Automation
OMRON
D't' (!#)t# Istruct#os
Data Shifting Instructions
OMRON$otations
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 53/71
Advanced Industrial Automation
OMRON
NOTATION(
1 2 3 4
4 * 10 0
3 * 10 1
2 * 10 2
1 * 10 3
Deci3al
051525"5#5$556575)
$otations
OMRON$otations
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 54/71
Advanced Industrial Automation
OMRON
NOTATION(
1 0 1 1
1 * 2 0 1
1 * 2 1 2
0 * 2 2 0
1 * 2 3
11
inar!
051
11
8 2 r"st 1
5
8 2 r"st 1
2
8 2 r"st 0
1
8 2 r"st 1
0 1011
$otations
OMRON$otations
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 55/71
Advanced Industrial Automation
OMRON
NOTATION(
1 2 A 4
4 * 16 0 4
10 * 16 1 160
2 * 16 2 512
1 * 16 3 4096
4772
9e:adeci3al
051525"5#5$556575)5(55C5D5/5F
4772
8 1 r"st #
29
8 1 r"st 10;(
1
8 1 r"st 2
1
8 1 r"st 1
0 12(#
$otations
OMRON$otations
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 56/71
Advanced Industrial Automation
OMRON
NOTATION(
1 2 A 49e:adeci3al
9e:adeci3al <-= inar!
0001 0010 1010 0100inar!
2 02 15
$otations
OMRON$otations
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 57/71
Advanced Industrial Automation
OMRON
NOTATION(
1 2 9 4Deci3al
Deci3al <-= CD
0001 0010 1001 0100CD
2023
T
2023
E
2023
@
2023
D
$otations
OMRON$otations
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 58/71
Advanced Industrial Automation
OMRON
NOTATION(
01
2
3
4
5
6
7
9
10
11
12
13
14
1516
17
1
19
20
D/C
01
2
3
4
5
6
7
9
A
=
:
D
E
10
11
12
13
14
9/>
0000000001
00010
00011
00100
00101
00110
0011101000
01001
01010
01011
01100
01101
01110
0111110000
10001
10010
10011
10100
I? CD
0000 00000000 0001
0000 0010
0000 0011
0000 0100
0000 0101
0000 0110
0000 01110000 1000
0000 1001
0001 0000
0001 0001
0001 0010
0001 0011
0001 0100
0001 01010001 0110
0001 0111
0001 1000
0001 1001
0010 0000
$otations
OMRONData 'ovement Instructions
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 59/71
Advanced Industrial Automation
OMRON
D't' Mo"/"t Istruct#os
Data 'ovement Instructions
OMRONData Compare Instructions
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 60/71
Advanced Industrial Automation
OMRON
D't' :o/$'r" Istruct#os
Data Compare Instructions
OMRON
Data Compare Instructions
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 61/71
Advanced Industrial Automation
O O
:MP20;..
:MP20
:$1
/
:$2
:$2 ("cod co/$'r" ord
IR AR DM @R LR T: G
:$1 #rst co/$'r" ord
IR AR DM @R LR T: G
100.00255.05 B
100.01255.06
100.02255.07
Data Compare Instructions
OMRONE)ample Program
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 62/71
Advanced Industrial Automation
E)ample Program
OMRON
Tas% programming
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 63/71
Advanced Industrial Automation
One Ladder
TaskTaskTask
T's+
End
• Continuous adder progra3 can be split into the
@unctional parts
• These parts are called Tasks or %rogra3s
• Task progra33ing results in @aster and 3ore
@le:ible progra3 deelop3ent
Tas% programming
OMRONCyclic Tas%s
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 64/71
Advanced Industrial Automation
/nd
IA re@resh
Task 00
Task 02
Task 01
• ist of active tas%s is
refreshed during I=+ refresh
• Active cyclic tas%s are
e)ecuted from the lo!est
tas% number
• Tas%s can be activated or
deactivated by other tas%s
• +peration Start assignment
can be s!itched +n=+ff
Cyclic Tas%s
OMRONInterrupt tas%s
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 65/71
Advanced Industrial Automation
te upt tas s
/nd
Task 00
Task 02
Task 01
/nd
Interrupt Task
•
Interrupt of cycle tas% e)ecution can betriggered by
– Po!er fail
– Internal timer
– E)ternal interrupt input
– 'essage received on serial board
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 66/71
OMRONCycle time B Standard situation
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 67/71
Advanced Industrial Automation
O"rs""#
Proc"ss#
IO
R")r"s!#
P"r#$!"r'& ("r#c#
Pror'/
E,"cut#o
8 :!"c+ ='tt"r-
8 R"'d DIP8s#tc!"s
8 :!"c+ IO =us8 :!"c+ Us"r Pror'/ M"/or-
8 :!"c+ )or M"/or- :'rd
R")r"s! d't' )or
8 ='s#c IO U#ts
8 (Y(MA: =U( R"/ot" IO
8 ($"c#'& IO U#ts
8 :PU =us U#ts
E"ts ("r#c# 8 ($"c#'& IO u#t ""ts
8 :PU =us U#t ""ts
8 P"r#$!"r'& $ort 'd R(8232: $ort ""ts
8 #&" 'cc"ss
8 :o//u#c't#os $ort ""ts
: - c & " T # / "
y
OMRONCycle time B Parallel Processing 'ode
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 68/71
Advanced Industrial Automation
O"rs""#
Proc"ss#
IO
R")r"s!#
Pror'/
E,"cut#o
C ! c l e T i 3 e
@ o r p r o g r a 3 e
: e c u t i o n
O"rs""#
Proc"ss#
P"r#$!"r'&
("r#c#
C ! c
l e T i 3 e @ o r
% e r i p h e r a l S e r . i c i n g
- Faster sericing o@ eents
- Ti3e slice @or progra3 e:ecution and peripheral
sericing can be tuned b! the custo3er
- S!nchronous or as!nchronous IA-3e3or! access
can be set b! the user - Data concurrence ia special instructions
y g
OMRON+ptimisation of the cycle time
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 69/71
Advanced Industrial Automation
Stop
/:ecute
/:ecute
Stop
p y
OMRONTas%s , summary
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 70/71
Advanced Industrial Automation
y
• Tas% is a program
• Equivalent to a function of your process
• Easier programming, debugging and maintenance
• Integrate tas%s into a pro2ect
• Up to 32 tasks !
• Up to 256 linked to an event !• Pro2ect !ill call the tas%s needed
• Your cycle is optimal
• *e"use"able L
OMRONMuestionsK
8/16/2019 OMRON PLC Programming_Hands-On Training
http://slidepdf.com/reader/full/omron-plc-programminghands-on-training 71/71
Thank you
for you
attention
if you have any question… ?