How to program Machining Center

I Was working on a project and I need to use CNC ( Machining Center)
but I face a problem
even if I selected all the tags of CNC and make them all force to work
nothing happened
so could you please give me a way to programming CNC
and I’m using Tia Portal