Rockwell Automation 8520 9/Series CNC Lathe User Manual

Page 297

Advertising
background image

Introduction to Programming

Chapter 10

10-29

Table 10.F

M

-codes

M-code

Number

Modal or

Non-modal

Group

Number

Function

M00

NM

4

Program stop

M01

NM

4

Optional program stop

M02

NM

4

Program end

M30

NM

4

Program end and reset (tape rewind)

PRIMARY SPINDLE

M03

M

7

Spindle positive rotation (cw)

M04

M

7

Spindle negative rotation (ccw)

M05

M

7

Spindle stop

M19

M

7

Spindle orient

SPINDLE 2

M03.2

M

11

Spindle positive rotation (cw)

M04.2

M

11

Spindle negative rotation (ccw)

M05.2

M

11

Spindle stop

M19.2

M

11

Spindle orient

SPINDLE 3

M03.3

M

12

Spindle positive rotation (cw)

M04.3

M

12

Spindle negative rotation (ccw)

M05.3

M

12

Spindle stop

M19.3

M

12

Spindle orient

M07

M

8

Mist coolant on

M08

M

8

Flood coolant on

M09

M

8

Coolant off

M48

M

9

Overrides enabled

M49

M

9

Overrides disabled

M58

M

10

CSS permit

M59

M

10

CSS prohibit

M98

NM

5

Sub-program call

M99

NM

5

Sub-program end and program jump

M100-M149

NM

13

Simple synchronization

M150-M199

NM

13

Synchronization with setup

Advertising