Mitsubishi Electronics MR-J2S- CL specifications Operation, gStep repeat command FOR NEXT, Point

Models: MR-J2S- CL

1 337
Download 337 pages 389 b
Page 104
Image 104
(g)Step repeat command (FOR NEXT)

4.OPERATION

(g)Step repeat command (FOR NEXT)

POINT

"FOR ... NEXT" cannot be placed within "FOR ... NEXT".

The steps located between the "FOR (set value)" command and "NEXT" command is repeated by the preset number of times.

Program

 

 

 

 

 

 

Description

 

 

 

 

SPN (1000)

 

 

 

Speed (Motor speed)

 

 

 

1000 [r/min]

 

 

 

STC (20)

 

 

 

Acceleration/deceleration time constant

20 [ms]

 

 

 

MOV (1000)

 

 

 

Absolute move command

 

 

 

500

[ 10STM

m]

 

 

TIM (10)

 

 

 

Dwell command time

 

 

 

100

[ms]

 

 

 

FOR (3)

 

 

 

Step repeat command start

 

 

 

3 [times]

 

a)

MOVI (100)

 

 

 

Incremental move command

 

 

100

[ 10STM

m]

b)

TIM (10)

 

 

 

Dwell command time

 

 

 

100

[ms]

 

 

 

NEXT

 

 

 

Step repeat command end

 

 

 

 

 

 

c)

FOR (2)

 

 

 

Step repeat command start

 

 

 

2 [times]

 

d)

MOVI (200)

 

 

 

Incremental move command

 

 

200

[ 10STM

m]

e)

TIM (10)

 

 

 

Dwell command time

 

 

 

100

[ms]

 

 

 

NEXT

 

 

 

Step repeat command end

 

 

 

 

 

 

f)

STOP

 

 

 

Program end

 

 

 

 

 

 

 

 

 

 

 

 

b) Incremental move command

d) Incremental move command

 

 

 

 

(100 10STM

 

m)

 

(200

10STM

m)

 

 

 

 

 

 

 

 

 

Forward

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

rotation

 

 

 

 

 

 

 

 

 

 

 

 

Servo motor

0r/min

 

 

 

 

 

 

 

 

 

 

 

1100

1200

1300

1500

1700

 

speed

1000

 

 

 

 

 

 

a) c)

 

 

e) f)

 

 

4 - 21

Page 104
Image 104
Mitsubishi Electronics MR-J2S- CL specifications Operation, gStep repeat command FOR NEXT, Point