Omron SYSMAC C500-NC222-E Operation Manual page 122

Two-axis position control unit (nc221 mode)
Table of Contents

Advertisement

Basic Program Examples
Ladder Diagram
j+5(00)
l+4(00)
Start input
Origin
j+5(01)
j+5(03)
j+5(02)
Command
Ready
l+3(08)
Positioning
Completed
j+5(04)
Start input
Origin
j+5(15)
j+5(06)
j+5(05)
Command
Ready
25313
Normally ON
114
DIFU(13) j+5(01)
l(15)
WRIT(87)
#0002
Start command to
point A
DM m
n
j+5
(02)
25506
j+5
(03)
( = )
CMP(20)
l+7
Point A
#0010
25506
j+5
(04)
( = )
DIFU(13) j+5(15)
l(15)
Start command to
WRIT(87)
point C
#0002
DM m+16
n
j+5
(05)
25506
j+5
(06)
( = )
CMP(20)
l+14
Point B
#0020
25506
j+5
(07)
( = )
j+5(07)
l+10(08)
Positioning
Completed
25506
j+5(08)
( = )
Start input
Origin
j+5(13)
j+5(10)
l(15)
j+5(09)
Command
Ready
25506
25313
( = )
Normally ON
25506
( = )
j+5(11)
l+4(00)
Start input
Origin
25313
Normally ON
Section 8-3
DIFU(13) j+5(14)
CMP(20)
l+14
Point C
#0021
j+5
(08)
DIFU(13) j+5(13)
WRIT(87)
#0004
DM m+20
n
j+5
(09)
j+5
(10)
CMP(20)
l+7
Origin
#0030
j+5
(11)
DIFU(13) j+5(12)
READ(88)
#0017
Reads
flags
n+1
l

Advertisement

Table of Contents
loading

Table of Contents