Logical number of a NC channel (P-CHAN-00400)
P-CHAN-00400 | Logical number of an NC channel |
Description | This parameter is used to assign a distinctive fixed logical number to the NC channel. The logical number is used to address the channel when CNC objects are read and written or in the case of NC commands with channel reference, e.g. #SIGNAL/#WAIT.
Example with implicit assignment of the channel ID (P-CHAN-00400 = 0) Channel 1: channel_id = channel index + 1 = 1 Channel 2: channel_id = channel index + 1 = 2 Channel 3: channel_id = channel index + 1 = 3 Channel numbering after deactivation of the 2nd channel: Channel 1: channel_id = channel index + 1 = 1 Channel 3: channel_id = channel index + 1 = 2
Example with explicit assignment of the channel ID (P-CHAN-00400 != 0) Channel 1: channel_id = 1 Channel 2: channel_id = 2 Channel 3: channel_id = 3 Channel numbering after deactivation of the 2nd channel: Channel 1: channel_id = 1 Channel 3: channel_id = 3
Channel-specific error messages also receive this number for channel identification. If this parameter is not assigned (default), the channel number is automatically assigned and is derived from channel index + 1. |
Parameter | channel_id |
Data type | UNS16 |
Data range | 0 ... maximum number of channels (see CNC system parameters / 2.4) |
Dimension | ---- |
Default value | 0 |
Remarks |
|