01.93 4 Programming of Motion Blocks
4.2.15 Program coordination
• Coordination command ”WAIT E”: Waiting for end of program in the specified
channels. (They must incorporate the END
command).
Programming: [WAIT E, K., K., ...]
Example: [WAIT E, 01, 02]
• Coordination command ”WAIT M”: Waiting for the programmed mark to be reached in
the programs of the specified channels. The
coordination command must be written in each
program which is to take part in the coordination.
There is no connection with the block numbers or
auxiliary functions.
Programming: [WAIT M, mark, K., K., ...]
Example: [WAIT M, 555, 01, 02] or [WAIT M, R50, R51, R52]
K. : 1...16
”E” and ”M” are modification parameters.
The mark can be input as a number with a maximum of 4 digits
(0...9999) or as a parameter.
Note: All the channels included in a mark M must always be listed as
parameters in the individual channels in the WAIT M command;
e.g.
Channel 4
[WAIT M2,1,2]
[WAIT M2,1,2]
Error: Channel 3
missing
Channel 3
[WAIT M3,1]
[WAIT M2,1]
Error: Channels
2 and 4 missing
Channel 2
[WAIT M2,1,4]
[WAIT M2,1,4]
Error: Channel 3
missing
Correct:
Channel 1
[WAIT M2,2,4]
[WAIT M3,3]
Incorrect:
[WAIT M2,2,3,4]
If, as in the example, channels 2 and 4 are coordinated
independently of channel 3 with WAIT M and only channel 1
is to wait for channel 3, these procedures must be separated
(WAIT M2 and WAIT M3).
• Coordination command ”INIT MPF”: Select main program in the specified channel. The
channel in which a program is to be preselected
must be in the reset status.
Programming: [INIT MPF, program number, K. ]
Example: [INIT MPF, 1234, 01]
• Coordination command ”INIT SPF”: Select subroutine in the specified channel. The
channel in which a program is to be preselected
must be in reset status.
Programming: [INIT SPF, subroutine number, K. ]
Example: [INIT SPF, 123, 01]
Program number, subroutine number and channel number can also be entered as R
parameters.
© Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 4–47
SINUMERIK 880, (PG)