You need some help -
Read some books defining the basic principle on which the CNC Program works ?
--Cartersian Coordinate system--Program Zero(Origin)--The NC program is written according to the Program Zero position--
I am really sorry that i cannot describe more, because it will confuse you a lot & create barriers for you.
Best route is to check out some books about CNC Program..(You can also get the info on web).