beautypg.com

HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual

Page 343

background image


4-218

TNC 407/TNC 415/TNC 425

13 Hirth coupling

01.98

LBL

360

;actual axis in grid spacing

PS

K0

;target address

PS

K2

;REF value

CM

9041

;upload coordinates

L

D36

;coordinate left grid point (ref value)

-

D12

;current ref position

PSW
CM

390

;absolute amount

PL

D0

L

D40

;right grid point (ref value)

-

D12

;current ref position

PSW

;load to data stack

CM

390

;absolute amount

PLW

;distance to right grid point

<

D776

positioning window from MP4210.2 for Hirth positioning

O[
L

D0

;distance to left grid point

<

D776

]
=

M2

;axis in grid position

EM
LBL

370

;check, nominal value = grid spacing

PS

K + 0

;target address

PS

K + 4

;distance to go

CM

9041

;upload coordinates

PS

D12

;save distance to go to stack

PS

K + 8

;;target address

PS

K + 3

;trailing error

CM

9041

;upload coordinates

PS

K + 0

;target address

PS

K + 2

;ref value

CM

9041

;calculate new nominal value

PLW

;distance to go

+

D12

;ref value axis

+

D20

;trailing error

MOD

D28

;Hirth grid

PSW

;enter data in stack memory for absolute amount

CM

390

;absolute amount

PLW

;read absolute amount

=

D0

L

D28

;Hirth grid axis 4

-

D0

;absolute amount

=

D4

L

D0

=

D4

JPT

371

L

D0

=

D4

EM