January 2012 7.1 Display and Operation 1249
Error recognition: 
Control in 
operation
In the Positioning with Manual Data Input, Program Run, Single Block and 
Program Run, Full Sequence operating modes, the NC uses 
NN_ChnControlInOperation to inform the PLC that the control is in 
operation. The status "control in operation" applies when the NC is executing 
a program, an M function or an axis movement.
NN_ChnControlInOperation is also set if the NC is processing a macro 
(cycle) in the background. 
This applies to the following situations:
 Program selection
 Leaving the Positioning with Manual Data Input operating mode 
 Control start-up (execution of the start-up cycle)
 When running cycles in the Positioning with Manual Data Input operating 
mode (the control-in-operation symbol is shown on the screen), e.g. while 
entering M functions or setting a datum.
Marker Value Meaning
NN_GenApiModule
Error
0 Information provided
1 No information available;
for error, see NN_GenApiModuleError
NN_GenApiModule
ErrorCode
1 The entered channel number is invalid
2 The entered mode is invalid
3 The entered string number is invalid
PLC operand / Description Ty p e
NN_ChnControlInOperation
Control is in operation
0: Control not in operation
1: Control in operation
M