10 HIGH-LEVEL POSITIONING CONTROL

MELSEC-Q

Creating the program

Example

Set the block start data beforehand.

Positioning

 

 

 

 

 

 

 

 

 

 

 

 

 

 

start

 

 

 

 

 

 

 

 

 

 

 

 

 

 

command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<Pulse the positioning start command.>

 

 

 

 

 

 

 

 

 

 

 

 

PLS

M104

 

 

 

 

 

 

 

 

 

 

 

 

 

M104

Y10

X10

 

 

 

 

 

<Write the positioning data No. 7000

 

 

 

 

 

 

 

 

 

 

TO H0 K1500 K7000

K1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

for block positioning.>

TO H0 K1501 K1 K1

<Write the positioning start point No.>

SET Y10

<Turn ON the positioning start signal.>

Y10: Positioning start signal

X10: Start complete signal

M104: Positioning start command pulse

10 - 26

Page 440
Image 440
Mitsubishi Electronics QD75P, QD75D Creating the program, Example Set the block start data beforehand, M104 Y10 X10