beautypg.com

4 sample programming 8-45 – Yaskawa MP2200 Machine Controller User Manual

Page 461

background image

8.4 Sample Programming

8-45

( 4 ) H02.01 Drawing

The H02.01 grandchild drawing controls JOG and STEP operation for axis 1.

Axis 1 JOG

##########JOG##########

Main Program: Axis 1 Manual operation (JOG and STEP)

P00107 H02.01

##########Axis 1 Manual operation (JOG and STEP)##########

0000

NL-1

0000

Axis 1 forward jog

DB000010

STORE

Axis 1 speed command setting

Source 0000001000

Dest OL8010

WORK

DB000050

Axis 1 SV_ON

IB80001

Axis 1 jog start

DB000001

Axis 1 jog stop

DB000002

Axis 1 jog start

DB000001

0010

NL-1

0002

0013

NL-1

0003

0015

NL-1

0004

0017

NL-1

0005

STORE

Axis 1 motion command

Source 00007

Dest OW8008

STORE

Axis 1 motion command

Source 00000

Dest OW8008

Axis 1 jog stop

DB000002

0006

NL-1

0001

Axis 1 jog command

DB000000

Axis 1 jog command

DB000000

Axis 1 motion command 0

MB300010

Axis 1 jog command

DB000000

WORK

DB000051

Axis 1 jog start

DB000001

Axis 1 forward jog

DB000010

Axis 1 reverse jog

DB000011

Axis 1 reverse jog

DB000011

Axis 1 STEP

##########STEP##########

0019

NL-1

0006

Axis 1 forward step

DB000012

EXPRESSION

Axis 1 step speed and moving amount

WORK

DB000058

Axis 1 SV_ON

IB80001

Axis 1 step start

DB000009

Axis 1 step stop

DB00000A

Axis 1 step start

DB00009

0029

NL-1

0008

0032

NL-1

0009

0034

NL-1

0010

STORE

Axis 1 motion command

OL8010=1000;

0025

NL-1

0007

Axis 1 step command

DB000008

Axis 1 step command

DB000008

Axis 1 motion command 0

MB300010

Axis 1 step command

DB000008

WORK

DB000059

Axis 1 step start

DB000009

Axis 1 forward step

DB000012

Axis 1 reverse step

DB000013

Axis 1 reverse step

DB000013

OL8044=DL00010;

Source 00008

Dest OW8008

This manual is related to the following products: