Omron CS1W-MC221 - 02-2008 Operation Manual page 483

Motion control units
Table of Contents

Advertisement

Programming Examples
Programming Example
Explanation
456
was stopped will be used for positioning rather than the original target posi-
tion.
General input 2
Axis operation
Origin return
Positioning
N000
P010
X
N001
G11
N002
G74
17
N003
G01
X1000
N004
G63
A500=X
N005
G01
X0
N006
G01
XA500
N007
G70
N005
N008
G79
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.
Moves the X axis to the position
indicated in address A500.
F100
Section 8-1
Transfers the pres-
ent value (X) when
stopped to address
A500.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1w-mc221Cs1w-mc221-v1Cs1w-mc421Cs1w-mc421-v1

Table of Contents