How to detect a 5 axis operation in PC

Siemens Genius Siemens Genius
Siemens Genius

Hi PC experts,

 

I need to know when I'm in a 5 axis operation. I've seen that PC is calling LIB_ROTARY_simultaneous_init but I wonder if we have any flag variable that indicates this situation.

 

Thanks,

Javi