![background image](http://html1.mh-extra.com/html/omron/sysmac-c500-nc222-e/sysmac-c500-nc222-e_operation-manual_742438122.webp)
114
Ladder Diagram
DIFU(13) j+5(01)
WRIT(87)
#0002
DM m
n
( = )
j+5(00)
l+4(00)
Start input
Origin
j+5(01)
j+5(03)
l(15)
Command
Ready
j+5(02)
25506
j+5
(03)
j+5
(02)
DIFU(13) j+5(14)
l+14
CMP(20)
#0021
( = )
j+5(07)
25506
j+5
(08)
Positioning
Completed
l+10(08)
DIFU(13) j+5(13)
j+5(08)
Start input
Origin
WRIT(87)
#0004
DM m+20
n
( = )
j+5(13)
j+5(10)
l(15)
Command
Ready
j+5(09)
25506
j+5
(10)
j+5
(09)
l+7
CMP(20)
#0030
( = )
25506
j+5
(11)
DIFU(13) j+5(12)
READ(88)
#0017
n+1
l
j+5(11)
l+4(00)
Start input
Origin
25313
Normally ON
25313
Normally ON
Point C
Origin
Reads
flags
Start command to
point A
DIFU(13) j+5(15)
WRIT(87)
#0002
DM m+16
n
( = )
j+5(04)
Start input
Origin
j+5(15)
j+5(06)
l(15)
Command
Ready
j+5(05)
25506
j+5
(06)
j+5
(05)
l+7
CMP(20)
#0010
( = )
25506
j+5
(04)
Positioning
Completed
l+3(08)
l+14
CMP(20)
#0020
( = )
25506
j+5
(07)
25313
Normally ON
Point A
Point B
Start command to
point C
Basic Program Examples
Section 8-3