7 AUXILIARY AND APPLIED FUNCTIONS

(c)When the M-code is read at positioning completion, use the positioning complete signal (M2401+20n) as the read command.

At the position control or speed control

V

Dwell time

ON

PLC ready flag (M2000)

OFF

 

t

Servo program start

 

Start accept flag (M2001+n)

OFF

Positioning start complete

OFF

signal (M2400+20n)

 

Positioning complete

OFF

signal (M2401+20n)

 

M-code

 

ON

ON

ON

Storage of setting M-code No.

At the speed switching control

V

P1 (Speed-switching point)

 

 

P2 (Speed-switching point)

 

 

 

 

P3 (Stop)

 

 

 

 

 

t

 

ON

 

 

 

 

 

 

 

PLC ready flag (M2000)

OFF

 

Servo program start

ON

 

Start accept flag (M2001+n)

OFF

 

ON

Positioning start complete

OFF

signal (M2400+20n)

 

Positioning complete

OFF

signal (M2401+20n)

 

M-code

 

ON

Storage of setting M-code No.

(3) Resetting of M-codes

M-codes can be reset by setting of the M-code output devices to zero.

Use this method during positioning control to perform operations unrelated to the servo program, such as when it has been difficult to output the M-code during the previous positioning control.

However, M-code is set55 during the speed switching control or constant-speed control, the M-code output of the servo program takes priority.

7 - 2