I'm on a 18i-M here. I added lots of subs/macros I had from another control. They are assigned to G/M codes (through parameters 6000+).
The problem is some work, some don't. It seems that those not working are those assigned to M/G codes that execute special functions provided by the machine builder, such as: tool change, pallet change, door open/close, etc.
What happens in these cases is that the M/G codes dont' call my macros, the just ignore them perform their original function.
For instance I have M13 (spindle start+coolant start) and M6 (tool change) mapped to subs (O9001 and O9002). The parameters to achieve this are undoubtly set correctly. M13 does call my sub, M6 does the normal tool change ignoring my sub.
I can only speculate this is related to the way the machine builder programmed their M functions in the PLC, somehow interfering with the CNC's custom macro detection routine. Or maybe some option needs to be enabled.
Any input would be appreciated. Thanks.