YASKAWA MP210 Series User Manual page 149

Machine controller
Table of Contents

Advertisement

(d) H02.01 Drawing
The H02.01 grandchild drawing controls JOG and STEP operation for axis 1.
P00107 H02.01
Main Program: Axis 1 Manual operation (JOG and STEP)
##########JOG##########
Axis 1 JOG
Axis 1 forward jog
Axis 1 reverse jog
DB000010
0000
0000
NL-1
Axis 1 forward jog
Axis 1 reverse jog
DB000010
Axis 1 jog command
DB000000
DB000050
0001
0006
NL-1
Axis 1 jog command
WORK
DB000000
DB000051
0002
0010
NL-1
Axis 1 jog start
Axis 1 speed command setting
DB000001
0003
0013
Source 0000001000
NL-1
Dest OL8010
Axis 1 jog start
Axis 1 motion command
DB000001
0004
0015
Source 00007
NL-1
Dest OW8008
Axis 1 jog stop
Axis 1 motion command
DB000002
0005
0017
Source 00000
NL-1
Dest OW8008
##########STEP##########
Axis 1 STEP
Axis 1 forward step
Axis 1 reverse step
DB000012
0006
0019
NL-1
Axis 1 forward step
Axis 1 reverse step
DB000012
Axis 1 step command
DB000008
DB000058
0007
0025
NL-1
Axis 1 step command
WORK
DB000008
DB000059
0008
0029
NL-1
Axis 1 step start
Axis 1 step speed and moving amount
DB00009
0009
0032
OL8010=1000;
NL-1
OL8044=DL00010;
Axis 1 step start
Axis 1 motion command
DB000009
0010
0034
Source 00008
NL-1
Dest OW8008
##########Axis 1 Manual operation (JOG and STEP)##########
Axis 1 SV_ON
DB000011
IB80001
DB000011
WORK
Axis 1 motion command 0
MB300010
STORE
STORE
STORE
Axis 1 SV_ON
DB000013
IB80001
DB000013
WORK
Axis 1 motion command 0
MB300010
EXPRESSION
STORE
4.4 Checking Sample Program Operation
Axis 1 jog command
DB000000
Axis 1 jog start
DB000001
Axis 1 jog stop
DB000002
Axis 1 step command
DB000008
Axis 1 step start
DB000009
Axis 1 step stop
DB00000A
4
4-55

Advertisement

Table of Contents
loading

Table of Contents