0054 operation illegal

When we get the new g code - machine (CH0054 CH0 Operation illegal) gives an error.
why is it giving such an error?