Programming manual
486
CNC 8070
15.
STATEMENTS AND INSTRUCTIONS
Programming statements
(SOFT V02.0X)
470
Operation
Programming the same instruction in each channel, all of them are
synchronized at that point and the execution resumes from there on.
It works as follows.
1. It activates the mark selected in its own channel.
2. It waits for the mark to be activated in all the indicated channels.
3. After synchronizing the channels, it deletes the mark from its own
channel and goes on executing the program.
Each channel stops on its #MEET. When the last one of them reaches
the command and checks that all the marks are active, the process
unlocks for all of them at the same time.
In the following example, it waits for mark ·5· to be active in channels
·1·, ·2· and ·3· to synchronize the channels and resume the execution.
#WAIT It waits for the mark to be activated in the indicated channel
The #WAIT instruction waits for the indicated mark to be active in the
specified channels. If the mark is already active when executing the
command, the execution is not interrupted and the program keeps
running.
Each channel has 10 marks that are numbered from 1 to 10.
The programming format is:
#WAIT [<mark>, <channel>,...]
As opposed to the #MEET instruction, it does not activate the indicated
mark of its own channel. The marks of the channel are activated using
the instruction #SIGNAL.
CHANNEL 1 CHANNEL 2 CHANNEL 3
%PRG_1
···
···
#MEET [5,1,2,3]
···
···
M30
%PRG_2
···
#MEET [5,1,2,3]
···
···
···
M30
%PRG_3
···
···
···
···
#MEET [5,1,2,3]
M30
Parameter Meaning
<mark> Synchronization mark waited for to be activated.
<channel> Channel or channels that must activate the mark.