K5: Mode groups, channels, axis interchange6.3 Channels - only 840D slExtended FunctionsFunction Manual, 09/2009, 6FC5397-1BP20-0BA0 463Table 6- 1 Program coordination statementsStatement Description,1,7 QLGHQWLILHUTSelection of a program for processing in a certainchannel:Acknowledgment mode: n (without) or s (synchronous)Name of the program with specification of the pathNumber of channel: Values 1 to 4 possibleCLEAR (identifier) Deletion of a program by indicating the program identifier67$57 QQQ Starting the selected programs in other channels.Enumeration of the channel numbers: Values 1 to 4possibleWAITM (Mnr, n, n, n, n) Waiting for tag number Mnr for synchronization in thespecified channels n (own channel can be, but must notbe specified).The tag number must be the same in all channels.Numbers 0 to 9 are possible.WAITE (n,n,n) Waits for the end of program of the specified channels(current channel not specified)SETM(Mnr1, Mnr2, ...Mnri) Set wait marks Mnr1, Mnr2, ...Mnri for conditional waitwith WAITMC() for the channel in which SETM() isissued. The channel thus declares its wait characteristicsfor the partner channels as fulfilled.The command can be activated in synchronized actions.Up to 10 marks (0-9) can be set using one command.CLEARM(Mnr1, Mnr2, ...Mnri) Delete wait marks Mnr1, Mnr2, ...Mnri for conditional waitwith WAITMC() for the channel in which CLEARM() isissued. The channel thus declares to its partner channelsthat its wait characteristic is fulfilled.The command can be activated in synchronized actions.Up to 10 marks (0 - 9) can be deleted using onecommand.WAITMC(Mnr, n1, n2, ...) Conditional wait in continuous-path mode for thespecified wait characteristic Mnr from the specifiedchannels n1, n2, ... nk. The current channel can bespecified, but this is optional. When processing continuesafter the wait marks from the other channels in the grouphave arrived, the wait marks of these channels aredeleted.The number of markers depends on the CPU used.CPU 572 --> 2 Channels --> = 20CPU 573 --> 10 Channels --> = 100