Mitsubishi Electronics MR-J2S- CL specifications Operation, Command

Models: MR-J2S- CL

1 337
Download 337 pages 389 b
Page 91
Image 91
Manual background

4. OPERATION

Command

Name

Setting

Setting

Unit

Indirect

Description

range

Addressing

 

 

 

 

 

 

 

 

 

 

 

Executes the next step when the pulse counter value

COUNT

External

COUNT

-999999

pulse

 

becomes greater than the count value set to the

(Note 1)

pulse counter

(Set value)

to 999999

 

"COUNT" command.

 

 

 

 

 

 

 

 

COUNT (0) is clearing of the pulse counter.

 

 

FOR

 

 

 

Repeats the steps located between the "FOR (set

FOR

Step repeat

0, 1 to

 

 

value)" command and "NEXT" command by the

(SET value)

Times

 

NEXT

command

NEXT

10000

 

 

preset number of times.

 

 

 

 

 

Setting "0" selects endless repetition.

 

 

 

 

 

 

 

 

 

 

 

 

Latches the current position on the leading edge of

 

 

 

 

 

 

Input device current latch (LPS).

LPOS

 

 

 

 

 

The latched current position data can be read by the

Position latch

LPOS

 

 

 

communication command.

(Note 1)

 

 

 

 

 

 

 

 

 

There are some error values between the latched

 

 

 

 

 

 

data and the actual exact position, due to the

 

 

 

 

 

 

sampling time and motor speed.

 

Dwell

TIM

 

 

 

Holds the next step until the preset time elapses.

TIM

command

1 to 2000

10ms

 

 

(Set value)

 

 

 

time

 

 

 

 

 

ZRT

Zeroing

ZRT

 

 

 

Executes a manual home position return.

 

Program

 

 

 

 

Place the "TIMS (setting value)" command at the

 

TIMES

0, 1 to

 

 

beginning of the program and set the number of

TIMES

repeat

Times

 

(Set value)

10000

 

program execution times.

 

command

 

 

 

 

 

 

 

Setting "0" selects endless repetition.

 

 

 

 

 

 

 

 

 

 

 

 

Program stops signal, and it must be at end of the

STOP

Program end

STOP

 

 

 

program. (Required)

 

 

 

 

 

 

Always describe this command on the last line.

Note 1. "SYNC" "OUTON" "OUTOF" "TRIP" "TRIPI" "COUNT" "LPOS" and "ITP" commands are available to be validated during command outputting.

2.The "SPN" command is valid when the "MOV", "MOVA", "MOVI" or "MOVIA" command is executed. The "STA", "STB", "STC" and "STD" commands are valid when the "MOV" or "MOVI" command is executed.

3.When the ON time has been set in parameter No. 74 to No. 76, the next command is executed after the preset time has elapsed.

4.The remaining moving distance by ITP command is lower than setting value, the command would be ignored and skip to the next program command.

4 - 8

Page 91
Image 91
Mitsubishi Electronics MR-J2S- CL specifications Operation, Command