Synchronization scenarios

Synchronization of two decoders on two channels

Synchronization scenarios 1:

Programming example

% channel_1 
...
(Signal P100)
(Synchronization on DEC-level)
(Synchronization on channel 3)
(Parameter V.P.SYNC)
V.P.SYNC = 1000
P100 = 814
#SIGNAL [IDP100 P[0]= V.P.SYNC CH3]
...
% channel_3 
...
(Wait request 814)
(Synchronization on DEC-level)
(Synchronization with channel 1)
(Parameter V.P.SIGNAL)
#WAIT [ID814 P[0]= V.P.SIGNAL CH1]
...

Synchronization between decoder and interpolators on three channels

Synchronization scenarios 2:

Programming example

% channel_1 
...
(Wait request 968)
(Sync. on IPO-level)
(Sync. with channel 2+3)
#WAIT SYN [ID968 CH2 CH3]
%channel_2 
...
(Wait request 968)
(Sync. on IPO-level)
(Sync. with channel 3+1)
#WAIT SYN [ID968 CH3 CH1]
%channel_3 
...
(Signal 968)
(Sync. on DEC-level)
(Sync. with channel 1+2)
#SIGNAL [ID968 CH1 CH2]

Synchronization between interpolators on three channels

Synchronization scenarios 3:

Programming example

% kanal_1...(Wait request 100)(Sync.On
IPO-level)(Sync. With channel 2)#WAIT SYN [ID100 CH2]%kanal_2...(Signal 100)(Sync. on IPO-level)(Sync. with channel 1+3)#SIGNAL SYN [ID100 CH1
CH3]% kanal_3...(Wait request 100)(Sync. on IPO-level)(Sync. with channel 2)#WAIT SYN [ID100 CH2]

Synchronization between decoder and interpolator of one channel

Synchronization scenarios 4:

Notice

In the case of synchronization requests between decoder and interpolator, statuses may occur in which the NC-program cannot be decoded further since no acknowledgement has yet arrived. The acknowledgement is, however, not dispatched by the interpolator since the signal block does not reach the interpolator owing to the buffer effect of the NC-channel. A #FLUSH which flushes the NC-channel must be provided in such cases in order to avoid possible deadlocks.

Programming example

% channel_1 
G00 X100 Y500
G01 X250 F300
(Signal 88)
(Synchronization on IPO-level)
(Synchronization with channel 1)
#SIGNAL SYN [ID88 CH1]
(Operation)
G01 X370 Z200 F80
(Wait request 88)
(Synchronization on DEC-level)
(Synchronization with channel 1)
#FLUSH
#WAIT [ID88 CH1]
G01 X900
...