![background image](http://html1.mh-extra.com/html/omron/c200h-mc221/c200h-mc221_operation-manual_742324219.webp)
199
SECTION 9
Sample Programs
This section provides sample motion control programs written in G language. Refer to
9-10 Executing MC Programs from the
Ladder Program
for details on executing these programs from the PC’s ladder program.
9-1
Positioning with PTP Control
200
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-2
Positioning with Linear Interpolation
201
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-3
Positioning with Linear and Circular Interpolation
202
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-4
Indirect Addressing with Registers
203
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-5
Using the Workpiece Origin Offset
204
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-6
Changing the Interpolation Acceleration Time
205
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-7
Calculating Position Data
206
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-8
Stopping a Program with a General Input
208
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-9
Stopping the Program and Substituting Position Data
209
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9-10 Executing MC Programs from the Ladder Program
210
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Summary of Contents for C200H-MC221 -
Page 1: ...Cat No W315 E1 03 Motion Control Unit C200H MC221 OPERATION MANUAL ...
Page 2: ......
Page 3: ...C200H MC221 Motion Control Unit Operation Manual Details Revised June 2010 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 12: ......
Page 16: ...xvi ...
Page 42: ......
Page 48: ......
Page 196: ......
Page 212: ......
Page 242: ......
Page 258: ......
Page 304: ......