James,
A little more explanation would help as the sentence above does not mean anything.
Are you trying to add a serial number to a part that has been made?
Are you trying to find a serial number on a CNC machine?
The answer to either will depend on the type of CNC machine you are using.
- Nick