HEIDENHAIN TNC 306 Technical Manual User Manual
Page 195

2/97
TNC 406/TNC 306
7 M-functions
4-95
Example:
Evaluation of the miscellaneous function M03 in the PLC.
PLC-output:
O10 = C-axis enable/disable
PLC-input:
I10
= Acknowledgment of M-function
199
L M2045
;Change signal for M-function
200
RN M2482
;Reset acknowledgment of M-function
201
CMT 77
;Evaluation of M-function
.
.
.
901
EM
;End of main program
902
LBL 77
903
CASE W260
;M-code
904
CM0
905
CM1
906
CM2
907
CM3
908
CM4
.
.
.
930
ENDC
931
EM
;End of module
.
.
.
1170
LBL 3
M-function M03
1171
L M1
1172
S M2485
Status display M03, sign of C-axis analog
1173
R M2486
Reset M04
1174
R M2487
Reset M05
1175
S O10
C-axis enable/disable
1176
L I10
Acknowledgment of M-function?
1177
S M2482
Acknowledgment of M-function
1178
EM
M2482
M2045
M2485
O10
I10
This manual is related to the following products: