456
Programming Examples
Section 8-1
was stopped will be used for positioning rather than the original target posi-
tion.
Programming Example
N000
P010
X
N001
G11
N002
G74
17
N003
G01
X1000
F100
N004
G63
A500=X
N005
G01
X0
N006
G01
XA500
N007
G70
N005
N008
G79
Explanation
N001
Specifies Stop Mode.
N002
Execution of the next block is stopped when general input 2 turns ON.
N003
Moves the X axis with a maximum target position of X1000. The positioning
operation will be decelerated to a stop if general input 2 turns ON before posi-
tioning is completed.
N004
The stopping position is stored in address A500.
N005
Returns to the origin.
N006
Positions the X axis using the position data stored in address A500 in block
N004.
N007
Jumps to N005 and repeats the positioning operation.
General input 2
Axis operation
Origin return
Positioning
Moves the X axis to the position
indicated in address A500.
Transfers the pres-
ent value (X) when
stopped to address
A500.
Summary of Contents for CS1W-MC221 -
Page 1: ...Motion Control Units Cat No W359 E1 04 CS1W MC221 V1 421 V1 OPERATION MANUAL ...
Page 2: ...CS1W MC221 V1 421 V1 Motion Control Units Operation Manual Revised February 2008 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 11: ...xii ...
Page 15: ...xvi ...
Page 19: ...xx ...
Page 27: ...xxviii Conformance to EC Directives 6 ...
Page 133: ...106 Installation Section 2 2 2 2 4 Dimensions CS1W MC421 CS1W MC221 ...
Page 173: ...146 Connecting Peripheral Devices Section 2 7 ...
Page 227: ...200 Command Area Section 3 6 ...
Page 351: ...324 Interface Specifics Section 5 4 ...
Page 513: ...486 Absolute Encoder Interface Specifications Section 9 7 ...
Page 575: ...548 Error Log Section 12 6 ...
Page 589: ...562 Performance Appendix A ...
Page 655: ...628 Control Bit Flag Timing Charts Appendix E ...
Page 683: ...656 Origin Search Patterns Appendix F ...
Page 685: ...658 Encoder Divider Rate and Rotation Speed for OMRON Servo Drivers Appendix G ...