Clearing broadcast signals

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

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

#SIGNAL REMOVE [<mode>] [ID<sgn_nr> |IDMIN<sgn_nr>  [IDMAX<sgn_nr>] {CH<chan_nr>} ] (non-modal)

<mode> Synchronization mode

Valid
modes

Significance

---

Synchronization on decoder level (basic setting).

This synchronization is required for instance if it is necessary to synchronize with parameters or variables.

SYN

Synchronization on interpolator level.

This synchronization is required in the case of real-time requests, e.g. synchronization of two machining units of a multi-column machine

ID<sgn_nr>Number of the broadcast signal to be cleared. Positive integer

IDMIN<sgn_nr> First broadcast signal of a range to be cleared.
(Also alternatively to ID<sgn_nr>). Positive integer

IDMAX<sgn_nr> Last broadcast signal of a range to be cleared. Positive integer

CH<chan_nr> Channel number:

Valid values

Significance

1...Max. number of channels(1)

Number of the channel for which the signal to be cleared is destined.

---

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

(1)see [6]-2.4

Programming example

(Deleting of a broadcast signal 812, Synchronization on DEC-level) 
N500 #SIGNAL REMOVE [ID812] oder #SIGNAL REMOVE [IDMIN812]
(Deleting of the signal 812 to Kanal2, Synchronization on DEC-level)
N500 #SIGNAL REMOVE [ID812 CH2]
(Deleting of all broadcast signals between 812-820, Synchronization on DEC-level)
N500 #SIGNAL REMOVE [IDMIN812 IDMAX820] oder #SIGNAL REMOVE [ID812 IDMAX820]
(Deleting of all signals 812 to Kanal 1, Synchronization on DEC-level)
N500 #SIGNAL REMOVE [ID812 IDMAX812 CH1]
(Deleting of the broadcast signals 813, Synchronization on IPO-level)
N600 #SIGNAL REMOVE SYN [ID813]