Mitsubishi Electronics MR-J2S- CL Programming language, Command list, Operation, Name, Setting

Models: MR-J2S- CL

1 337
Download 337 pages 389 b
Page 89
Image 89
4.2.2 Programming language

4. OPERATION

4.2.2 Programming language

The maximum number of program steps is 120. Though up to 16 programs can be created, the total number of program steps is up to 120.

The set program can be selected using Program No. selection 1 (DI0) to Program No. selection 4 (ID3).

(1) Command list

Command

Name

Setting

Setting

Unit

 

Indirect

Description

range

 

Addressing

 

 

 

 

 

 

 

 

 

0 to

 

 

 

Use to set the command speed given to the motor for

SPN

Speed

SPN

 

 

 

positioning.

Max

r/min

 

 

(Note 2)

(Motor speed)

(Set value)

 

 

The set value shoud not be more than the maximum

speed

 

 

 

 

 

 

 

 

 

speed of the motor.

 

 

 

 

 

 

 

 

S-pattern

 

 

 

 

 

S-pattern acceleration/deceleration time constant.

STD

Acceleration/

STD

0 to 100

ms

 

 

Set this command when inserting an S-pattern time

(Note 2)

Deceleration

(Set value)

 

 

constant for the acceleration/deceleration time

 

 

 

 

 

time constant

 

 

 

 

 

constant of the program.

 

 

 

 

 

 

 

Use to set both the acceleration time constant and

 

 

 

 

 

 

 

deceleration time constant.

 

 

 

 

 

 

 

The set value is the time from when the used servo

 

 

 

 

 

 

 

motor is at a stop until it reaches the rated speed, or

 

Acceleration/

 

 

 

 

 

the time from when the servo motor is running at the

STC

STC

 

 

 

 

rated speed until it stops.

Deceleration

0 to 20000

ms

 

 

(Note 2)

(Set value)

 

 

When this command is used, the acceleration time

time constant

 

 

 

 

 

 

 

 

 

 

 

constant and deceleration time constant are equal.

 

 

 

 

 

 

 

"STA" and "STB" commands can set the acceleration

 

 

 

 

 

 

 

time constant and deceleration time constant

 

 

 

 

 

 

 

individually. It can not be changed during command

 

 

 

 

 

 

 

output.

 

 

 

 

 

 

 

Use to set the acceleration time.

STA

Acceleration

STA

0 to 20000

ms

 

 

The set value is the time from when the used servo

(Note 2)

time constant

(Set value)

 

 

motor is at a stop until it reaches the rated speed.

 

 

 

 

 

 

 

It can not be changed during command output.

 

 

 

 

 

 

 

Use to set the deceleration time constant.

STB

Deceleration

STB

0 to 20000

ms

 

 

The set value is the time from when the servo motor

(Note 2)

time constant

(Set value)

 

 

is running at the rated speed until it stops.

 

 

 

 

 

 

 

It can not be changed during command output.

MOV

Absolute move

MOV

-999999

10STM

m

 

The set value is regarded as an absolute value for

command

(Set value)

to 999999

 

movement.

 

 

 

 

 

Absolute

 

 

 

 

 

The set value is regarded as an absolute value for

MOVA

continuous

MOVA

-999999

10STM

m

 

continuous movement.

move

(Set value)

to 999999

 

Always use this command with the "MOV" command.

 

 

 

 

 

command

 

 

 

 

 

 

 

Incremental

MOVI

-999999

 

 

 

The set value is regarded as an incremental value for

MOVI

move

10STM

m

 

movement.

(Set value)

to 999999

 

 

command

 

 

 

 

 

 

 

 

 

 

 

4 - 6

Page 89
Image 89
Mitsubishi Electronics MR-J2S- CL Programming language, Command list, Operation, Name, Setting, Unit, Indirect