hexagon logo

Main and Sub programs

Is it possible to wright Main and Sub programs in PcDmis as done on the CNC machines? Looking for more possibilities in the lights out area, checking multiple fixtured parts.

In Fanuc NC code,
Main program 1234 >> G65PXXXXXX calls a sub program to run independent (set of instructions).
at the end of sub, M99 returns control to main program.
Main program 1234 >> G65PYYYYYY calls a sub program to run independent (set of instructions).
at the end of sub, M99 returns control to main program.
Main program 1234 >> G65PZZZZZZ calls a sub program to run independent (set of instructions).
at the end of sub, M99 returns control to main program.
Main program 1234 >> end M30​​