YASKAWA MP210 Series User Manual page 151

Machine controller
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents