It can be made from scratch, but U can use an fanuc wedm post, and modify it. Linear anr circular movements should work the same, also g41/2, g51/2. U need to modify only start section, and transforrmations if U intend to use it.