5 DATA USED FOR POSITIONING CONTROL

MELSEC-Q

An M code is a number between 0 and 65535 that can be assigned to each positioning data ( Da.10 ).

The sequence program can be coded to read an M code from the buffer memory address specified by " Md.25 Valid M code" whenever the M code ON signal [X4, X5,

X6, X7] turns ON so that a command for the sub work (e.g. clamping, drilling, tool change) associated with the M code can be issued.

 

 

 

 

 

Setting value, setting range

 

Setting value buffer memory

 

 

 

 

 

Default

 

address

 

 

 

Item

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Value set with peripheral device

 

 

Value set with sequence

value

Axis 1

Axis 2

Axis 3

Axis 4

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

program

 

 

 

 

 

 

 

 

0 : Standard speed switching mode

 

0

 

 

 

 

 

 

 

 

 

 

 

Pr.19

 

0

28

178

328

478

 

 

1 : Front-loading speed switching

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Speed switching mode

 

1

 

 

 

 

 

 

 

mode

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pr.20

0 : Composite speed

 

 

0

 

 

 

 

 

 

 

 

 

 

 

Interpolation speed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

29

179

329

479

 

1 : Reference axis speed

 

1

 

 

 

 

 

 

 

 

 

 

 

designation method

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 : Do not update current feed value

 

0

 

 

 

 

 

 

 

 

 

 

 

Pr.21

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Current feed value during

1 : Update current feed value

 

1

 

 

 

 

 

0

30

180

330

480

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

speed control

2 : Clear current feed value to zero

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b0

 

Lower limit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b1

 

Upper limit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b2

 

Drive unit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

READY

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b3

 

Stop signal

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b4

 

External

 

 

 

151413121110 9 8 7 6 5 4 3 2 1 b0

 

 

 

 

 

 

 

 

 

 

command

0: Negative

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pr.22

 

b5

 

Zero signal

logic

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

31

181

331

481

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Input signal logic selection

b6

 

Near-point

1: Positive

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

signal

logic

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Always "0" is set to

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b7

 

Not used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the part not used.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b8

 

Manual pulse

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

generator input

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

to

 

Not used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b0

 

Command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

pulse signal

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b1

 

Not used

 

 

151413121110 9 8 7 6 5 4 3 2 1 b0

 

 

 

 

 

 

 

 

b2

 

Not used

 

 

 

 

 

 

 

 

 

 

 

0: Negative

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pr.23

 

b3

 

Not used

logic

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

32

182

332

482

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Output signal logic selection

b4

 

Deviation

1: Positive

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

counter clear

logic

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Always "0" is set to

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b5

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the part not used.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

to

 

Not used

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

b15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0: A-phase/B-phase multiplied by 4

 

0

 

 

 

 

 

 

 

 

 

 

 

Pr.24

 

1: A-phase/B-phase multiplied by 2

 

1

 

 

 

 

 

0

33

 

Manual pulse generator

 

 

 

 

 

 

 

2: A-phase/B-phase multiplied by 1

 

2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

input selection

 

 

 

 

 

 

 

 

 

 

 

 

3: PULSE/SIGN

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Pr.150

0: Speed-position switching control

 

0

 

 

 

 

 

 

 

 

 

 

 

(INC mode)

 

 

 

 

 

 

 

 

 

 

 

 

Speed-position function

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

34

184

334

484

2: Speed-position switching control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

selection

 

2

 

 

 

 

 

 

 

 

 

 

 

(ABS mode)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5 - 32

Page 120
Image 120
Mitsubishi Electronics QD75P 178, Front-loading speed switching Speed switching mode Mode, Stop signal External, 181, 182