Siemens Sinumerik 840D sl Programming Manual page 116

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

Advertisement

Flexible NC programming
1.13 Program coordination (INIT, START, WAITM, WAITMC, WAITE, SETM, CLEARM)
Relative path specification
Example:
INIT(2,"DRESS")
INIT(3,"UNDER_1_SPF")
Parameters
Variables, which all channels can access (NCK-specific global variables), can be used for
data exchange between programs. Otherwise separate programs must be written for each
channel.
INIT(n, path name,
acknowledgement mode)
START (n, n)
WAITM (marker no., n, n, ...)
WAITMC (marker No., n, n,
WAITE (n, n, ...)
SETM (marker No., marker No.,
CLEARM (marker No., marker No.,
n
116
The same rules apply to relative path definition
as for program calls.
With subprogram calls "_SPF" must be added
to the program name.
Instruction for execution in a channel. Selection
of a particular program with an absolute or
relative path name.
Starts the selected programs in the other
channels.
n,n: Enumeration of the channel numbers: value
depends on control configuration
Sets the marker "marker no." in the same channel.
Terminate previous block with exact stop. Waits
for the markers with the same "marker no." in the
specified channels "n" (current channel does not
have to be specified). Marker is deleted after
synchronization.
10 markers can be set per channel simultaneously.
Sets the marker "marker no." in the same channel.
An exact stop is initiated only if the other
channels have not yet reached the marker. Waits
for the marker with the same "marker No." in the
specified channels "n" (current channel does not
have to be specified). As soon as marker "marker
no." in the specified channels is reached,
continue without terminating exact stop.
Waits for the end of program of the specified
channels (current channel not specified) Example:
programming a delay time after the Start command.
N30 START(2)
N31 G4 F0.01
N40 WAITE(2)
Sets the markers "marker no." in the same channel
without affecting current processing. SETM()
remains valid after RESET and NC START.
Deletes the markers "Marker No." in the same
channel without affecting current processing. All
markers can be deleted with CLEARM(). CLEARM (0)
deletes the marker "0". CLEARM() remains valid
after RESET and NC START.
Corresponding channel number or channel name
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Job planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents