Yaskawa MP920 User's Manual Design User Manual
Page 183
4.4 Position Control Using Motion Commands
4-69
4
2. Ladder Logic Program Example
Fig. 4.20 Zero Point Return Programming Example (DWG H03)
* With SVB-01 Module, set the zero point return final travel distance using
the SERVOPACK parameter.
The example in the above illustration has been greatly simplified. In actual operation, each
register can be controlled from the user program.
Set the position control mode to ON.
Rapid traverse speed
(5,000,000 pulses/min.)
Approach speed
(2,000,000 pulses/min.)
Creep speed
(5,000,000 pulses/min.)
Zero point return final travel distance *
(100 pulses)
Servo ON command
IB00002: Limit switch signal
Zero point return switch
When IB00002 turns ON, the rising
edge is detected and the zero point
return command will be executed.
When the zero point return operation
has been completed, the zero point
return completed status turns ON.
After the zero point return operation
has been completed, set NOP to clear
the command.
00003
IB00000
S-ON
OBC0010
IB00001
DB000001
DEND
H0104
RUNMOD
OWC000
05000
RV
OLC023
02000
Napr
OWC00A
00500
Nclp
OWC00B
IB00002
LSDEC
OBC001F
OWC020
IWC014=00003
DB000000
DB000000
IBC0156
DB000002
00000
OWC020
00100
ZRNDIST
OLC02A