Clearing broadcast signals

Signals are generally cleared after consumption by an assigned WAIT. In addition, non-broadcast signals are implicitly cleared in case of an NC Reset of the receiver channel (see also Section Reset handling). Since broadcast signals are not cleared by a WAIT unless the consumption counter is specified, they must be cleared explicitly. An additional NC command exists for this purpose. This NC command can also be used to clear normal signals although in this case the identification number and the addressed channel must match.

If a single signal is specified for clearing, only one signal is cleared if more than one identical signals exist. On the other hand, if a signal range is specified [ID; IDMAX], i.e. including several identical signal numbers, all signals within this range are cleared.

#SIGNAL REMOVE [<Mode>] [ ID<sgn_nr> | IDMIN<sgn_nr> [IDMAX<sgn_nr>]

                                                   {CH<chan_nr>} ]                                                             (non-modal)

<Mode>

Synchronisation mode. Permitted identifiers:

 

---

Synchronisation at decoding level (initial state). For example, this synchronisation is required if it is necessary to synchronise to parameters or variables.

SYN

This synchronisation is required at interpolator level for real-time requests, e.g. synchronisation of two machining units on a multi-column machine.

ID<sgn_nr>

Number of broadcast signal to be cleared. Positive integer.

IDMIN<sgn_nr>

First broadcast signal in a range to be cleared. Also alternative to ID<sgn_nr>).<sgn_nr>. Positive integer

IDMAX<sgn_nr>

Last broadcast signal in a range to be cleared. Positive integer

CH<chan_nr>

Number of channel for which the signal to be cleared is destined.
1...max. number of channels (1)

If no channel number is specified, the corresponding broadcast signal is cleared.

see [6]-2.4

Programing Example

prg_example

Clearing broadcast signals

(Clear a broadcast signal 812, synchronisation at DEC level)

N500 #SIGNAL REMOVE [ID812] or

#SIGNAL REMOVE [IDMIN812]

(Clear a signal 812 to channel2, synchronisation at DEC level)

N500 #SIGNAL REMOVE [ID812 CH2]

(Clear all broadcast signals within 812-820,
(synchronisation at DEC level)

N500 #SIGNAL REMOVE [IDMIN812 IDMAX820] or

#SIGNAL REMOVE [ID812 IDMAX820]

(Clear all signals 812 to channel 1, synchronisation at DEC level)

N500 #SIGNAL REMOVE [ID812 IDMAX812 CH1]

(Clear a broadcast signal 813, synchronisation at IPO level)

N600 #SIGNAL REMOVE SYN [ID813]