06.08.2013 Views

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example: PLC positioning of the Z axis<br />

A PLC positioning in the Z axis is to be initiated with the M function M70. The target position is<br />

stored in the machine parameter MP4210.2. The feed for the PLC positioning is defined in machine<br />

parameter MP4220.2<br />

.<br />

.<br />

.<br />

67 L M0<br />

68 ON M0<br />

69 S M2496 ;Decoded M code output (M1900 to M1999)<br />

70 S M2719 ;Word processing (incompatible with <strong>TNC</strong> 155/355)<br />

71 L M1970 ;M function M70?<br />

72 A M2045 ;Change signal M function?<br />

73 AN M4 ;Edge marker<br />

74 CMT 110 ;Load position and feed<br />

75 S M2706 ;Activate PLC positioning Z axis<br />

76 S M4 ;Edge marker<br />

77 L M1970 ;M function M70?<br />

78 A M2045 ;Change signal M function?<br />

79 AN M2706 ;PLC positioning Z axis done<br />

80 S M2482 ;Acknowledgment M function done<br />

81 LN M2045 ;No M function?<br />

82 R M2482 ;Acknowledgment reset<br />

83 R M4 ;Edge marker reset<br />

.<br />

.<br />

.<br />

1210 EM ;Main program end<br />

1211 LBL 110 ;Load Z position and feed rate<br />

1212 L D776 ;Load target position from MP4210.2<br />

1213 = D536 ;Target position PLC positioning Z axis<br />

1214 L W964 ;Load feed from MP4220.2<br />

1215 = W564;Feed PLC positioning Z axis<br />

1216 EM<br />

M1970<br />

M2045<br />

M4<br />

M2706<br />

M2482<br />

4-34 <strong>TNC</strong> <strong>360</strong> 1 Machine Axes 8/95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!