# KERNELV_CHANNEL_STATE

Enumeration CNC_SIMU_CHANNEL_STATE describes the state of a CNC channel.

The state of a CNC channel is described by the following state diagram:

Symbol | Value | Meaning
KERNELV_STATE _DESELECTED | 1 | Channel state is DESELECTED.
KERNELV_STATE _SELECTED | 2 | Channel state is SELECTED.
KERNELV_STATE_READY | 3 | Channel state is READY.
KERNELV_STATE_ACTIVE | 4 | Channel state is ACTIVE, and an NC program is currently being executed.
KERNELV_STATE_HOLD | 5 | Channel state is HOLD. An NC program has been started and then stopped.
KERNELV_STATE_ERROR | 6 | Channel state is ERROR.
KERNELV_STATE _SELECTING | 7 | Channel state is SELECTING.
KERNELV_STATE _DESELECTING | 8 | Channel state is DESELECTING.
KERNELV_STATE _PREPARING | 9 | Channel state is PREPARING.
KERNELV_STATE _CLEARING | 10 | Channel state is CLEARING.
KERNELV_STATE _STARTING | 11 | Channel state is STARTING. An NC program is currently being started.
KERNELV_STATE _ABORTING | 12 | Channel state is ABORTING. An NC program is currently being aborted.
KERNELV_STATE _STOPPING | 13 | Channel state is STOPPING. A running NC program is stopped.
KERNELV_STATE _RESUMING | 14 | Channel state is RESUMING. A stopped NC program is resumed.
KERNELV_STATE _RESETTING | 15 | Channel state is RESETTING. A reset is currently taking place.

State diagram of a CNC channel