![background image](http://html1.mh-extra.com/html/omron/sysmac-c500-nc222-e/sysmac-c500-nc222-e_operation-manual_742438123.webp)
115
8-4
Application Program Examples
8-4-1 Digital Switch Positioning
With this program, you set X-axis coordinates, Y-axis coordinates, and
speeds with digital switches. Positioning occurs at the set positions when the
start switch is turned on. At the positioning point, the motors stop and the M
code 55 is output. After stopping for 2 seconds, the axes automatically return
to the origin.
Y axis (pulse)
0 (origin)
X axis (pulse)
X
Y
Origin
Time (s)
Origin
Positioning point
Speed (pps)
X, Y axes
(interpolation)
AR Area Allocations
n
n+1
n+2
n+3
n+4
n+5
n+6
n+7
n+8
n+9
(OUT)
(IN)
(IN)
(IN)
(IN)
(IN)
(IN)
(IN)
(OUT)
(IN)
PCU
X-axis
digital switch
Y-axis
digital switch
Speed
digital switch
M code
output
Start
input
Left-
most
digits
Right-
most
digits
Left-
most
digits
Right-
most
digits
Left-
most
digits
Right-
most
digits
Data Written to DM Area
Word (j+10) is part of the AR area.
Word l
Word l+1
:
Word l+16
Application Program Examples
Section 8-4
Содержание SYSMAC C500-NC222-E
Страница 1: ...OPERATION MANUAL Two axis Position Control Unit NC221 Mode SYSMAC C500 NC222 E Cat No W138 E1 03...
Страница 2: ...C500 NC222 E Two axis Position Control Unit NC221 Mode Operation Manual Revised June 2003...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 163: ...Cat No W138 E1 03 Note Specifications subject to change without notice Printed in Japan Authorized Distributor...
Страница 164: ...Cat No W138 E1 03 SYSMAC C500 NC222 E Two axis Position Control Unit NC221 Mode OPERATION MANUAL...