The Camsoft folks can correct me if I'm wrong, but I believe that they have special logic internal to the program, which deals with what we call the 'modality' of the G8x cycles. Thus, a gcode outside of the 80 series, does not actually run over and over without being specifically called over and over again.
So, you may have to program around this limitation. I have not tackled such a project myself. It may not be necessary to figure this out from scratch if Camsoft can tell us a trick or two
You can test my theory by temporarily placing your logic into one of your unused G8x positions in your gcode.fil and see if it works as you would expect from there.