Hi .. one of two things I think ... the machine does not have the canned cycle option so no G76 ... maybe try another canned cycle like G74 ( peck drilling ). If you get the same alarm ... I would say the machine does not have the canned cycle option.
The other is that the machine is using the B cycles ... some Fanuc controls have a A cycles and B cycles. The cycles function the same but the G code is different. I'm not sure of the comparable B cycle for G767 ... maybe someone here can post or if you have one, take a look in the manual or online.
Hope this helps ...
Real World Machine Shop Software at www.KentechInc.com