HEIDENHAIN TNC 335 Technical Manual User Manual

Page 236

Advertising
background image


8/95

TNC 360

7 M Functions

4-139

Example:

Evaluation of the miscellaneous function M03 in the PLC.

PLC output: O10 = Spindle ON/OFF
PLC input: I10 = Acknowledgment of M function

100

LN

M1

101

S

M1

;Generate one

.
.
199

L

M2045

;Strobe signal for M function

200

RN M2482

;Reset acknowledgment of M function

201

CMT 77

;Evaluation of M function

.
.
901

EM

902

LBL 77

903

CASE W260

;M code?

904

CM0

905

CM1

906

CM2

907

CM3

.
.
930

ENDC

931

EM

.
.
1170

LBL 3

;M function M03

1171

L M1

1172

S

M2485

;Status display M03, algebraic sign S analog

1173

R

M2486

;Reset M04

1174

R

M2487

;Reset M05

1175

S

O10

;Spindle ON

1176

L

I10

;Input for acknowledgment of M function?

1177

EM

M2482

M2045

M2485

O10

I10

Advertising