Programming - Siemens SINUMERIK 840D sl Function Manual

Extended functions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Several Operator Panels on Several NCUs, Distributed Systems (B3)
2.15 Examples
2.15.9.2

Programming

Program on NCU 1
NCU1 traverses leading axis Z. The variable is 1 for as long as NCU2 is prepared for
movement of the leading axis (messages via link variable $A_DLB[0]); after completion of
movement, the variable is 0.
N3000 R1 = 1 ; Counter for movement loop
N3004 G1 Z0 F1000
N3005 $A_DLB[0] = 1 ; Start on NCU1
LOOP30:
N3005 R1=R1+1
N3006 G91 Z0.01 ; The master value axis is now traversed
N3008 Z0.02
N3010 Z0.03
N3012 IF R1 < 10 GOTOB LOOP30
N3098 $A_DLB[0] = 0 ; End on NCU1
N3099 GOTOF TESTE
NC program on NCU2
The program establishes a connection between leading axis movements on NCU1 and
following axis movements on NCU2 via a curve table. Once the table has been defined,
NCU2 goes to wait position until NCU1 starts the leading axis. Then the coupling is activated
and maintained until the leading axis movement is terminated.
N2800 CTABDEL(1)
N2801 G04 F.1
N2803 G0 Y0 Z0
;******************************************************
; Create table 1
;******************************************************
N2802 CTABDEF(Y, Z, 1, 0)
N2803 G1 X0 Y0
N2804 G1 X100 Y200
N2805 CTABEND
LOOP29:
N2806 IF ($A_DLB[0]== 0) GOTOB LOOP29 ; Wait for NCU1
N2810 LEADON(Y,Z,1)
LOOP292: ; Coupling active!!!
N2830 IF ($A_DLB[0] > 0) GOTOB LOOP292 ; Maintain coupling until
; NCU1 is no longer traversing the master value axis
N2890 LEADOF(Y,Z)
252
Function Manual, 01/2008, 6FC5397-1BP10-3BA0
Extended Functions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents