Example - jog in x only, Homing example (hm method) – Yaskawa SMC–4000 User Manual

Page 351

Advertising
background image

341

SMC–4000 User Manual

Example - Jog in X only

Jog X motor at 50000 count/s. After X motor is at its jog speed, begin jogging Z in reverse direction at
25000 count/s.

Homing Example (HM method)

Instruction

Interpretation

#A

Label

AC 20000,20000

Specify X,Y acceleration of 20000 cts / sec

DC 20000,20000

Specify X,Y deceleration of 20000 cts / sec

JG 50000,-25000

Specify jog speed and direction for X and Y axis

BG X

Begin X motion

AS X

Wait until X is at speed

BG Z

Begin Z motion

EN

Instruction

Interpretation

#HOME

Label

AC 1000000

Acceleration Rate

DC 1000000

Deceleration Rate

SP 5000

Speed for Home Search

HM X

Home X

BG X

Begin Motion

AM X

After Complete

MG "AT HOME"

Send Message

EN

End

#EDGE

Label

AC 2000000

Acceleration rate

DC 2000000

Deceleration rate

SP 8000

Speed

FE Y

Find edge command

BG Y

Begin motion

AM Y

After complete

MG "FOUND HOME"

Send message

DP,0

Define position as 0

EN

End

Advertising