Hi Prabal,
The majority of CAD/CAM software such as CATIA V5 can generate only B-rep representation such as STEP AP203, or STEP AP2014 ( including tolerances). Try this:
Design a part in CATIA v5, save the part as STEP AP203, download the software (STEP NC Machine) from the link below, and open the STEP AP203, next, save the file with this software as AP238.
http://www.steptools.com/products/stepncmachine/For AP224, in my opinion, only some CAPP systems developed by researchers can generate AP224.
Best regards