# ID 21797

Too many axes when defining the control area. Maximum two permitted.
Description | A maximum of two axes may be used for the definition of a workspace or protection area ([FCT-C14]). Example: #CONTROL AREA START [ID1 PROT POLY MIN_EXCUR=0 MAX_EXCUR=360] G01 F1000 G90 X0 Y0

X0 Y100 Z100 (Error 21797)

X100 Y100

X100 Y0

X0 Y0

#CONTROL AREA END

Correct:

#CONTROL AREA START [ID1 PROT POLY MIN_EXCUR=0 MAX_EXCUR=360]

G01 F1000 G90

X0 Y0

X0 Y100

X100 Y100

X100 Y0

X0 Y0

#CONTROL AREA END

Response | Class | 2 | Error message output and NC program abort
Solution | Class | 3 | Correct NC program
Parameter | %1: | Logical axis number [-]
Logical axis number P-AXIS-00016 of the excessive axis specified
%2: | Upper limit value [-]
Maximum permissible number of axis in control area definition
Error type | 1, Error message from NC program.