Omron C200H-MC221 Operation Manual page 100

Hide thumbs Also See for C200H-MC221:
Table of Contents

Advertisement

Creating MC Programs
1, 2, 3...
Program display area
MC Program
Program Contents
86
1. Select "P:Edit MC Programs" from the Main Menu. The MC Program Edit
screen will be displayed.
Program name
END
Program input area
Cursor for program input area
2. Check to make sure that the line input mode is "line insert," and that the input
mode is "insert."
If the line input mode is "line overwrite," press the F4 (Insert) Key. If the input
mode is "overwrite," press the Insert Key.
3. Input the program, pressing the Return Key at the end of each line.
The program to be created is shown below.
N000
P001 XY
*001
SAMPLE PROGRAM
N002
G04 5
N003
G26 XY
N004
G11
N005
G01 X400 Y300 F30
N006
G01 X100 Y200 F10
N007
G01 X200 Y400 F30
N008
G026 XY
N009
G79
N000
States that the program number is "P001," and that the X and Y axes are
to be used.
*001
This is a comment.
N002
Waits five seconds.
N003
Returns the X and Y axes to their reference origins.
N004
Selects the stop mode for positioning.
N005
Moves to X400 Y300 at speed 30.
N006
Moves to X100 Y200 at speed 10.
N007
Moves to X200 Y400 at speed 30.
N008
Returns the X and Y axes to their reference origins.
N009
Ends the program.
Section 8-12
Menu name
MC Program Edit
Ln InsMode
Line input mode
Input mode
Ins Mode

Advertisement

Table of Contents
loading

Table of Contents