Tables
12.4 List of predefined subprograms
Fundamentals
502 Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
18. Program coordination
Keyword/su
broutine
identifier
1st
parameter
2nd
parameter
3rd
parameter
4th
parameter
5th
param
eter
6th-8th
param
eter
Explanation
INIT # INT:
Channel
numbers
1 - 10
or STRING:
Channel
name
$MC_CHAN
_NAME
STRING:
path
CHAR:
acknowledg
ement
mode**
Selection of a module for
execution in a channel.
1 : 1st channel;
2 : 2. channel.
As an alternative to the channel
number, the channel name
defined in $MC_CHAN_NAME
can also be used.
START # INT:
Channel
numbers
1 - 10
or STRING:
Channel
name
$MC_CHAN
_NAME
Starts selected programs
simultaneously on multiple
channels from running program.
The command has no effect on
the existing channel.
1 : 1st channel;
2 : 2nd channel or channel
name defined in
$MC_CHAN_NAME.
WAITE # INT: or
channel
numbers
1 - 10
STRING:
Channel
name
$MC_CHAN
_NAME
Wait for end of program: Waits
until end of program in another
channel (number or name).
WAITM # INT: Marker
number
0-9
INT:
Channel
numbers
1 - 10
or STRING:
Channel
name
$MC_CHAN
_NAME
Wait: Wait for a marker to be
reached in other channels. The
program waits until the WAITM
with the relevant marker has
been reached in the other
channel. The number of the
own channel can also be
specified.
WAITMC # INT: Marker
number
0-9
INT:
Channel
numbers
1 - 10
or STRING:
Channel
name
$MC_CHAN
_NAME
Wait: Waits conditionally for a
marker to be reached in other
channels. The program waits
until the WAITMC with the
relevant marker has been
reached in the other channel.
Exact stop only if the other
channels have not yet reached
the marker.
WAITP AXIS: Axis
identifier
AXIS: Axis
identifier
AXIS: Axis
identifier
AXIS: Axis
identifier
AXIS:
Axis
ident-
ifier
AXIS:
Axis
ident-
ifier
Wait for positioning axis: Wait
for positioning axes to reach
their programmed endpoint.