Siemens SINUMERIK 840D sl Programming Manual page 56

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Flexible NC programming
1.13 Program coordination
Channel numbers
Up to 10 channels can be specified as channel numbers for the channels requiring
coordination.
Channel names
Channel names must be converted into numbers using variables (see "Variables and
arithmetic parameters"). Alternatively, the channel names defined using $MC_CHAN_NAME
can also be programmed rather than channel numbers. The defined names must comply
with the NC naming conventions (i.e. the first two characters must be either letters or an
underscore).
Caution
Protect the number assignments so that they are not changed unintentionally.
The names must not already exist in the NC with a different meaning, e.g. as key words,
commands, axis names etc.
SETM() and CLEARM()
SETM()and CLEARM() can also be programmed independently of a synchronized action.
See Chapter "Set/delete wait markers: SETM CLEARM"
Example
Channel called "MACHINE" is to contain channel number 1,
channel called "LOADER" is to contain channel number 2:
DEF INT MACHINE=1, LOADER=2
The variables are given the same names as the channels.
The statement START is therefore:
START(MACHINE)
Example: program coordination
Channel 1:
%_N_MPF100_MPF
N10 INIT(2,"MPF200")
N11 START(2)
.
N80 WAITM(1,1,2)
.
N180 WAITM(2,1,2)
.
N200 WAITE(2)
N201 M30
...
1-42
;Processing in channel 2
;Wait for WAIT mark 2 in channel 1 and
;in channel 2 and execution continued in
channel 1
;Wait for WAIT mark 2 in channel 2 and
;in channel 2 and execution continued in
channel 1
;Wait for end of program in channel 2
;Program end channel 1, total end
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents