Incompatibility; Plc Macros; Convert Tool Number Or Pocket Number To Binary Code; Increment Actual Value Of Pocket Number - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

Marker
Function
M3200
Values from MP4310.3 to MP4310.6
to
M3263

5.3 Incompatibility

It has not been possible to maintain compatibility in all areas of the PLC programs. This is because
the TNC 355 differs considerably from the TNC 407 and TNC 415 both in memory organization and
ergonomics.

5.3.1 PLC Macros

The following macro programs are available in the TNC 355 for controlling the tool changer.
M3264

Convert tool number or pocket number to binary code

M3265

Increment actual value of pocket number

M3266
Decrement actual value of pocket number
M3267
Compare actual and nominal values of pocket number
These macro programs are no longer available in the TNC 407 and TNC 415. The following PLC
subroutines can be used in place of the macro programs.
Convert tool number or pocket number to binary code
M2032 to M2039 -> M3024 to M3031
LBL 200
;M3264 (TNC 355)
L
W262
;T code in binary
B=
M3024 ;file in bit area
==
K+0
=
M3043 ;T code == 0
LB
M3200 ;low byte from MP4310.3
=
B255
;load MP4310.3
LB
M3024
>
B255
=
M3044 ;Tcode > MP4310.3 1 byte
EM
Increment actual value of pocket number
(M3032 to M3039) = (M3032 to M3039) + 1
LBL 210
;B265 (TNC 355)
LB
M3200 ;low byte from MP4310.3
=
B255
;number of mag. pockets
LB
M3032 ;actual value
+
K+1
;increment by 1
B=
M3032 ;
<=
B255
;less than or equal to actual value
7-182
TNC 407/TNC 415/TNC 425
5 Compatibility with TNC 355
Set
Reset
TNC 407/415
NC
NC
W 972
to
W 988
01.98

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents