Removing (broadcast) signals (#SIGNAL REMOVE)
Signals are generally cleared after consumption by an assigned WAIT. In addition, non-broadcast signals are implicitly cleared for an NC reset of the receiver channel (see 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. However, when specifying a signal range [ID; IDMAX], i.e. including several identical signal numbers, all signals within this range are cleared.
Syntax: |
#SIGNAL REMOVE [<mode>] [ ID=.. | IDMIN=.. [IDMAX=..] { CH=.. } ] |
<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: Synchronisation at interpolator level. This synchronisation is required in the case of real-time requests, e.g. synchronisation of two machining units on a multi-column machine |
ID=.. | Number of broadcast signal to be cleared. Positive integer. |
IDMIN=.. | First broadcast signal in a range to be cleared. Also alternative to ID=... Positive integer |
IDMAX=.. | Last broadcast signal in a range to be cleared. Positive integer |
CH=.. | Number of 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
Clearing (broadcast) signals
synchronisation at DEC level)